Fix sharing short videos to the app

This commit is contained in:
Bnyro 2023-04-02 18:56:18 +02:00
parent 909de96160
commit a69e7125b3

View File

@ -700,7 +700,7 @@ class PlayerFragment : Fragment(), OnlinePlayerOptions {
(videoStream?.height ?: 0) > (videoStream?.width ?: 0)
) {
withContext(Dispatchers.Main) {
setFullscreen()
if (binding.playerMotionLayout.progress == 0f) setFullscreen()
}
}
}