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