From ee2e5752119bc96dcacb3dd218676e12c3dc4327 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Wed, 7 Aug 2019 11:44:51 +0200 Subject: [PATCH] Display VersionCode of the app in the settings, because Android system does not display it anymore --- .../src/main/java/im/vector/riotx/features/version/Version.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vector/src/main/java/im/vector/riotx/features/version/Version.kt b/vector/src/main/java/im/vector/riotx/features/version/Version.kt index c058dc2680..af916e6d30 100644 --- a/vector/src/main/java/im/vector/riotx/features/version/Version.kt +++ b/vector/src/main/java/im/vector/riotx/features/version/Version.kt @@ -19,7 +19,7 @@ package im.vector.riotx.features.version import im.vector.riotx.BuildConfig fun getVersion(longFormat: Boolean, useBuildNumber: Boolean): String { - var result = BuildConfig.VERSION_NAME + var result = "${BuildConfig.VERSION_NAME} [${BuildConfig.VERSION_CODE}]" var flavor = BuildConfig.SHORT_FLAVOR_DESCRIPTION