mirror of
https://github.com/yattee/yattee.git
synced 2025-08-09 04:04:07 +00:00
Improve playlists toolbar layout on iOS
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user