mirror of
https://github.com/vide/matedroid.git
synced 2026-01-20 00:03:17 +08:00
feat: show version number at bottom of Settings screen
This commit is contained in:
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [0.5.1] - 2025-12-22
|
||||
|
||||
### Added
|
||||
- **Version Display**: Show app version at bottom of Settings screen
|
||||
|
||||
## [0.5.0] - 2025-12-22
|
||||
|
||||
### Added
|
||||
|
||||
@@ -14,8 +14,8 @@ android {
|
||||
applicationId = "com.matedroid"
|
||||
minSdk = 26
|
||||
targetSdk = 35
|
||||
versionCode = 5
|
||||
versionName = "0.5.0"
|
||||
versionCode = 6
|
||||
versionName = "0.5.1"
|
||||
|
||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
|
||||
@@ -438,6 +438,16 @@ private fun SettingsContent(
|
||||
Text("Preview Color Palettes (Debug)")
|
||||
}
|
||||
}
|
||||
|
||||
// Version number at bottom
|
||||
Spacer(modifier = Modifier.height(48.dp))
|
||||
Text(
|
||||
text = "v${com.matedroid.BuildConfig.VERSION_NAME}",
|
||||
style = MaterialTheme.typography.bodySmall,
|
||||
color = MaterialTheme.colorScheme.onSurfaceVariant.copy(alpha = 0.6f),
|
||||
modifier = Modifier.align(Alignment.CenterHorizontally)
|
||||
)
|
||||
Spacer(modifier = Modifier.height(16.dp))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user