Skip to content

Commit

Permalink
Update CenterAlignedTopAppBar snippet to use centerAlignedTopAppBarCo…
Browse files Browse the repository at this point in the history
…lors
  • Loading branch information
pedrosax authored Jul 18, 2024
1 parent 0280de8 commit cc73f31
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ fun CenterAlignedTopAppBarExample() {

topBar = {
CenterAlignedTopAppBar(
colors = TopAppBarDefaults.topAppBarColors(
colors = TopAppBarDefaults.centerAlignedTopAppBarColors(
containerColor = MaterialTheme.colorScheme.primaryContainer,
titleContentColor = MaterialTheme.colorScheme.primary,
),
Expand Down

0 comments on commit cc73f31

Please sign in to comment.