mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-13 22:00:30 +05:30
fix: mini player overlaps navigation bar (#5694)
This commit is contained in:
parent
27e6d76de9
commit
a526015668
@ -12,6 +12,7 @@ import android.widget.ScrollView
|
||||
import androidx.activity.addCallback
|
||||
import androidx.activity.viewModels
|
||||
import androidx.appcompat.widget.SearchView
|
||||
import androidx.constraintlayout.widget.ConstraintSet
|
||||
import androidx.core.content.pm.ShortcutManagerCompat
|
||||
import androidx.core.os.bundleOf
|
||||
import androidx.core.view.allViews
|
||||
@ -455,7 +456,8 @@ class MainActivity : BaseActivity() {
|
||||
linLayout.isVisible = true
|
||||
playerMotionLayout.setTransitionDuration(250)
|
||||
playerMotionLayout.transitionToEnd()
|
||||
playerMotionLayout.getConstraintSet(R.id.start).constrainHeight(R.id.player, 0)
|
||||
playerMotionLayout.getConstraintSet(R.id.start)
|
||||
.constrainHeight(R.id.player, ConstraintSet.WRAP_CONTENT)
|
||||
playerMotionLayout.enableTransition(R.id.yt_transition, true)
|
||||
}
|
||||
(fragment as? AudioPlayerFragment)?.binding?.apply {
|
||||
|
Loading…
Reference in New Issue
Block a user