diff options
author | cyBerta <cyberta@riseup.net> | 2018-07-09 00:11:47 +0200 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2018-07-09 00:11:47 +0200 |
commit | f875a4d721ccbb283c7d1b13ad761a2c476354c7 (patch) | |
tree | 257e62e959723895c49bc843cbf96aaca16a69a7 | |
parent | eef1c8560c9eceb956717fd000e885d2421080f9 (diff) |
#8886 hide progress screen if adding a new provider failed
-rw-r--r-- | app/src/main/java/se/leap/bitmaskclient/ProviderListBaseActivity.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/ProviderListBaseActivity.java b/app/src/main/java/se/leap/bitmaskclient/ProviderListBaseActivity.java index 0e1ecae9..d3133bec 100644 --- a/app/src/main/java/se/leap/bitmaskclient/ProviderListBaseActivity.java +++ b/app/src/main/java/se/leap/bitmaskclient/ProviderListBaseActivity.java @@ -200,6 +200,8 @@ public abstract class ProviderListBaseActivity extends ConfigWizardBaseActivity String newUrl = data.getStringExtra(AddProviderActivity.EXTRAS_KEY_NEW_URL); this.provider.setMainUrl(newUrl); showAndSelectProvider(newUrl); + } else { + stopSettingUpProvider(); } } } @@ -241,7 +243,6 @@ public abstract class ProviderListBaseActivity extends ConfigWizardBaseActivity } void handleProviderSetupFailed(Bundle resultData) { - reasonToFail = resultData.getString(ERRORS); showDownloadFailedDialog(); } |