mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Kindle: Make ReaderActivityIndicator a stub (#7002)
And only actually flesh it out and register it in the very few cases where it can actually do something (i.e., old FW 5.x with KPV).
This commit is contained in:
@@ -222,13 +222,15 @@ function ReaderUI:init()
|
||||
document = self.document,
|
||||
})
|
||||
end
|
||||
-- activity indicator when some configurations take long take to affect
|
||||
self:registerModule("activityindicator", ReaderActivityIndicator:new{
|
||||
dialog = self.dialog,
|
||||
view = self.view,
|
||||
ui = self,
|
||||
document = self.document,
|
||||
})
|
||||
-- activity indicator for when some settings take time to take effect (Kindle under KPV)
|
||||
if not ReaderActivityIndicator:isStub() then
|
||||
self:registerModule("activityindicator", ReaderActivityIndicator:new{
|
||||
dialog = self.dialog,
|
||||
view = self.view,
|
||||
ui = self,
|
||||
document = self.document,
|
||||
})
|
||||
end
|
||||
end
|
||||
-- for page specific controller
|
||||
if self.document.info.has_pages then
|
||||
|
||||
Reference in New Issue
Block a user