Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ fun SettingsScreen(
onAboutClick: () -> Unit = {},
) {
var showCrashReportingDialog by rememberSaveable { mutableStateOf(false) }
val appName = stringResource(R.string.app_name)

Scaffold(
topBar = {
Expand Down Expand Up @@ -122,8 +123,12 @@ fun SettingsScreen(
tiles = listOf(
SettingsTile.Link(
icon = rememberVectorPainter(Icons.Filled.Info),
title = stringResource(R.string.about_parking),
summary = stringResource(R.string.about_parking_summary, BuildConfig.VERSION_NAME),
title = stringResource(R.string.about_parking, appName),
summary = stringResource(
R.string.about_parking_summary,
appName,
BuildConfig.VERSION_NAME,
),
onClick = onAboutClick,
),
),
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
<!-- About -->
<string name="settings_group_about">About</string>
<string name="about">About</string>
<string name="about_parking">About ParKing</string>
<string name="about_parking_summary">ParKing v%1$s. More info.</string>
<string name="about_parking">About %1$s</string>
<string name="about_parking_summary">%1$s v%2$s. More info.</string>
<string name="about_version">Version %1$s</string>
<string name="about_view_source">Open Source</string>
<string name="about_view_source_summary">View Source Code on GitHub</string>
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ composeBom = "2026.09.00"
materialIcons = "1.7.8"
composeUiTest = "1.12.1"
acra = "5.13.1"
maplibre = "0.17.0"
maplibre = "0.18.0"

[libraries]
androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" }
Expand Down
Loading