fix: Don't show nightly version format on beta

This commit is contained in:
Ahmad Ansori Palembani 2024-08-01 10:55:37 +07:00
parent a37365401e
commit 99769e4c6e
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6

View file

@ -96,7 +96,7 @@ class AboutController : SettingsLegacyController() {
preference {
key = "pref_version"
titleMRes = MR.strings.version
summary = if (BuildConfig.DEBUG || BuildConfig.BETA) {
summary = if (BuildConfig.DEBUG || BuildConfig.NIGHTLY) {
"r" + BuildConfig.COMMIT_COUNT
} else {
BuildConfig.VERSION_NAME