From 33215424d8981a323cb7aeeebb7d093ed18eb88a Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Mon, 21 Jan 2019 16:12:05 -0500 Subject: [PATCH] Small tweaks --- core/src/main/java/com/topjohnwu/core/Config.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/com/topjohnwu/core/Config.java b/core/src/main/java/com/topjohnwu/core/Config.java index e9d44c210..c44ca707c 100644 --- a/core/src/main/java/com/topjohnwu/core/Config.java +++ b/core/src/main/java/com/topjohnwu/core/Config.java @@ -21,7 +21,7 @@ public class Config { // Current status public static String magiskVersionString; public static int magiskVersionCode = -1; - public static boolean magiskHide; + private static boolean magiskHide; // Update Info public static String remoteMagiskVersionString; @@ -203,6 +203,8 @@ public class Config { e.printStackTrace(); } editor.remove(Key.ETAG_KEY); + editor.apply(); + editor = pref.edit(); config.delete(); }