1
mirror of https://github.com/DarkFlippers/unleashed-firmware.git synced 2025-12-12 04:34:43 +04:00

fix desktop anim switch override by favourites

This commit is contained in:
MX
2025-05-12 01:06:13 +03:00
parent 604141cac3
commit 78e2adbf5c

View File

@@ -73,10 +73,11 @@ bool desktop_main_input_callback(InputEvent* event, void* context) {
} else if(event->key == InputKeyOk) {
if(furi_hal_rtc_is_flag_set(FuriHalRtcFlagDebug)) {
main_view->callback(DesktopAnimationEventNewIdleAnimation, main_view->context);
}
} else {
main_view->callback(DesktopMainEventOpenFavoriteOkLong, main_view->context);
}
}
}
} else {
if(event->type == InputTypeShort) {
if(event->key == InputKeyOk) {