|
@@ -578,7 +578,8 @@ class MainActivity : BaseActivity<MainViewModel, ActivityMainBinding>(),Download
|
578
|
578
|
updateMcApp()
|
579
|
579
|
getLocation()
|
580
|
580
|
val appVersionCode = SystemUtil.getAppVersionCode(this, packageName)
|
581
|
|
- mBinding.versionTv.text="v${appVersionCode}"
|
|
581
|
+ val appVersionName =SystemUtil.getAppVersionName(this,packageName)
|
|
582
|
+ mBinding.versionTv.text="版本 v${appVersionName} (Build ${appVersionCode})"
|
582
|
583
|
}
|
583
|
584
|
|
584
|
585
|
private fun updateAllStrategy() {
|