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:
1 file changed
+3
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user