aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/screens/FlashLight.h
diff options
context:
space:
mode:
authormark9064 <30447455+mark9064@users.noreply.github.com>2023-10-25 02:42:14 +0000
committerJF <JF002@users.noreply.github.com>2024-08-05 20:32:43 +0200
commitbf69e0dcc515b85ea034b99414e433a7233ad25e (patch)
tree97741d4db4b3ac80136037d8b6b897912af86f1e /src/displayapp/screens/FlashLight.h
parent947c4f5067615fea540e2859c0c0127f2a3ce495 (diff)
aod: fix flashlight brightness restore
Diffstat (limited to 'src/displayapp/screens/FlashLight.h')
-rw-r--r--src/displayapp/screens/FlashLight.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/displayapp/screens/FlashLight.h b/src/displayapp/screens/FlashLight.h
index 2b710ed5..c5404e93 100644
--- a/src/displayapp/screens/FlashLight.h
+++ b/src/displayapp/screens/FlashLight.h
@@ -27,6 +27,7 @@ namespace Pinetime {
Controllers::BrightnessController& brightnessController;
Controllers::BrightnessController::Levels brightnessLevel = Controllers::BrightnessController::Levels::High;
+ Controllers::BrightnessController::Levels previousBrightnessLevel;
lv_obj_t* flashLight;
lv_obj_t* backgroundAction;