chore: rename frontlight related variables to keep style consistent
flIntensity -> fl_intensity flState -> is_fl_on fallback_FrontLightLevel -> fallback_fl_level
This commit is contained in:
1 parent
32874b18c5
commit
9afae91b13
6 files changed
+29
-29
No files matched your search
+1
-1
@@ -121,7 +121,7 @@ if Device:isKobo() then
|
||||
local powerd = Device:getPowerDevice()
|
||||
if powerd and powerd.restore_settings then
|
||||
local intensity = G_reader_settings:readSetting("frontlight_intensity")
|
||||
powerd.flIntensity = intensity or powerd.flIntensity
|
||||
powerd.fl_intensity = intensity or powerd.fl_intensity
|
||||
local state = G_reader_settings:readSetting("frontlight_state")
|
||||
if state then
|
||||
-- Default state is off
|
||||
|
||||
Reference in new issue
Block a user