Skip to content

Commit

Permalink
refactor: Use correct title parameter when adding a SwissTransferTo…
Browse files Browse the repository at this point in the history
…pAppBar
  • Loading branch information
KevinBoulongne committed Oct 31, 2024
1 parent fcd3e9d commit a56dc86
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ fun SettingsDataManagementMatomoScreen(navigateBack: (() -> Unit)?) {
SmallWindowTopAppBarScaffold(
smallWindowTopAppBar = {
SwissTransferTopAppBar(
titleRes = R.string.matomo,
title = stringResource(R.string.matomo),
navigationMenu = TopAppBarButton.backButton(navigateBack ?: {}),
)
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ fun SettingsDataManagementScreen(
SmallWindowTopAppBarScaffold(
smallWindowTopAppBar = {
SwissTransferTopAppBar(
titleRes = R.string.settingsOptionDataManagement,
title = stringResource(R.string.settingsOptionDataManagement),
navigationMenu = TopAppBarButton.backButton(navigateBack ?: {}),
)
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ fun SettingsDataManagementSentryScreen(navigateBack: (() -> Unit)?) {
SmallWindowTopAppBarScaffold(
smallWindowTopAppBar = {
SwissTransferTopAppBar(
titleRes = R.string.sentry,
title = stringResource(R.string.sentry),
navigationMenu = TopAppBarButton.backButton(navigateBack ?: {}),
)
},
Expand Down

0 comments on commit a56dc86

Please sign in to comment.