mirror of
https://github.com/yattee/yattee.git
synced 2025-04-27 23:40:35 +05:30
Fix video details buttons alignment
This commit is contained in:
parent
32862ab446
commit
adcebb77a5
@ -365,7 +365,6 @@ struct VideoDetails: View {
|
|||||||
|
|
||||||
Spacer()
|
Spacer()
|
||||||
|
|
||||||
if accounts.app.supportsUserPlaylists {
|
|
||||||
Button {
|
Button {
|
||||||
presentingAddToPlaylist = true
|
presentingAddToPlaylist = true
|
||||||
} label: {
|
} label: {
|
||||||
@ -374,7 +373,10 @@ struct VideoDetails: View {
|
|||||||
.help("Add to Playlist...")
|
.help("Add to Playlist...")
|
||||||
}
|
}
|
||||||
.buttonStyle(.plain)
|
.buttonStyle(.plain)
|
||||||
}
|
.opacity(accounts.app.supportsUserPlaylists ? 1 : 0)
|
||||||
|
#if os(macOS)
|
||||||
|
.frame(minWidth: 35, alignment: .trailing)
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
.frame(maxHeight: 35)
|
.frame(maxHeight: 35)
|
||||||
.foregroundColor(.secondary)
|
.foregroundColor(.secondary)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user