Fix WebUI currency converter, reorganize some code
This commit is contained in:
parent
5dd47c2275
commit
ff50acf913
14 changed files with 228 additions and 195 deletions
|
@ -51,7 +51,7 @@ extern "C" void app_main()
|
|||
if (hasLightLevel()) {
|
||||
if (preferences.getUInt("luxLightToggle", DEFAULT_LUX_LIGHT_TOGGLE) != 0)
|
||||
{
|
||||
if (hasLightLevel() && getLightLevel() == 0)
|
||||
if (hasLightLevel() && getLightLevel() <= 2)
|
||||
{
|
||||
if (frontlightIsOn()) {
|
||||
frontlightFadeOutAll();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue