This commit is contained in:
Bnyro 2022-06-26 17:22:06 +02:00
parent fcd012184e
commit 8a053e87e1

View File

@ -230,6 +230,7 @@ class PlayerFragment : Fragment() {
.commit()
}
view.findViewById<ImageButton>(R.id.close_imageButton).setOnClickListener {
isMiniPlayerVisible = false
motionLayout.transitionToEnd()
val mainActivity = activity as MainActivity
mainActivity.requestedOrientation = ActivityInfo.SCREEN_ORIENTATION_USER_PORTRAIT