Remove the deprecated restore_settings flag

pull/2981/head
Hzj_jie 7 years ago committed by GitHub
parent 7d2ed4c3d0
commit 808766b7f3

@ -140,7 +140,7 @@ end
if Device:isKobo() then
if Device:hasFrontlight() then
local powerd = Device:getPowerDevice()
if powerd and powerd.restore_settings then
if powerd then
-- UIManager:init() should have sanely set up the frontlight_stuff by this point
local intensity = G_reader_settings:readSetting("frontlight_intensity")
powerd.fl_intensity = intensity or powerd.fl_intensity

Loading…
Cancel
Save