mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-04-23 19:32:16 +00:00
Fix: TopBar color
This commit is contained in:
parent
d31791ec02
commit
6092b10be8
@ -21,9 +21,7 @@ import androidx.compose.ui.res.stringResource
|
|||||||
import androidx.compose.ui.text.TextRange
|
import androidx.compose.ui.text.TextRange
|
||||||
import androidx.compose.ui.text.input.ImeAction
|
import androidx.compose.ui.text.input.ImeAction
|
||||||
import androidx.compose.ui.text.input.TextFieldValue
|
import androidx.compose.ui.text.input.TextFieldValue
|
||||||
import androidx.compose.ui.unit.dp
|
|
||||||
import com.looker.droidify.R
|
import com.looker.droidify.R
|
||||||
import com.looker.droidify.ui.compose.theme.surfaceColorAtElevation
|
|
||||||
import com.looker.droidify.ui.compose.utils.HorizontalExpandingVisibility
|
import com.looker.droidify.ui.compose.utils.HorizontalExpandingVisibility
|
||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
@ -37,7 +35,7 @@ fun TopBar(
|
|||||||
Text(text = title, style = MaterialTheme.typography.headlineSmall)
|
Text(text = title, style = MaterialTheme.typography.headlineSmall)
|
||||||
},
|
},
|
||||||
colors = TopAppBarDefaults.smallTopAppBarColors(
|
colors = TopAppBarDefaults.smallTopAppBarColors(
|
||||||
containerColor = MaterialTheme.colorScheme.surfaceColorAtElevation(2.dp)
|
containerColor = MaterialTheme.colorScheme.surface
|
||||||
),
|
),
|
||||||
actions = actions
|
actions = actions
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user