Desktop: Dont delay screen off at boot

This commit is contained in:
WillyJL
2025-07-19 18:29:50 +01:00
committed by Aaron Tulino (Aaronjamt)
parent 90982f7f42
commit ff43264258
2 changed files with 2 additions and 3 deletions
@@ -102,7 +102,7 @@ bool desktop_scene_locked_on_event(void* context, SceneManagerEvent event) {
case DesktopLockedEventUpdate:
if(desktop_view_locked_is_locked_hint_visible(desktop->locked_view)) {
notification_message(
desktop->notification, &sequence_display_backlight_off);
desktop->notification, &sequence_display_backlight_off_delay_1000);
}
desktop_view_locked_update(desktop->locked_view);
consumed = true;
@@ -316,6 +316,5 @@ bool desktop_view_locked_is_locked_hint_visible(DesktopViewLocked* locked_view)
DesktopViewLockedModel* model = view_get_model(locked_view->view);
const DesktopViewLockedState view_state = model->view_state;
view_commit_model(locked_view->view, false);
return view_state == DesktopViewLockedStateLockedHintShown ||
view_state == DesktopViewLockedStateLocked;
return view_state == DesktopViewLockedStateLockedHintShown;
}