mirror of
https://github.com/yattee/yattee.git
synced 2025-08-09 20:24:06 +00:00
Managing Favorites sections
This commit is contained in:
@@ -75,6 +75,8 @@ struct PlaylistsView: View {
|
||||
editPlaylistButton
|
||||
}
|
||||
#endif
|
||||
FavoriteButton(item: FavoriteItem(section: .playlist(selectedPlaylistID)))
|
||||
|
||||
newPlaylistButton
|
||||
}
|
||||
|
||||
@@ -139,6 +141,11 @@ struct PlaylistsView: View {
|
||||
editPlaylistButton
|
||||
}
|
||||
|
||||
if let playlist = currentPlaylist {
|
||||
FavoriteButton(item: FavoriteItem(section: .playlist(playlist.id)))
|
||||
.labelStyle(.iconOnly)
|
||||
}
|
||||
|
||||
Spacer()
|
||||
|
||||
newPlaylistButton
|
||||
|
Reference in New Issue
Block a user