From 5c817a1cb4f247926fb3b99e3eadbe73f650e53a Mon Sep 17 00:00:00 2001 From: Willy-JL <49810075+Willy-JL@users.noreply.github.com> Date: Sat, 24 Aug 2024 03:11:50 +0200 Subject: [PATCH] Desktop: Fix unset keybinds --- applications/services/desktop/desktop_keybinds.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/applications/services/desktop/desktop_keybinds.c b/applications/services/desktop/desktop_keybinds.c index 60c60b7e5..c17e08a09 100644 --- a/applications/services/desktop/desktop_keybinds.c +++ b/applications/services/desktop/desktop_keybinds.c @@ -197,7 +197,8 @@ void desktop_run_keybind(Desktop* desktop, InputType _type, InputKey _key) { DesktopKeybindKey key = keybind_keys[_key]; FuriString* keybind = desktop_keybinds_load_one(desktop, type, key); - if(furi_string_equal(keybind, "Apps Menu")) { + if(furi_string_empty(keybind)) { + } else if(furi_string_equal(keybind, "Apps Menu")) { loader_start_detached_with_gui_error(desktop->loader, LOADER_APPLICATIONS_NAME, NULL); } else if(furi_string_equal(keybind, "Archive")) { view_dispatcher_send_custom_event(desktop->view_dispatcher, DesktopMainEventOpenArchive);