mirror of
https://github.com/yattee/yattee.git
synced 2026-05-12 18:35:05 +00:00
Style tvOS playlist delete button with red text on bordered background
This commit is contained in:
@@ -553,12 +553,13 @@ struct UnifiedPlaylistDetailView: View {
|
||||
}
|
||||
.buttonStyle(.bordered)
|
||||
|
||||
Button(role: .destructive) {
|
||||
Button {
|
||||
showingDeleteConfirmation = true
|
||||
} label: {
|
||||
Label(String(localized: "playlist.delete"), systemImage: "trash")
|
||||
.frame(maxWidth: .infinity, minHeight: 50)
|
||||
.font(.headline)
|
||||
.foregroundStyle(.red)
|
||||
}
|
||||
.buttonStyle(.bordered)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user