aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/screens/FlashLight.cpp
diff options
context:
space:
mode:
authorRiku Isokoski <riksu9000@gmail.com>2023-02-22 22:18:15 +0200
committerRiku Isokoski <riksu9000@gmail.com>2023-02-25 16:56:03 +0200
commitc78211952efa07bf2f7b648493e5cbd90331672d (patch)
tree6258db2c204ebe35973d43010eb4dd292eeefb29 /src/displayapp/screens/FlashLight.cpp
parent7c7a8602c473bc160506e064097bd9ecc204425b (diff)
screens: Remove explicit Screen constructors
This constructor didn't do anything since DisplayApp reference was removed from the Screen base class.
Diffstat (limited to 'src/displayapp/screens/FlashLight.cpp')
-rw-r--r--src/displayapp/screens/FlashLight.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/displayapp/screens/FlashLight.cpp b/src/displayapp/screens/FlashLight.cpp
index e06b59b5..f55a6598 100644
--- a/src/displayapp/screens/FlashLight.cpp
+++ b/src/displayapp/screens/FlashLight.cpp
@@ -17,7 +17,7 @@ namespace {
FlashLight::FlashLight(Pinetime::Applications::DisplayApp* app,
System::SystemTask& systemTask,
Controllers::BrightnessController& brightnessController)
- : Screen(app), systemTask {systemTask}, brightnessController {brightnessController} {
+ : systemTask {systemTask}, brightnessController {brightnessController} {
brightnessController.Set(Controllers::BrightnessController::Levels::Low);