summaryrefslogtreecommitdiff
path: root/src/displayapp/DisplayApp.cpp
diff options
context:
space:
mode:
authorMichele Bini <michele.bini@gmail.com>2022-04-21 14:06:42 (GMT)
committerMichele Bini <michele.bini@gmail.com>2022-04-21 14:06:42 (GMT)
commit3744e655fa94cc2efece15c3196cf8b398354ca2 (patch)
tree1040ff59e6f06fb901ba621856e28957c0b36589 /src/displayapp/DisplayApp.cpp
parent9f062635af3548425102b976e26ebbdfa998d670 (diff)
parent8ea7d77d1b1f476c890bf04b44ad9e2c858a4d1c (diff)
Merge branch 'rev22-develop' into edge
Diffstat (limited to 'src/displayapp/DisplayApp.cpp')
-rw-r--r--src/displayapp/DisplayApp.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/displayapp/DisplayApp.cpp b/src/displayapp/DisplayApp.cpp
index fc3519f..5c5aad2 100644
--- a/src/displayapp/DisplayApp.cpp
+++ b/src/displayapp/DisplayApp.cpp
@@ -434,6 +434,10 @@ void DisplayApp::LoadApp(Apps app, DisplayApp::FullRefreshDirections direction)
currentScreen = std::make_unique<Screens::FlashLight>(this, *systemTask, brightnessController);
ReturnApp(Apps::QuickSettings, FullRefreshDirections::Down, TouchEvents::SwipeDown);
break;
+ case Apps::FlashLightRed:
+ currentScreen = std::make_unique<Screens::FlashLight>(this, *systemTask, brightnessController, LV_COLOR_RED);
+ ReturnApp(Apps::QuickSettings, FullRefreshDirections::Down, TouchEvents::SwipeDown);
+ break;
case Apps::StopWatch:
currentScreen = std::make_unique<Screens::StopWatch>(this, *systemTask);
break;