removing top bar under status bar
This commit is contained in:
parent
3cec16e33a
commit
4967e44fd6
|
@ -1,17 +1,14 @@
|
||||||
package app.dapk.st.design.components
|
package app.dapk.st.design.components
|
||||||
|
|
||||||
import androidx.compose.foundation.layout.RowScope
|
import androidx.compose.foundation.layout.RowScope
|
||||||
import androidx.compose.foundation.layout.fillMaxWidth
|
|
||||||
import androidx.compose.foundation.layout.offset
|
import androidx.compose.foundation.layout.offset
|
||||||
import androidx.compose.material.icons.Icons
|
import androidx.compose.material.icons.Icons
|
||||||
import androidx.compose.material.icons.filled.ArrowBack
|
import androidx.compose.material.icons.filled.ArrowBack
|
||||||
import androidx.compose.material3.*
|
import androidx.compose.material3.*
|
||||||
import androidx.compose.runtime.Composable
|
import androidx.compose.runtime.Composable
|
||||||
import androidx.compose.ui.Modifier
|
import androidx.compose.ui.Modifier
|
||||||
import androidx.compose.ui.graphics.Color
|
|
||||||
import androidx.compose.ui.unit.Density
|
import androidx.compose.ui.unit.Density
|
||||||
import androidx.compose.ui.unit.IntOffset
|
import androidx.compose.ui.unit.IntOffset
|
||||||
import androidx.compose.ui.unit.dp
|
|
||||||
|
|
||||||
@OptIn(ExperimentalMaterial3Api::class)
|
@OptIn(ExperimentalMaterial3Api::class)
|
||||||
@Composable
|
@Composable
|
||||||
|
@ -31,7 +28,6 @@ fun Toolbar(
|
||||||
title = title?.let { { Text(it, maxLines = 2) } } ?: {},
|
title = title?.let { { Text(it, maxLines = 2) } } ?: {},
|
||||||
actions = actions,
|
actions = actions,
|
||||||
)
|
)
|
||||||
Divider(modifier = Modifier.fillMaxWidth(), color = Color.Black.copy(alpha = 0.2f), thickness = 0.5.dp)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun foo(onNavigate: (() -> Unit)?): (@Composable () -> Unit) {
|
private fun foo(onNavigate: (() -> Unit)?): (@Composable () -> Unit) {
|
||||||
|
|
Loading…
Reference in New Issue