ui: remove redundant sheet content inset
This commit is contained in:
parent
8a75295d99
commit
7537d135f2
1 changed files with 0 additions and 6 deletions
|
@ -68,12 +68,6 @@ class BottomSheetContentBehavior<V : View>(context: Context, attributeSet: Attri
|
|||
if (consumed != lastConsumed) {
|
||||
logD("Consumed amount changed, re-applying insets")
|
||||
lastConsumed = consumed
|
||||
|
||||
val insets = lastInsets
|
||||
if (insets != null) {
|
||||
child.dispatchApplyWindowInsets(insets)
|
||||
}
|
||||
|
||||
lastInsets?.let(child::dispatchApplyWindowInsets)
|
||||
measureContent(parent, child, consumed)
|
||||
layoutContent(child)
|
||||
|
|
Loading…
Reference in a new issue