Merge pull request #3481 from Bnyro/master

Fix sharing short videos to the app
This commit is contained in:
Bnyro 2023-04-02 18:57:11 +02:00 committed by GitHub
commit 5838e2bd4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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