fix(artist): add ArtistState.is-following for the follow heart

The header heart binding + the Rust set_is_following calls reference an
ArtistState.is-following that did not exist (that property lived on other
header globals). Add it so the .slint compiles and the heart reflects the
follow state. Caught by cargo check -p qbz.

cc
This commit is contained in:
vicrodh committed 2026-06-27 15:44:30 -06:00
1 parent c1b189363a
commit 1458214a91
1 file changed
+3
+3
View File
@@ -3046,6 +3046,9 @@ export struct StoryItem {
export global ArtistState {
in property <string> id;
in property <string> name;
// Whether the user follows (Qobuz-favorites) this artist — drives the
// header heart fill; seeded on artist open, toggled by the follow action.
in property <bool> is-following: false;
// Network URL of the portrait — used by the artwork right-click
// menu for Open-in-browser and Save-as actions.
in property <string> artwork-url;