Footer: maybe shouldn't be visible on resume (#8289)

This commit is contained in:
git-help-eng authored and GitHub committed 2021-10-10 20:51:50 +02:00
1 parent ade89cb9b6
commit 0d231cbbef
1 file changed
+4 -4
@@ -2257,8 +2257,8 @@ function ReaderFooter:onResume()
return
end
-- Force a footer repaint on resume if it was visible
self:onUpdateFooter(self.view.footer_visible)
-- Maybe perform a footer repaint on resume if it was visible.
self:maybeUpdateFooter()
self:rescheduleFooterAutoRefreshIfNeeded()
end
@@ -2268,8 +2268,8 @@ function ReaderFooter:onOutOfScreenSaver()
end
self._delayed_screensaver = nil
-- Force a footer repaint on resume if it was visible
self:onUpdateFooter(self.view.footer_visible)
-- Maybe perform a footer repaint on resume if it was visible.
self:maybeUpdateFooter()
self:rescheduleFooterAutoRefreshIfNeeded()
end