mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
kobo: fix typo during refactoring, luacheck is the best check
This commit is contained in:
@@ -56,7 +56,7 @@ function KoboPowerD:setIntensityHW()
|
||||
if self.fl ~= nil then
|
||||
self.fl:setBrightness(self.fl_intensity)
|
||||
-- Make sure we persist intensity config in reader setting
|
||||
G_reader_settings:saveSetting("frontlight_intensity", new_intensity)
|
||||
G_reader_settings:saveSetting("frontlight_intensity", self.fl_intensity)
|
||||
if KOBO_SYNC_BRIGHTNESS_WITH_NICKEL then
|
||||
NickelConf.frontLightLevel.set(self.fl_intensity)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user