mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
ReaderActivityIndicator: fix isStub()
it was being overridden by the EventListener:new caused by #7002 c.f. https://www.mobileread.com/forums/showthread.php?t=335886
This commit is contained in:
@@ -31,10 +31,10 @@ local EventListener = require("ui/widget/eventlistener")
|
||||
local util = require("ffi/util")
|
||||
-- lipc
|
||||
|
||||
function ReaderActivityIndicator:isStub() return false end
|
||||
|
||||
ReaderActivityIndicator = EventListener:new{}
|
||||
|
||||
function ReaderActivityIndicator:isStub() return false end
|
||||
|
||||
function ReaderActivityIndicator:init()
|
||||
if (pcall(require, "liblipclua")) then
|
||||
self.lipc_handle = lipc.init("com.github.koreader.activityindicator")
|
||||
|
||||
Reference in New Issue
Block a user