fix(playlist): follow/unfollow button reflects the true follow state

The detail toggle used sidebar::contains to decide "following", which is
true for owned playlists shown in the sidebar and false for followed ones
opened from Favorites > Followed (a followed playlist may live in a folder
or not be rendered in the sidebar at all). Being in the sidebar is a
consequence of following, not the determinant, so derive it authoritatively
from get_user_playlists (present but owner != me). Reflect the state in the
button: a check icon + "Unfollow on Qobuz" tooltip when following.

cc
This commit is contained in:
vicrodh committed 2026-06-28 12:59:06 -06:00
1 parent 1a4e3bd3d8
commit 98d606f913
8 files changed
+50 -20

No files matched your search

@@ -57,3 +57,6 @@ msgid "Added {} track to queue"
msgid_plural "Added {} tracks to queue"
msgstr[0] "Added {} track to queue"
msgstr[1] "Added {} tracks to queue"
msgid "Unfollow on Qobuz"
msgstr "Unfollow on Qobuz"