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)
|
.buttonStyle(.bordered)
|
||||||
|
|
||||||
Button(role: .destructive) {
|
Button {
|
||||||
showingDeleteConfirmation = true
|
showingDeleteConfirmation = true
|
||||||
} label: {
|
} label: {
|
||||||
Label(String(localized: "playlist.delete"), systemImage: "trash")
|
Label(String(localized: "playlist.delete"), systemImage: "trash")
|
||||||
.frame(maxWidth: .infinity, minHeight: 50)
|
.frame(maxWidth: .infinity, minHeight: 50)
|
||||||
.font(.headline)
|
.font(.headline)
|
||||||
|
.foregroundStyle(.red)
|
||||||
}
|
}
|
||||||
.buttonStyle(.bordered)
|
.buttonStyle(.bordered)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user