From 4967e44fd6d0c3ef774f751fdfd67bebf5387670 Mon Sep 17 00:00:00 2001 From: Adam Brown Date: Mon, 12 Sep 2022 20:57:33 +0100 Subject: [PATCH] removing top bar under status bar --- .../src/main/kotlin/app/dapk/st/design/components/Toolbar.kt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/design-library/src/main/kotlin/app/dapk/st/design/components/Toolbar.kt b/design-library/src/main/kotlin/app/dapk/st/design/components/Toolbar.kt index 0698301..dbcb390 100644 --- a/design-library/src/main/kotlin/app/dapk/st/design/components/Toolbar.kt +++ b/design-library/src/main/kotlin/app/dapk/st/design/components/Toolbar.kt @@ -1,17 +1,14 @@ package app.dapk.st.design.components import androidx.compose.foundation.layout.RowScope -import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.offset import androidx.compose.material.icons.Icons import androidx.compose.material.icons.filled.ArrowBack import androidx.compose.material3.* import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier -import androidx.compose.ui.graphics.Color import androidx.compose.ui.unit.Density import androidx.compose.ui.unit.IntOffset -import androidx.compose.ui.unit.dp @OptIn(ExperimentalMaterial3Api::class) @Composable @@ -31,7 +28,6 @@ fun Toolbar( title = title?.let { { Text(it, maxLines = 2) } } ?: {}, actions = actions, ) - Divider(modifier = Modifier.fillMaxWidth(), color = Color.Black.copy(alpha = 0.2f), thickness = 0.5.dp) } private fun foo(onNavigate: (() -> Unit)?): (@Composable () -> Unit) {