Use the propert composable for the navigation bar with material 3
This commit is contained in:
parent
eaa4fcf8e9
commit
5e8c64ad9c
1 changed files with 2 additions and 1 deletions
|
|
@ -6,6 +6,7 @@ import androidx.compose.material3.BottomAppBar
|
|||
import androidx.compose.material3.ExperimentalMaterial3Api
|
||||
import androidx.compose.material3.Icon
|
||||
import androidx.compose.material3.MaterialTheme
|
||||
import androidx.compose.material3.NavigationBar
|
||||
import androidx.compose.material3.NavigationBarItem
|
||||
import androidx.compose.material3.Scaffold
|
||||
import androidx.compose.material3.SnackbarHost
|
||||
|
|
@ -79,7 +80,7 @@ fun HomeNavHost(
|
|||
)
|
||||
},
|
||||
bottomBar = {
|
||||
BottomAppBar(
|
||||
NavigationBar(
|
||||
containerColor = MaterialTheme.colorScheme.surface,
|
||||
tonalElevation = 0.dp,
|
||||
) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue