diff options
author | Norbel AMBANUMBEN <aanorbel@gmail.com> | 2024-11-07 07:48:57 +0100 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2024-11-28 22:53:30 +0100 |
commit | 12526ef8ff49c9492f5b9e22acdfb762ccd4d514 (patch) | |
tree | 4599ab7ae30a6dc2c448effb246773171e8167b9 /app/src | |
parent | 56717309981f3458e7b2cf202e56308ebc7522c4 (diff) |
updated settings
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/main/java/se/leap/bitmaskclient/base/fragments/CensorshipCircumventionFragment.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/base/fragments/CensorshipCircumventionFragment.java b/app/src/main/java/se/leap/bitmaskclient/base/fragments/CensorshipCircumventionFragment.java index 74a9ba4a..5766fb55 100644 --- a/app/src/main/java/se/leap/bitmaskclient/base/fragments/CensorshipCircumventionFragment.java +++ b/app/src/main/java/se/leap/bitmaskclient/base/fragments/CensorshipCircumventionFragment.java @@ -8,6 +8,7 @@ import static se.leap.bitmaskclient.base.utils.PreferenceHelper.hasSnowflakePref import static se.leap.bitmaskclient.base.utils.PreferenceHelper.setUseObfs4; import static se.leap.bitmaskclient.base.utils.PreferenceHelper.setUseObfs4Kcp; import static se.leap.bitmaskclient.base.utils.PreferenceHelper.setUsePortHopping; +import static se.leap.bitmaskclient.base.utils.PreferenceHelper.useBridges; import static se.leap.bitmaskclient.base.utils.PreferenceHelper.useSnowflake; import static se.leap.bitmaskclient.base.utils.ViewHelper.setActionBarSubtitle; @@ -90,6 +91,7 @@ public class CensorshipCircumventionFragment extends Fragment { } binding.discoveryRadioGroup.setOnCheckedChangeListener((group, checkedId) -> { + useBridges(true); if (checkedId == DISCOVERY_NONE) { useSnowflake(false); } else if (checkedId == DISCOVERY_SNOWFLAKE) { @@ -134,6 +136,7 @@ public class CensorshipCircumventionFragment extends Fragment { } binding.tunnelingRadioGroup.setOnCheckedChangeListener((group, checkedId) -> { + useBridges(true); if (checkedId == TUNNELING_NONE) { setUseObfs4Kcp(false); setUseObfs4(false); @@ -156,6 +159,7 @@ public class CensorshipCircumventionFragment extends Fragment { if (!buttonView.isPressed()) { return; } + useBridges(true); setUsePortHopping(isChecked); tryReconnectVpn(); }); |