From 662be13ab5883e7a22003ad94f0c85fbc3d142d2 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Fri, 7 Oct 2022 21:12:25 +0530 Subject: fix: add shadow to `APSAppBar` --- ui-compose/src/main/kotlin/app/passwordstore/ui/APSAppBar.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ui-compose/src/main/kotlin/app/passwordstore/ui/APSAppBar.kt b/ui-compose/src/main/kotlin/app/passwordstore/ui/APSAppBar.kt index 1793b674..8dbcd14f 100644 --- a/ui-compose/src/main/kotlin/app/passwordstore/ui/APSAppBar.kt +++ b/ui-compose/src/main/kotlin/app/passwordstore/ui/APSAppBar.kt @@ -8,8 +8,10 @@ import androidx.compose.material3.TopAppBar import androidx.compose.material3.TopAppBarDefaults import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier +import androidx.compose.ui.draw.shadow import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.painter.Painter +import androidx.compose.ui.unit.dp @Composable @OptIn(ExperimentalMaterial3Api::class) @@ -33,6 +35,6 @@ public fun APSAppBar( } }, colors = TopAppBarDefaults.smallTopAppBarColors(containerColor = backgroundColor), - modifier = modifier, + modifier = modifier.shadow(8.dp), ) } -- cgit v1.2.3