From 9e8139bb13bb452bf69d8b066734fd3099fcf416 Mon Sep 17 00:00:00 2001 From: Willy-JL <49810075+Willy-JL@users.noreply.github.com> Date: Thu, 10 Aug 2023 03:31:49 +0200 Subject: [PATCH] Fix keybinds for main applications / exta actions --- applications/services/desktop/desktop.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/applications/services/desktop/desktop.c b/applications/services/desktop/desktop.c index f9aeb81d8..d1ddc3d35 100644 --- a/applications/services/desktop/desktop.c +++ b/applications/services/desktop/desktop.c @@ -493,7 +493,12 @@ void desktop_run_keybind(Desktop* instance, InputType _type, InputKey _key) { } else if(!strncmp(keybind, "Wipe Device", MAX_KEYBIND_LENGTH)) { loader_start_detached_with_gui_error(instance->loader, "Storage", "wipe"); } else { - run_with_default_app(keybind); + if(storage_common_exists(furi_record_open(RECORD_STORAGE), keybind)) { + run_with_default_app(keybind); + } else { + loader_start_detached_with_gui_error(instance->loader, keybind, NULL); + } + furi_record_close(RECORD_STORAGE); } }