Improve playlists toolbar layout on iOS

This commit is contained in:
Arkadiusz Fal 2022-01-05 17:26:25 +01:00
parent 363424fa74
commit 3e8ac15c66

View File

@ -101,20 +101,28 @@ struct PlaylistsView: View {
.foregroundColor(.secondary)
} else {
selectPlaylistButton
.frame(maxWidth: 140)
}
playButton
shuffleButton
Spacer()
newPlaylistButton
if currentPlaylist != nil {
editPlaylistButton
HStack(spacing: 10) {
playButton
shuffleButton
}
Spacer()
}
HStack(spacing: 2) {
newPlaylistButton
if currentPlaylist != nil {
editPlaylistButton
}
}
}
.transaction { t in t.animation = .none }
}
#endif
}