Allow player swipe gesture when in fullscreen

This commit is contained in:
Arkadiusz Fal 2022-06-08 00:20:26 +02:00
parent d659063897
commit fd3b3e604a

View File

@ -152,10 +152,6 @@ struct VideoPlayerView: View {
.gesture(
DragGesture(coordinateSpace: .global)
.onChanged { value in
guard !fullScreenLayout else {
return // swiftlint:disable:this implicit_return
}
player.backend.setNeedsDrawing(false)
let drag = value.translation.height