Commit 33215424 authored by topjohnwu's avatar topjohnwu

Small tweaks

parent 6094bc92
...@@ -21,7 +21,7 @@ public class Config { ...@@ -21,7 +21,7 @@ public class Config {
// Current status // Current status
public static String magiskVersionString; public static String magiskVersionString;
public static int magiskVersionCode = -1; public static int magiskVersionCode = -1;
public static boolean magiskHide; private static boolean magiskHide;
// Update Info // Update Info
public static String remoteMagiskVersionString; public static String remoteMagiskVersionString;
...@@ -203,6 +203,8 @@ public class Config { ...@@ -203,6 +203,8 @@ public class Config {
e.printStackTrace(); e.printStackTrace();
} }
editor.remove(Key.ETAG_KEY); editor.remove(Key.ETAG_KEY);
editor.apply();
editor = pref.edit();
config.delete(); config.delete();
} }
......
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