Skip to content

Commit 1bec91c

Browse files
committed
Deprecation fixed
1 parent 2e88766 commit 1bec91c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

theme/src/main/java/no/nordicsemi/android/common/theme/view/NordicAppBar.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ fun NordicAppBar(
5656
) {
5757
TopAppBar(
5858
title = { Text(text) },
59-
colors = TopAppBarDefaults.smallTopAppBarColors(
59+
colors = TopAppBarDefaults.topAppBarColors(
6060
containerColor = colorResource(id = R.color.appBarColor),
6161
titleContentColor = MaterialTheme.colorScheme.onPrimary,
6262
actionIconContentColor = MaterialTheme.colorScheme.onPrimary,

0 commit comments

Comments
 (0)