Skip to content

Commit

Permalink
Fix showing footer on Kindle with Special Offers screensaver
Browse files Browse the repository at this point in the history
  • Loading branch information
robert00s authored and Frenzie committed Apr 5, 2017
1 parent 1749ab7 commit ba74921
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions frontend/apps/reader/modules/readerfooter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -625,6 +625,16 @@ end

function ReaderFooter:onResume()
self:updateFooter()
if self.settings.auto_refresh_time then
self:setupAutoRefreshTime()
end
end

function ReaderFooter:onSuspend()
if self.settings.auto_refresh_time then
UIManager:unschedule(self.autoRefreshTime)
self.onCloseDocument = nil
end
end

return ReaderFooter

0 comments on commit ba74921

Please sign in to comment.