Fix showing footer on Kindle with Special Offers screensaver

This commit is contained in:
robert00s authored and Frans de Jonge committed 2017-04-05 10:26:09 +02:00
1 parent 1749ab7227
commit ba74921c4b
1 file changed
+10
@@ -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