Call this an alpha on the settings screen.
This commit is contained in:
1 parent
ecd5c286dd
commit
6b008d0e01
2 files changed
+6
-2
No files matched your search
@@ -13,8 +13,8 @@ android {
|
|||||||
applicationId = "com.racingapp.pitlog"
|
applicationId = "com.racingapp.pitlog"
|
||||||
minSdk = 26
|
minSdk = 26
|
||||||
targetSdk = 36
|
targetSdk = 36
|
||||||
versionCode = 2
|
versionCode = 3
|
||||||
versionName = "0.002"
|
versionName = "0.003"
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
|
|||||||
@@ -322,6 +322,10 @@ fun SettingsScreen(showCar: Boolean, onBack: () -> Unit, onCarRemoved: () -> Uni
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
SectionLabel("App")
|
SectionLabel("App")
|
||||||
|
Text(
|
||||||
|
"Alpha ${context.packageManager.getPackageInfo(context.packageName, 0).versionName.orEmpty()}",
|
||||||
|
color = MaterialTheme.colorScheme.onSurfaceVariant,
|
||||||
|
)
|
||||||
OutlinedButton(
|
OutlinedButton(
|
||||||
onClick = { viewModel.checkForUpdate(context) },
|
onClick = { viewModel.checkForUpdate(context) },
|
||||||
enabled = !viewModel.updating,
|
enabled = !viewModel.updating,
|
||||||
|
|||||||
Reference in new issue
Block a user