show launcher version in settings

This commit is contained in:
qimiko committed 2024-01-22 00:28:29 -07:00
1 parent 1eab544692
commit 442ef83339
3 files changed
+10 -10

No files matched your search

+2 -1
View File
@@ -55,7 +55,8 @@ android {
jvmTarget = '1.8'
}
buildFeatures {
compose true
compose true
buildConfig true
}
composeOptions {
kotlinCompilerExtensionVersion compose_compiler
@@ -364,14 +364,12 @@ fun SettingsScreen(
UpdateIndicator(snackbarHostState, updateStatus)
}
}
/*
OptionsGroup("Data") {
OptionsButton(
title = "Export save data",
onClick = { onExportSaveData(context) }
)
}
*/
Text(
stringResource(R.string.preference_launcher_version, BuildConfig.VERSION_NAME),
style = Typography.labelSmall,
modifier = Modifier.padding(horizontal = 16.dp, vertical = 4.dp)
)
}
}
)
+2 -1
View File
@@ -74,7 +74,8 @@
<string name="preference_release_channel_name">Use nightly release channel</string>
<string name="preference_check_for_updates_button">Check for updates</string>
<string name="preference_check_for_updates_description">Current version: %1$s</string>
<string name="preference_check_for_updates_description">Current loader version: %1$s</string>
<string name="preference_launcher_version">Geode Launcher v%1$s</string>
<string name="preference_check_for_updates_failed">Update failed. See logs for more details.</string>
<string name="preference_check_for_updates_none_found">No updates found.</string>
<string name="preference_check_for_updates_success">Geode has been updated!</string>