readerpaging: do not update footer if Statistics is enabled

This commit is contained in:
hius07
2025-07-22 17:41:03 +03:00
committed by GitHub
parent 483233ec72
commit 314ed2dff8

View File

@@ -87,7 +87,10 @@ ReaderPaging.onPhysicalKeyboardConnected = ReaderPaging.registerKeyEvents
function ReaderPaging:onReaderReady()
self:setupTouchZones()
self.view.footer:onUpdateFooter()
-- Statistics plugin updates the footer later, if enabled
if not (self.ui.statistics and self.ui.statistics.settings.is_enabled) then
self.view.footer:onUpdateFooter()
end
end
function ReaderPaging:setupTouchZones()