Commit 862058fd authored by topjohnwu's avatar topjohnwu

Bump version

parent 69e5bcd5
......@@ -9,8 +9,8 @@ android {
applicationId "com.topjohnwu.magisk"
minSdkVersion 21
targetSdkVersion 25
versionCode 31
versionName "4.3.3"
versionCode 40
versionName "5.0.0"
ndk {
moduleName 'zipadjust'
abiFilters 'x86', 'armeabi-v7a'
......
......@@ -124,7 +124,7 @@ public class MainActivity extends Activity
public void checkHideSection() {
Menu menu = navigationView.getMenu();
menu.findItem(R.id.magiskhide).setVisible(
Shell.rootAccess() && getApplicationContext().magiskVersionCode >= 130
Shell.rootAccess() && getApplicationContext().magiskVersionCode >= 1300
&& prefs.getBoolean("magiskhide", false));
menu.findItem(R.id.modules).setVisible(
Shell.rootAccess() && getApplicationContext().magiskVersionCode >= 0);
......
......@@ -105,7 +105,7 @@ public class SettingsActivity extends Activity {
if (!magiskManager.isSuClient) {
prefScreen.removePreference(suCategory);
}
if (magiskManager.magiskVersionCode < 130) {
if (magiskManager.magiskVersionCode < 1300) {
prefScreen.removePreference(magiskCategory);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment