diff options
Diffstat (limited to 'app/src/production')
-rw-r--r-- | app/src/production/java/se/leap/bitmaskclient/providersetup/ProviderApiManager.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/production/java/se/leap/bitmaskclient/providersetup/ProviderApiManager.java b/app/src/production/java/se/leap/bitmaskclient/providersetup/ProviderApiManager.java index 3067c1bf..6ca3e949 100644 --- a/app/src/production/java/se/leap/bitmaskclient/providersetup/ProviderApiManager.java +++ b/app/src/production/java/se/leap/bitmaskclient/providersetup/ProviderApiManager.java @@ -330,7 +330,7 @@ public class ProviderApiManager extends ProviderApiManagerBase { if (tries == 0 && responseString != null && responseString.contains(ERRORS) && - PreferenceHelper.useTor(preferences) && + PreferenceHelper.getUseBridges(preferences) && EipStatus.getInstance().isDisconnected() && (TorStatusObservable.getStatus() == OFF || TorStatusObservable.getStatus() == UNKOWN) && @@ -375,7 +375,7 @@ public class ProviderApiManager extends ProviderApiManagerBase { if (tries == 0 && responseString != null && responseString.contains(ERRORS) && - PreferenceHelper.useTor(preferences) && + PreferenceHelper.getUseBridges(preferences) && EipStatus.getInstance().isDisconnected() && (TorStatusObservable.getStatus() == OFF || TorStatusObservable.getStatus() == UNKOWN) && |