mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Merge remote-tracking branch 'upstream/master' into screen-saver
This commit is contained in:
@@ -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