Fix fullscreen button

This commit is contained in:
Surajkumar Gunjal 2022-04-02 16:54:20 +05:30
parent aaba4f5bfa
commit 12138bd4f4

View File

@ -192,7 +192,6 @@ class PlayerFragment : Fragment() {
view.findViewById<LinearLayout>(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{