forked from geode-sdk/android-launcher
show launcher version in settings
This commit is contained in:
3 files changed
+10
-10
No files matched your search
+2
-1
@@ -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)
|
||||
)
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user