Drawer scaffold improvements

Change-Id: Ifb61bb8b016a2edd466f1f3d6f881a3b2800f26b
feature/adaptive_scaffold
Miłosz Moczkowski 1 year ago
parent e6c0176bfd
commit 3368c7d34e

@ -327,7 +327,7 @@ private fun <T> DrawerScaffold(
content: @Composable (padding: PaddingValues) -> Unit,
) {
val weight: Float by animateFloatAsState(
targetValue = if (isDetailsPaneVisible) 0.5f else 1f,
targetValue = if (isDetailsPaneVisible) 0.65f else 1f,
animationSpec = tween(durationMillis = 500),
label = "Details Pane",
)

Loading…
Cancel
Save