diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2022-10-07 21:12:25 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2022-10-07 21:12:25 +0530 |
commit | 662be13ab5883e7a22003ad94f0c85fbc3d142d2 (patch) | |
tree | 4cbb4d67c6f6aef03521b5893659734dd81231a1 /ui-compose/src/main | |
parent | 66159923323bcffccf18893a81a542e18b0bda1a (diff) |
fix: add shadow to `APSAppBar`
Diffstat (limited to 'ui-compose/src/main')
-rw-r--r-- | ui-compose/src/main/kotlin/app/passwordstore/ui/APSAppBar.kt | 4 |
1 files changed, 3 insertions, 1 deletions
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), ) } |