mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-06-07 19:01:54 -07:00
Desktop: Dont delay screen off at boot
This commit is contained in:
committed by
Aaron Tulino (Aaronjamt)
parent
90982f7f42
commit
ff43264258
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user