New account selection menu

This commit is contained in:
Arkadiusz Fal
2022-12-11 23:15:56 +01:00
parent 4c143f6d88
commit d02bb23e57
26 changed files with 312 additions and 128 deletions

View File

@@ -191,8 +191,6 @@ struct PlaylistsView: View {
#if os(iOS)
var playlistsMenu: some View {
Menu {
selectPlaylistButton
Section {
if let currentPlaylist {
playButton
@@ -207,6 +205,12 @@ struct PlaylistsView: View {
if accounts.signedIn {
newPlaylistButton
}
selectPlaylistButton
Section {
SettingsButtons()
}
} label: {
HStack(spacing: 12) {
Text(currentPlaylist?.title ?? "Playlists")