diff options
author | cyBerta <cyberta@riseup.net> | 2022-12-16 02:24:50 +0100 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2022-12-16 02:24:50 +0100 |
commit | 8afd8d0722a337f06b20b6d58d59dd2bd25802b3 (patch) | |
tree | 6fd14a1bb297e807bf3e5d13a5009ac3ad23310e /app/src/main/java | |
parent | 62d9effae8fe5983056a7b225535ec763f03d87b (diff) |
compare mainURL instead of domain when checking if provider setup finished successfully
Diffstat (limited to 'app/src/main/java')
-rw-r--r-- | app/src/main/java/se/leap/bitmaskclient/providersetup/ProviderApiSetupBroadcastReceiver.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/providersetup/ProviderApiSetupBroadcastReceiver.java b/app/src/main/java/se/leap/bitmaskclient/providersetup/ProviderApiSetupBroadcastReceiver.java index cc6ff149..e6d6f981 100644 --- a/app/src/main/java/se/leap/bitmaskclient/providersetup/ProviderApiSetupBroadcastReceiver.java +++ b/app/src/main/java/se/leap/bitmaskclient/providersetup/ProviderApiSetupBroadcastReceiver.java @@ -62,7 +62,7 @@ public class ProviderApiSetupBroadcastReceiver extends BroadcastReceiver { Provider handledProvider = resultData.getParcelable(Constants.PROVIDER_KEY); if (handledProvider != null && setupInterface.getProvider() != null && - handledProvider.getDomain().equalsIgnoreCase(setupInterface.getProvider().getDomain())) { + handledProvider.getMainUrlString().equalsIgnoreCase(setupInterface.getProvider().getMainUrlString())) { switch (resultCode) { case ProviderAPI.PROVIDER_OK: setupInterface.handleProviderSetUp(handledProvider); |