|
|
|
@ -94,7 +94,11 @@ fun TaskListDrawer(
|
|
|
|
BottomAppBar(
|
|
|
|
BottomAppBar(
|
|
|
|
modifier = Modifier
|
|
|
|
modifier = Modifier
|
|
|
|
.layout { measurable, constraints ->
|
|
|
|
.layout { measurable, constraints ->
|
|
|
|
val placeable = measurable.measure(constraints)
|
|
|
|
val safeConstraints = constraints.copy(
|
|
|
|
|
|
|
|
minHeight = constraints.minHeight.coerceAtLeast(0),
|
|
|
|
|
|
|
|
maxHeight = constraints.maxHeight.coerceAtLeast(0)
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
val placeable = measurable.measure(safeConstraints)
|
|
|
|
bottomAppBarScrollBehavior.state.heightOffsetLimit =
|
|
|
|
bottomAppBarScrollBehavior.state.heightOffsetLimit =
|
|
|
|
-placeable.height.toFloat()
|
|
|
|
-placeable.height.toFloat()
|
|
|
|
val height =
|
|
|
|
val height =
|
|
|
|
|