From c1f67d3f72e4c85034b48e6e8e8b73be6015f3c6 Mon Sep 17 00:00:00 2001 From: jdgleaver Date: Fri, 17 Jul 2020 10:49:06 +0100 Subject: [PATCH] (Load Content Animation) Fix detection of 'favourites' playlist --- gfx/widgets/gfx_widget_load_content_animation.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gfx/widgets/gfx_widget_load_content_animation.c b/gfx/widgets/gfx_widget_load_content_animation.c index 34a99ab9aa..075d663b4d 100644 --- a/gfx/widgets/gfx_widget_load_content_animation.c +++ b/gfx/widgets/gfx_widget_load_content_animation.c @@ -412,10 +412,10 @@ bool gfx_widget_start_load_content_animation(void) sizeof(state->system_name)); /* Exclude history and favourites playlists */ - if (string_is_equal(state->system_name, "history") || - string_is_equal(state->system_name, "favorites") || - string_ends_with_size(state->system_name, "_history", - strlen(state->system_name), STRLEN_CONST("_history"))) + if (string_ends_with_size(state->system_name, "_history", + strlen(state->system_name), STRLEN_CONST("_history")) || + string_ends_with_size(state->system_name, "_favorites", + strlen(state->system_name), STRLEN_CONST("_favorites"))) state->system_name[0] = '\0'; /* Check whether a valid system name was found */