Fix new offenses

This commit is contained in:
Arkadiusz Fal
2021-11-08 17:29:35 +01:00
parent 2701c1ccb5
commit db9f7e5f5d
29 changed files with 305 additions and 305 deletions

View File

@@ -4,7 +4,7 @@ import Siesta
import SwiftUI
struct VideoPlayerView: View {
static let defaultAspectRatio: Double = 1.77777778
static let defaultAspectRatio = 16 / 9.0
static var defaultMinimumHeightLeft: Double {
#if os(macOS)
300
@@ -76,14 +76,14 @@ struct VideoPlayerView: View {
}
}
#if os(iOS)
.onSwipeGesture(
up: {
withAnimation {
fullScreen = true
}
},
down: { dismiss() }
)
.onSwipeGesture(
up: {
withAnimation {
fullScreen = true
}
},
down: { dismiss() }
)
#endif
.background(.black)
@@ -104,7 +104,7 @@ struct VideoPlayerView: View {
#endif
}
#if os(macOS)
.frame(minWidth: 650)
.frame(minWidth: 650)
#endif
#if os(iOS)
if sidebarQueue {