mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-22 01:15:54 +03:00
Display VersionCode of the app in the settings, because Android system does not display it anymore
This commit is contained in:
parent
23466fb5a4
commit
ee2e575211
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue