mirror of https://github.com/M66B/NetGuard.git
Fixed initial toggle manage system applications
This commit is contained in:
parent
4d87d0494b
commit
078b7074ed
|
@ -420,7 +420,7 @@ public class ActivityMain extends AppCompatActivity implements SharedPreferences
|
||||||
}
|
}
|
||||||
|
|
||||||
private void menu_system(SharedPreferences prefs) {
|
private void menu_system(SharedPreferences prefs) {
|
||||||
prefs.edit().putBoolean("manage_system", !prefs.getBoolean("manage_system", true)).apply();
|
prefs.edit().putBoolean("manage_system", !prefs.getBoolean("manage_system", false)).apply();
|
||||||
updateApplicationList();
|
updateApplicationList();
|
||||||
SinkholeService.reload(null, this);
|
SinkholeService.reload(null, this);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue