mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2025-12-13 05:06:30 +04:00
fix desktop anim switch override by favourites
This commit is contained in:
@@ -73,10 +73,11 @@ bool desktop_main_input_callback(InputEvent* event, void* context) {
|
|||||||
} else if(event->key == InputKeyOk) {
|
} else if(event->key == InputKeyOk) {
|
||||||
if(furi_hal_rtc_is_flag_set(FuriHalRtcFlagDebug)) {
|
if(furi_hal_rtc_is_flag_set(FuriHalRtcFlagDebug)) {
|
||||||
main_view->callback(DesktopAnimationEventNewIdleAnimation, main_view->context);
|
main_view->callback(DesktopAnimationEventNewIdleAnimation, main_view->context);
|
||||||
}
|
} else {
|
||||||
main_view->callback(DesktopMainEventOpenFavoriteOkLong, main_view->context);
|
main_view->callback(DesktopMainEventOpenFavoriteOkLong, main_view->context);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
if(event->type == InputTypeShort) {
|
if(event->type == InputTypeShort) {
|
||||||
if(event->key == InputKeyOk) {
|
if(event->key == InputKeyOk) {
|
||||||
|
|||||||
Reference in New Issue
Block a user