From 826a5f5aef9d3f70c44a7a63968179283c6a41f1 Mon Sep 17 00:00:00 2001 From: RogueMaster Date: Mon, 26 Dec 2022 19:07:39 -0500 Subject: [PATCH] favorites still swapped --- ReadMe.md | 1 + applications/services/desktop/views/desktop_view_main.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ReadMe.md b/ReadMe.md index d738d46b8..69b900c93 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -43,6 +43,7 @@ Thank you to all the supporters! - Dolphin State Code Optimizations [From ClaraCrazy](https://github.com/ClaraCrazy/Flipper-Xtreme/blob/main/applications/services/dolphin/helpers/dolphin_state.c) with corrections to the level thresholds that were too low. - Added all OFW changes ported by [Unleashed/xMasterX](https://github.com/DarkFlippers/unleashed-firmware). - Added IR Remote loader from main menu +- Reflipped Primary/Secondary shortcuts since they are still swapped. ## Install from Release FLASH STOCK FIRST BEFORE UPDATING TO CUSTOM FIRMWARE! diff --git a/applications/services/desktop/views/desktop_view_main.c b/applications/services/desktop/views/desktop_view_main.c index 7715227c6..87075c693 100644 --- a/applications/services/desktop/views/desktop_view_main.c +++ b/applications/services/desktop/views/desktop_view_main.c @@ -80,9 +80,9 @@ bool desktop_main_input_callback(InputEvent* event, void* context) { if(event->key == InputKeyOk) { main_view->callback(DesktopAnimationEventNewIdleAnimation, main_view->context); } else if(event->key == InputKeyUp) { - main_view->callback(DesktopMainEventOpenFavoritePrimary, main_view->context); + main_view->callback(DesktopMainEventOpenFavoriteSecondary, main_view->context); // UP FOR PRIMARY } else if(event->key == InputKeyDown) { - main_view->callback(DesktopMainEventOpenFavoriteSecondary, main_view->context); + main_view->callback(DesktopMainEventOpenFavoritePrimary, main_view->context); // DOWN FOR SECONDARY } else if(event->key == InputKeyLeft) { main_view->callback( DesktopMainEventOpenSubRemote, main_view->context); // OPENS SUBGHZ REMOTE