We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14d173f commit 152f028Copy full SHA for 152f028
src/displayapp/DisplayApp.cpp
@@ -760,6 +760,10 @@ void DisplayApp::Register(Pinetime::Controllers::NavigationService* NavigationSe
760
}
761
762
void DisplayApp::ApplyBrightness() {
763
+ if (infiniSleepController.IsEnabled() || currentApp == Apps::Sleep) {
764
+ brightnessController.Set(Controllers::BrightnessController::Levels::Low);
765
+ return;
766
+ }
767
auto brightness = settingsController.GetBrightness();
768
if (brightness != Controllers::BrightnessController::Levels::Low && brightness != Controllers::BrightnessController::Levels::Medium &&
769
brightness != Controllers::BrightnessController::Levels::High) {
0 commit comments