mirror of
https://github.com/yattee/yattee.git
synced 2025-08-05 02:04:07 +00:00
Favorited playlists belong to account
This commit is contained in:
@@ -197,8 +197,10 @@ struct PlaylistsView: View {
|
||||
|
||||
editPlaylistButton
|
||||
|
||||
FavoriteButton(item: FavoriteItem(section: .playlist(currentPlaylist.id)))
|
||||
.labelStyle(.iconOnly)
|
||||
if let account = accounts.current {
|
||||
FavoriteButton(item: FavoriteItem(section: .playlist(account.id, currentPlaylist.id)))
|
||||
.labelStyle(.iconOnly)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user