mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 21:07:04 +05:30
refactor(android): update ClawAppBar for Material3 1.0.0-beta02
This commit is contained in:
parent
08b3b759d2
commit
e726bba39f
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
package dev.msfjarvis.claw.common.ui.decorations
|
||||
|
||||
import androidx.compose.material3.ExperimentalMaterial3Api
|
||||
import androidx.compose.material3.SmallTopAppBar
|
||||
import androidx.compose.material3.TopAppBar
|
||||
import androidx.compose.material3.TopAppBarDefaults
|
||||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.ui.Modifier
|
||||
|
@ -15,7 +15,7 @@ fun ClawAppBar(
|
|||
navigationIcon: @Composable () -> Unit = {},
|
||||
title: @Composable () -> Unit = {},
|
||||
) {
|
||||
SmallTopAppBar(
|
||||
TopAppBar(
|
||||
title = title,
|
||||
modifier = modifier,
|
||||
colors = TopAppBarDefaults.smallTopAppBarColors(containerColor = backgroundColor),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue