mirror of
https://github.com/yattee/yattee.git
synced 2025-08-05 18:24:02 +00:00
New playback settings sheet
This commit is contained in:
@@ -119,7 +119,11 @@ struct VideoActions: View {
|
||||
case .settings:
|
||||
actionButton("Settings", systemImage: "gear") {
|
||||
withAnimation(ControlOverlaysModel.animation) {
|
||||
ControlOverlaysModel.shared.show()
|
||||
#if os(tvOS)
|
||||
ControlOverlaysModel.shared.show()
|
||||
#else
|
||||
navigation.presentingPlaybackSettings = true
|
||||
#endif
|
||||
}
|
||||
}
|
||||
case .next:
|
||||
|
@@ -207,7 +207,7 @@ struct VideoDetails: View {
|
||||
.zIndex(1)
|
||||
|
||||
#if !os(tvOS)
|
||||
if #available(iOS 15, macOS 12, *) {
|
||||
if #available(iOS 16, macOS 13, *) {
|
||||
Rectangle()
|
||||
.fill(
|
||||
LinearGradient(
|
||||
|
Reference in New Issue
Block a user