From 3368c7d34eefef1d136978ea6dea44e0008495a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mi=C5=82osz=20Moczkowski?= Date: Tue, 27 Jun 2023 12:12:29 +0200 Subject: [PATCH] Drawer scaffold improvements Change-Id: Ifb61bb8b016a2edd466f1f3d6f881a3b2800f26b --- .../samples/apps/nowinandroid/core/ui/AdaptiveScaffold.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/ui/src/main/java/com/google/samples/apps/nowinandroid/core/ui/AdaptiveScaffold.kt b/core/ui/src/main/java/com/google/samples/apps/nowinandroid/core/ui/AdaptiveScaffold.kt index 8bac0ba79..e70e49121 100644 --- a/core/ui/src/main/java/com/google/samples/apps/nowinandroid/core/ui/AdaptiveScaffold.kt +++ b/core/ui/src/main/java/com/google/samples/apps/nowinandroid/core/ui/AdaptiveScaffold.kt @@ -327,7 +327,7 @@ private fun 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", )