Skip to content

Commit

Permalink
Desktop: Fix unset keybinds
Browse files Browse the repository at this point in the history
  • Loading branch information
Willy-JL committed Aug 24, 2024
1 parent 1314169 commit 5c817a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion applications/services/desktop/desktop_keybinds.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5c817a1

Please sign in to comment.