Include commit SHA in dev version info

This commit is contained in:
arkon 2020-02-03 19:15:23 -05:00
parent 7af075633b
commit 59b925a028

View file

@ -99,7 +99,7 @@ class SettingsAboutController : SettingsController() {
preference { preference {
titleRes = R.string.version titleRes = R.string.version
summary = if (BuildConfig.DEBUG) summary = if (BuildConfig.DEBUG)
"r" + BuildConfig.COMMIT_COUNT "r${BuildConfig.COMMIT_COUNT} (${BuildConfig.COMMIT_SHA})"
else else
BuildConfig.VERSION_NAME BuildConfig.VERSION_NAME