Some FL regression fixes after #4901 (#4921)

* Make hasNaturalLight* caps safe to call without a device check. (fix #4919)
Make it clear that it's expecting the NTX implementation, though.
* Don't turn the FL on on resume if it was off on suspend
* Make sure turnOn/turnOff actually updates hw_intensity in the process where it matters, instead of just in a short lived fork ;). (fix #4923)
This commit is contained in:
NiLuJe
2019-04-15 20:06:24 +02:00
committed by GitHub
parent 7e06db9c2a
commit 33946aa732
4 changed files with 36 additions and 6 deletions

View File

@@ -747,7 +747,7 @@ end
function ReaderFooter:onFrontlightStateChanged()
if self.settings.frontlight then
self:updateFooter()
self:updateFooter(true)
end
end