mirror of
https://github.com/yattee/yattee.git
synced 2024-12-13 05:40:32 +05:30
Playlists fixes
This commit is contained in:
parent
385dbbbef2
commit
006423682b
@ -173,7 +173,10 @@ struct PlaylistsView: View {
|
||||
.labelStyle(.iconOnly)
|
||||
}
|
||||
}
|
||||
newPlaylistButton
|
||||
|
||||
if accounts.signedIn {
|
||||
newPlaylistButton
|
||||
}
|
||||
} label: {
|
||||
HStack(spacing: 12) {
|
||||
Text(currentPlaylist?.title ?? "Playlists")
|
||||
@ -184,8 +187,11 @@ struct PlaylistsView: View {
|
||||
.foregroundColor(.accentColor)
|
||||
.imageScale(.small)
|
||||
}
|
||||
.lineLimit(1)
|
||||
.frame(maxWidth: 300)
|
||||
.transaction { t in t.animation = nil }
|
||||
}
|
||||
.disabled(!accounts.signedIn)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user