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

This commit is contained in:
git-help-eng
2021-10-10 14:51:50 -04:00
committed by GitHub
parent ade89cb9b6
commit 0d231cbbef

View File

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