Sync manager version with module version

This commit is contained in:
NekoInverter 2021-01-26 16:27:11 +08:00
parent 5c14d36ecf
commit e6b9661465
No known key found for this signature in database
GPG Key ID: 280D6CCCF95715F9
2 changed files with 3 additions and 3 deletions

View File

@ -13,8 +13,8 @@ android {
applicationId "org.meowcat.edxposed.manager"
minSdkVersion androidMinSdkVersion.toInteger()
targetSdkVersion androidTargetSdkVersion.toInteger()
versionCode 458010
versionName "4.5.8.1"
versionCode rootProject.ext.versionCode
versionName rootProject.ext.versionName
}
compileOptions {

View File

@ -101,7 +101,7 @@ public class StatusInstallerFragment extends Fragment {
binding = StatusInstallerBinding.inflate(inflater, container, false);
String installedXposedVersion = Constants.getXposedVersion();
String mAppVer = String.format("v%s (%s)", BuildConfig.VERSION_NAME, BuildConfig.VERSION_CODE);
String mAppVer = String.format("%s (%s)", BuildConfig.VERSION_NAME, BuildConfig.VERSION_CODE);
binding.manager.setText(mAppVer);
if (installedXposedVersion != null) {
binding.api.setText(Constants.getXposedApiVersion() + ".0");