Fix showing footer on Kindle with Special Offers screensaver

This commit is contained in:
robert00s
2017-04-04 20:24:06 +02:00
committed by Frans de Jonge
parent 1749ab7227
commit ba74921c4b

View File

@@ -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