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
+8 -8

No files matched your search

+1
View File
@@ -56,6 +56,7 @@ android {
} }
buildFeatures { buildFeatures {
compose true compose true
buildConfig true
} }
composeOptions { composeOptions {
kotlinCompilerExtensionVersion compose_compiler kotlinCompilerExtensionVersion compose_compiler
@@ -364,15 +364,13 @@ fun SettingsScreen(
UpdateIndicator(snackbarHostState, updateStatus) UpdateIndicator(snackbarHostState, updateStatus)
} }
} }
/*
OptionsGroup("Data") { Text(
OptionsButton( stringResource(R.string.preference_launcher_version, BuildConfig.VERSION_NAME),
title = "Export save data", style = Typography.labelSmall,
onClick = { onExportSaveData(context) } 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_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_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_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_none_found">No updates found.</string>
<string name="preference_check_for_updates_success">Geode has been updated!</string> <string name="preference_check_for_updates_success">Geode has been updated!</string>