mirror of https://github.com/Nezreka/SoulSync.git
On the Search page and the global search widget (both share createSearchController), the source picker stayed empty when the active metadata source was Spotify-no-auth, until you clicked Spotify manually. Root cause: get_primary_source_status reports the no-auth composite as source 'spotify_free' (for display labelling). The controller's initActiveSource set activeSource = 'spotify_free' (it's a valid SOURCE_LABELS entry), but the icon row renders from SOURCE_ORDER, which only has 'spotify' — so no icon matched the active source and nothing highlighted. Fix: normalize 'spotify_free' -> 'spotify' when deriving the initial active source (they're the same searchable source; the picker only has a Spotify icon). Now no-auth auto-selects Spotify like plain Spotify does. One spot, fixes both surfaces.pull/853/head
parent
8bf03a7d5e
commit
ce6ce4d8d6
Loading…
Reference in new issue