gui: list: clear skinlist cfg when selected_size isn't 1

This disables custom scroll bars when initializing lists
that are currently always un-skinned, in scenarios where
there is neither a new activity to be pushed, nor is the
theme toggled.

Change-Id: I1bb05fc9be956c71e1adb70e764094082d9bb904
This commit is contained in:
Christian Soffke 2026-05-29 01:23:19 +02:00
parent fa67d29909
commit f0d3d76b26

View file

@ -183,6 +183,9 @@ void gui_synclist_init(struct gui_synclist * gui_list,
gui_list->data = data;
gui_list->scroll_all = scroll_all;
gui_list->selected_size = selected_size;
if (selected_size != 1)
FOR_NB_SCREENS(i)
skinlist_set_cfg(i, NULL);
gui_list->title = NULL;
gui_list->title_icon = Icon_NOICON;