mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-28 16:00:31 +05:30
Hide sheets on PiP change
This commit is contained in:
parent
c9c34a090d
commit
c54e99bf9a
@ -52,4 +52,9 @@ open class BottomSheet : BottomSheetDialogFragment() {
|
|||||||
fragmentManager,
|
fragmentManager,
|
||||||
null
|
null
|
||||||
)
|
)
|
||||||
|
|
||||||
|
override fun onPictureInPictureModeChanged(isInPictureInPictureMode: Boolean) {
|
||||||
|
super.onPictureInPictureModeChanged(isInPictureInPictureMode)
|
||||||
|
dialog?.dismiss()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user