mirror of
https://github.com/M66B/NetGuard.git
synced 2025-01-01 12:54:07 +00:00
Default no clear on reload
This commit is contained in:
parent
3d87bf7d11
commit
6164771e2b
3 changed files with 3 additions and 3 deletions
|
@ -462,7 +462,7 @@ public class ServiceSinkhole extends VpnService implements SharedPreferences.OnS
|
|||
|
||||
private void reload() {
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(ServiceSinkhole.this);
|
||||
boolean clear = prefs.getBoolean("clear_onreload", true);
|
||||
boolean clear = prefs.getBoolean("clear_onreload", false);
|
||||
|
||||
if (state != State.enforcing) {
|
||||
if (state != State.none) {
|
||||
|
|
|
@ -164,7 +164,7 @@
|
|||
android:summary="@string/summary_filter"
|
||||
android:title="@string/setting_filter"/>
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="true"
|
||||
android:defaultValue="false"
|
||||
android:dependency="filter"
|
||||
android:key="clear_onreload"
|
||||
android:title="@string/setting_clear_onreload"/>
|
||||
|
|
|
@ -164,7 +164,7 @@
|
|||
android:summary="@string/summary_filter"
|
||||
android:title="@string/setting_filter"/>
|
||||
<eu.faircode.netguard.SwitchPreference
|
||||
android:defaultValue="true"
|
||||
android:defaultValue="false"
|
||||
android:dependency="filter"
|
||||
android:key="clear_onreload"
|
||||
android:title="@string/setting_clear_onreload"/>
|
||||
|
|
Loading…
Reference in a new issue