add support for Favorite App Ok Long

This commit is contained in:
DrEverr
2025-04-01 18:39:42 +02:00
parent 7f135dae03
commit f783e0b3ab
5 changed files with 9 additions and 0 deletions

View File

@@ -8,6 +8,7 @@ typedef enum {
DesktopMainEventOpenFavoriteLeftLong,
DesktopMainEventOpenFavoriteRightShort,
DesktopMainEventOpenFavoriteRightLong,
DesktopMainEventOpenFavoriteOkLong,
DesktopMainEventOpenMenu,
DesktopMainEventOpenDebug,
DesktopMainEventOpenPowerOff,

View File

@@ -74,6 +74,7 @@ bool desktop_main_input_callback(InputEvent* event, void* context) {
if(furi_hal_rtc_is_flag_set(FuriHalRtcFlagDebug)) {
main_view->callback(DesktopAnimationEventNewIdleAnimation, main_view->context);
}
main_view->callback(DesktopMainEventOpenFavoriteOkLong, main_view->context);
}
}
} else {