Update settings

This commit is contained in:
topjohnwu
2017-01-28 22:02:33 +08:00
parent cd4dfc9861
commit 9bc0b7f183
6 changed files with 46 additions and 15 deletions

View File

@@ -69,6 +69,7 @@ public class Global {
initSuConfigs(context);
// Initialize prefs
prefs.edit()
.putBoolean("dark_theme", Configs.isDarkTheme)
.putBoolean("magiskhide", Utils.itemExist(false, "/magisk/.core/magiskhide/enable"))
.putBoolean("busybox", Utils.commandExists("busybox"))
.putBoolean("hosts", Utils.itemExist(false, "/magisk/.core/hosts"))