mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-04-23 19:32:16 +00:00
Update: Replace deprecated composable
This commit is contained in:
parent
bf19df717a
commit
57ab8eb08f
@ -12,10 +12,10 @@ import androidx.compose.material3.ExperimentalMaterial3Api
|
||||
import androidx.compose.material3.Icon
|
||||
import androidx.compose.material3.IconButton
|
||||
import androidx.compose.material3.MaterialTheme
|
||||
import androidx.compose.material3.SmallTopAppBar
|
||||
import androidx.compose.material3.Text
|
||||
import androidx.compose.material3.TextField
|
||||
import androidx.compose.material3.TextFieldDefaults
|
||||
import androidx.compose.material3.TopAppBar
|
||||
import androidx.compose.material3.TopAppBarDefaults
|
||||
import androidx.compose.material3.TopAppBarScrollBehavior
|
||||
import androidx.compose.runtime.Composable
|
||||
@ -49,7 +49,7 @@ fun TopBar(
|
||||
scrollBehavior: TopAppBarScrollBehavior? = null,
|
||||
actions: @Composable (RowScope.() -> Unit) = {}
|
||||
) {
|
||||
SmallTopAppBar(
|
||||
TopAppBar(
|
||||
modifier = Modifier.wrapContentHeight(),
|
||||
title = {
|
||||
Text(text = title, style = MaterialTheme.typography.headlineSmall)
|
||||
|
Loading…
x
Reference in New Issue
Block a user