mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-13 22:00:30 +05:30
commit
0c25951766
@ -429,7 +429,7 @@ class MainActivity : BaseActivity() {
|
||||
intent?.getStringExtra(IntentData.videoId)?.let {
|
||||
// the bottom navigation bar has to be created before opening the video
|
||||
// otherwise the player layout measures aren't calculated properly
|
||||
// and the miniplayer is opened at a closed state and overlapsing the navigationb ar
|
||||
// and the miniplayer is opened at a closed state and overlapping the navigation bar
|
||||
binding.bottomNav.viewTreeObserver.addOnGlobalLayoutListener(object : ViewTreeObserver.OnGlobalLayoutListener {
|
||||
override fun onGlobalLayout() {
|
||||
NavigationHelper.navigateVideo(
|
||||
|
Loading…
Reference in New Issue
Block a user