mirror of
https://github.com/yattee/yattee.git
synced 2025-08-09 20:24:06 +00:00
Drop iOS 14 and macOS 11 support
This commit is contained in:
@@ -281,11 +281,7 @@ struct VideoContextMenuView: View {
|
||||
let label = Label("Remove…", systemImage: "trash.fill")
|
||||
.foregroundColor(Color("AppRedColor"))
|
||||
|
||||
if #available(iOS 15, macOS 12, *) {
|
||||
Button(role: .destructive, action: action) { label }
|
||||
} else {
|
||||
Button(action: action) { label }
|
||||
}
|
||||
Button(role: .destructive, action: action) { label }
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user