Minor tvOS UI improvements

This commit is contained in:
Arkadiusz Fal
2021-09-29 14:36:52 +02:00
parent 282170209b
commit 1b1be1aefe
7 changed files with 35 additions and 13 deletions

View File

@@ -103,10 +103,10 @@ struct PlaylistFormView: View {
Spacer()
Button("Cancel") {
dismiss()
}
#if !os(tvOS)
Button("Cancel") {
dismiss()
}
.keyboardShortcut(.cancelAction)
#endif
}
@@ -206,6 +206,10 @@ struct PlaylistFormView: View {
self.visibility = visibility
}
}
#if os(tvOS)
Button("Cancel", role: .cancel) {}
#endif
}
#endif
}