diff options
| author | Michele Bini <michele.bini@gmail.com> | 2022-04-10 08:31:53 (GMT) |
|---|---|---|
| committer | Michele Bini <michele.bini@gmail.com> | 2022-04-10 08:42:51 (GMT) |
| commit | b2be5344958d38fb362bab3691fc104f0f049853 (patch) | |
| tree | 66c50ca682cc43e379981c2676ba9486539d47d0 /src/displayapp/screens/FlashLight.h | |
| parent | c5650a55562272aa6f4e0bdb1b78a814128b306d (diff) | |
Persist brightness level of flashlight, and start as on
Diffstat (limited to 'src/displayapp/screens/FlashLight.h')
| -rw-r--r-- | src/displayapp/screens/FlashLight.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/displayapp/screens/FlashLight.h b/src/displayapp/screens/FlashLight.h index e91a103..ebc69f7 100644 --- a/src/displayapp/screens/FlashLight.h +++ b/src/displayapp/screens/FlashLight.h @@ -26,12 +26,10 @@ namespace Pinetime { Pinetime::System::SystemTask& systemTask; Controllers::BrightnessController& brightnessController; - Controllers::BrightnessController::Levels brightnessLevel; - lv_obj_t* flashLight; lv_obj_t* backgroundAction; lv_obj_t* indicators[3]; - bool isOn = false; + bool isOn = true; }; } } |
