From fd3b3e604a3bd076461057ebd3e85163e46a9ab6 Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Wed, 8 Jun 2022 00:20:26 +0200 Subject: [PATCH] Allow player swipe gesture when in fullscreen --- Shared/Player/VideoPlayerView.swift | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Shared/Player/VideoPlayerView.swift b/Shared/Player/VideoPlayerView.swift index 483cd486..c633f619 100644 --- a/Shared/Player/VideoPlayerView.swift +++ b/Shared/Player/VideoPlayerView.swift @@ -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