From 491afb595e6e8813e75b4749c0a66f7e55a286a5 Mon Sep 17 00:00:00 2001 From: cyBerta Date: Mon, 31 Jan 2022 16:07:15 +0100 Subject: build and enable snowflake feature --- .../java/se/leap/bitmaskclient/base/fragments/SettingsFragment.java | 2 +- .../main/java/se/leap/bitmaskclient/base/utils/PreferenceHelper.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'app/src') diff --git a/app/src/main/java/se/leap/bitmaskclient/base/fragments/SettingsFragment.java b/app/src/main/java/se/leap/bitmaskclient/base/fragments/SettingsFragment.java index a20d0b73..be2fe4f4 100644 --- a/app/src/main/java/se/leap/bitmaskclient/base/fragments/SettingsFragment.java +++ b/app/src/main/java/se/leap/bitmaskclient/base/fragments/SettingsFragment.java @@ -71,7 +71,7 @@ public class SettingsFragment extends Fragment implements SharedPreferences.OnSh initExcludeAppsEntry(view); initPreferUDPEntry(view); initUseBridgesEntry(view); - //initUseSnowflakeEntry(view); + initUseSnowflakeEntry(view); initFirewallEntry(view); initTetheringEntry(view); setActionBarTitle(this, advanced_settings); diff --git a/app/src/main/java/se/leap/bitmaskclient/base/utils/PreferenceHelper.java b/app/src/main/java/se/leap/bitmaskclient/base/utils/PreferenceHelper.java index 2b381bc4..fe9100cb 100644 --- a/app/src/main/java/se/leap/bitmaskclient/base/utils/PreferenceHelper.java +++ b/app/src/main/java/se/leap/bitmaskclient/base/utils/PreferenceHelper.java @@ -167,7 +167,7 @@ public class PreferenceHelper { } public static Boolean getUseSnowflake(SharedPreferences preferences) { - return preferences.getBoolean(USE_SNOWFLAKE, false); + return preferences.getBoolean(USE_SNOWFLAKE, true); } public static void useSnowflake(Context context, boolean isEnabled) { -- cgit v1.2.3