Allow to add videos only to user created playlists

This commit is contained in:
Arkadiusz Fal
2022-09-12 17:23:20 +02:00
parent 8c2ffa1b99
commit d01b0f8275
3 changed files with 8 additions and 4 deletions

View File

@@ -94,7 +94,7 @@ struct AddToPlaylistView: View {
selectPlaylistButton
#else
Picker("Playlist", selection: $selectedPlaylistID) {
ForEach(model.all) { playlist in
ForEach(model.all.filter(\.editable)) { playlist in
Text(playlist.title).tag(playlist.id)
}
}