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 {
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() }