summaryrefslogtreecommitdiff
path: root/app/src/production/java
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2018-02-21 11:12:21 +0100
committercyBerta <cyberta@riseup.net>2018-02-21 11:12:21 +0100
commite4f4521f9d50aad80a7c689eb949e75d1b521bac (patch)
tree3c55913178a35af75e2dcd7e447aeae5d3cc587e /app/src/production/java
parentd6db9433d9f9e0e2f1dc21cd3de7d88d1e473861 (diff)
#8858 add custom providers to the providers list on successful setup
Diffstat (limited to 'app/src/production/java')
-rw-r--r--app/src/production/java/se/leap/bitmaskclient/ProviderListActivity.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/src/production/java/se/leap/bitmaskclient/ProviderListActivity.java b/app/src/production/java/se/leap/bitmaskclient/ProviderListActivity.java
index b6e67331..cf1d1aa6 100644
--- a/app/src/production/java/se/leap/bitmaskclient/ProviderListActivity.java
+++ b/app/src/production/java/se/leap/bitmaskclient/ProviderListActivity.java
@@ -39,11 +39,10 @@ public class ProviderListActivity extends ProviderListBaseActivity {
setUpProvider();
}
+ @Override
public void showAndSelectProvider(String provider_main_url) {
try {
provider = new Provider(new URL((provider_main_url)));
- adapter.add(provider);
- adapter.saveProviders();
autoSelectProvider(provider);
} catch (MalformedURLException e) {
e.printStackTrace();