Playlists and channels in the sidebar

This commit is contained in:
Arkadiusz Fal
2021-08-29 23:36:18 +02:00
parent 1196a2a5e2
commit 1651110a5d
13 changed files with 300 additions and 48 deletions

View File

@@ -14,6 +14,8 @@ struct PlaylistFormView: View {
@Environment(\.dismiss) private var dismiss
@EnvironmentObject<Playlists> private var playlists
var editing: Bool {
playlist != nil
}
@@ -139,6 +141,8 @@ struct PlaylistFormView: View {
playlist = modifiedPlaylist
}
playlists.reload()
dismiss()
}
}