also allow to use it not in dummy mode

This commit is contained in:
MX 2022-10-28 17:30:53 +03:00
parent 981740bcc6
commit fa7aa00f57
No known key found for this signature in database
GPG Key ID: 6C4C311DFD4B4AB5

View File

@ -69,6 +69,10 @@ bool desktop_main_input_callback(InputEvent* event, void* context) {
main_view->callback(DesktopMainEventOpenFavoriteSecondary, main_view->context);
} else if(event->key == InputKeyUp) {
main_view->callback(DesktopMainEventLock, main_view->context);
} else if(event->key == InputKeyOk) {
if(furi_hal_rtc_is_flag_set(FuriHalRtcFlagDebug)) {
main_view->callback(DesktopAnimationEventNewIdleAnimation, main_view->context);
}
}
}
} else {