mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
readerpaging: do not update footer if Statistics is enabled
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user