mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-18 03:48:08 +00:00
Prevent full screen mode to stay on after leaving image/video file viewer
This commit is contained in:
parent
f118ccf049
commit
023e953a2b
2 changed files with 7 additions and 0 deletions
|
|
@ -63,4 +63,10 @@ class ImageViewerFragment : GenericViewerFragment<FileImageViewerFragmentBinding
|
|||
(requireActivity() as MainActivity).hideStatusFragment(hide)
|
||||
}
|
||||
}
|
||||
|
||||
override fun onPause() {
|
||||
super.onPause()
|
||||
|
||||
viewModel.fullScreenMode.value = false
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -93,6 +93,7 @@ class VideoViewerFragment : GenericViewerFragment<FileVideoViewerFragmentBinding
|
|||
binding.videoView.pause()
|
||||
}
|
||||
|
||||
viewModel.fullScreenMode.value = false
|
||||
super.onPause()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue