From a69e7125b3bcf4a5b442f6e49f52412a87a5b7b6 Mon Sep 17 00:00:00 2001 From: Bnyro Date: Sun, 2 Apr 2023 18:56:18 +0200 Subject: [PATCH] Fix sharing short videos to the app --- .../java/com/github/libretube/ui/fragments/PlayerFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/github/libretube/ui/fragments/PlayerFragment.kt b/app/src/main/java/com/github/libretube/ui/fragments/PlayerFragment.kt index 72d3cd816..e1fe49680 100644 --- a/app/src/main/java/com/github/libretube/ui/fragments/PlayerFragment.kt +++ b/app/src/main/java/com/github/libretube/ui/fragments/PlayerFragment.kt @@ -700,7 +700,7 @@ class PlayerFragment : Fragment(), OnlinePlayerOptions { (videoStream?.height ?: 0) > (videoStream?.width ?: 0) ) { withContext(Dispatchers.Main) { - setFullscreen() + if (binding.playerMotionLayout.progress == 0f) setFullscreen() } } }