mirror of
https://github.com/mihonapp/mihon.git
synced 2024-12-24 01:48:24 +01:00
Specify Stable vs Preview in version
This commit is contained in:
parent
ab97de2763
commit
6d5b6b2ff7
@ -103,9 +103,9 @@ class AboutController : SettingsController() {
|
||||
preference {
|
||||
titleRes = R.string.version
|
||||
summary = if (BuildConfig.DEBUG)
|
||||
"r${BuildConfig.COMMIT_COUNT} (${BuildConfig.COMMIT_SHA})"
|
||||
"Preview r${BuildConfig.COMMIT_COUNT} (${BuildConfig.COMMIT_SHA})"
|
||||
else
|
||||
BuildConfig.VERSION_NAME
|
||||
"Stable ${BuildConfig.VERSION_NAME}"
|
||||
|
||||
if (isUpdaterEnabled) {
|
||||
onClick { checkVersion() }
|
||||
|
Loading…
Reference in New Issue
Block a user