Fix a hasFrontLight call in reader.lua...
(it's a function, not a bool ;'( ). Fix #1961
This commit is contained in:
1 parent
273fbb2ec3
commit
dfe321d87a
1 file changed
+1
-1
+1
-1
@@ -117,7 +117,7 @@ end
|
||||
|
||||
-- restore kobo frontlight settings and probe kobo touch coordinates
|
||||
if Device:isKobo() then
|
||||
if Device.hasFrontlight then
|
||||
if Device:hasFrontlight() then
|
||||
local powerd = Device:getPowerDevice()
|
||||
if powerd and powerd.restore_settings then
|
||||
-- UIManager:init() should have sanely set up the frontlight_stuff by this point
|
||||
|
||||
Reference in new issue
Block a user