1
mirror of https://github.com/DarkFlippers/unleashed-firmware.git synced 2025-12-12 04:34:43 +04:00

fix issue with None app used in favourites

User desktop settings will be reset to defaults
This commit is contained in:
MX
2023-06-29 05:51:14 +03:00
parent 380734f804
commit 259979a76a
3 changed files with 8 additions and 3 deletions

View File

@@ -70,7 +70,7 @@ static void desktop_scene_main_open_app_or_profile(Desktop* desktop, const char*
}
static void desktop_scene_main_start_favorite(Desktop* desktop, FavoriteApp* application) {
if(strlen(application->name_or_path) > 0) {
if(strlen(application->name_or_path) > 4) {
loader_start_with_gui_error(desktop->loader, application->name_or_path, NULL);
} else {
// No favourite app is set! So we skipping this part