From 12138bd4f4d6e0199b6582209448f005fb208766 Mon Sep 17 00:00:00 2001 From: Surajkumar Gunjal Date: Sat, 2 Apr 2022 16:54:20 +0530 Subject: [PATCH] Fix fullscreen button --- app/src/main/java/com/github/libretube/PlayerFragment.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/app/src/main/java/com/github/libretube/PlayerFragment.kt b/app/src/main/java/com/github/libretube/PlayerFragment.kt index fa4749513..cf94d899f 100644 --- a/app/src/main/java/com/github/libretube/PlayerFragment.kt +++ b/app/src/main/java/com/github/libretube/PlayerFragment.kt @@ -192,7 +192,6 @@ class PlayerFragment : Fragment() { view.findViewById(R.id.linLayout).visibility=View.GONE val mainActivity = activity as MainActivity mainActivity.requestedOrientation = ActivityInfo.SCREEN_ORIENTATION_USER_LANDSCAPE - mainActivity.requestedOrientation = ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED isFullScreen=true }else{