Specify Stable vs Preview in version

This commit is contained in:
arkon 2020-04-22 21:09:26 -04:00
parent ab97de2763
commit 6d5b6b2ff7

View File

@ -103,9 +103,9 @@ class AboutController : SettingsController() {
preference { preference {
titleRes = R.string.version titleRes = R.string.version
summary = if (BuildConfig.DEBUG) summary = if (BuildConfig.DEBUG)
"r${BuildConfig.COMMIT_COUNT} (${BuildConfig.COMMIT_SHA})" "Preview r${BuildConfig.COMMIT_COUNT} (${BuildConfig.COMMIT_SHA})"
else else
BuildConfig.VERSION_NAME "Stable ${BuildConfig.VERSION_NAME}"
if (isUpdaterEnabled) { if (isUpdaterEnabled) {
onClick { checkVersion() } onClick { checkVersion() }