Fix a hasFrontLight call in reader.lua...

(it's a function, not a bool ;'( ).

Fix #1961
pull/1964/head
NiLuJe 8 years ago
parent 273fbb2ec3
commit dfe321d87a

@ -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

Loading…
Cancel
Save