summaryrefslogtreecommitdiff
path: root/app/src/insecure/java/se/leap
diff options
context:
space:
mode:
authorFup Duck <fupduck@sacknagel.com>2018-01-25 14:08:08 +0100
committerFup Duck <fupduck@sacknagel.com>2018-01-25 14:08:08 +0100
commit1a25b1dea9ab2d7e76cd79e8928d27f855ca9f2a (patch)
treeb9416084669d87acd4bbaf8250819648df855d57 /app/src/insecure/java/se/leap
parentca1390e5f4af3100d962dec252afdfb11e148ea1 (diff)
custom provider for insecure
Diffstat (limited to 'app/src/insecure/java/se/leap')
-rw-r--r--app/src/insecure/java/se/leap/bitmaskclient/ConfigurationWizard.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/src/insecure/java/se/leap/bitmaskclient/ConfigurationWizard.java b/app/src/insecure/java/se/leap/bitmaskclient/ConfigurationWizard.java
index 3e176fc1..6481c9f5 100644
--- a/app/src/insecure/java/se/leap/bitmaskclient/ConfigurationWizard.java
+++ b/app/src/insecure/java/se/leap/bitmaskclient/ConfigurationWizard.java
@@ -75,7 +75,7 @@ public class ConfigurationWizard extends BaseConfigurationWizard {
private void autoSelectProvider(Provider provider, boolean danger_on) {
preferences.edit().putBoolean(ProviderItem.DANGER_ON, danger_on).apply();
- provider = provider;
+ this.provider = provider;
onItemSelectedLogic();
showProgressBar();
}
@@ -117,7 +117,6 @@ public class ConfigurationWizard extends BaseConfigurationWizard {
addAndSelectNewProvider(ProviderAPI.lastProviderMainUrl(), ProviderAPI.lastDangerOn());
} else {
showProgressBar();
- adapter.hideAllBut(adapter.indexOf(provider));
Intent providerAPICommand = new Intent(this, ProviderAPI.class);