mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-13 13:50:30 +05:30
Merge pull request #3481 from Bnyro/master
Fix sharing short videos to the app
This commit is contained in:
commit
5838e2bd4f
@ -713,7 +713,7 @@ class PlayerFragment : Fragment(), OnlinePlayerOptions {
|
|||||||
(videoStream?.height ?: 0) > (videoStream?.width ?: 0)
|
(videoStream?.height ?: 0) > (videoStream?.width ?: 0)
|
||||||
) {
|
) {
|
||||||
withContext(Dispatchers.Main) {
|
withContext(Dispatchers.Main) {
|
||||||
setFullscreen()
|
if (binding.playerMotionLayout.progress == 0f) setFullscreen()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user