Skip to content

Commit

Permalink
ui: remove redundant sheet content inset
Browse files Browse the repository at this point in the history
  • Loading branch information
OxygenCobalt committed Jan 2, 2024
1 parent 8a75295 commit 7537d13
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7537d13

Please sign in to comment.