summaryrefslogtreecommitdiff
path: root/app/src/main/java/se
diff options
context:
space:
mode:
authorcyberta <cyberta@riseup.net>2021-06-04 15:54:24 +0000
committercyberta <cyberta@riseup.net>2021-06-04 15:54:24 +0000
commit8da73ad0306b945873fc29df93fb77e2522f8be6 (patch)
treee6dfaef39ba3ddd3481e3ffaaf3cf856ad16b2e4 /app/src/main/java/se
parent5caebb44e7e7e2557ce12bd7dddc4d70a1a99f7a (diff)
parentac6a4d6fdb57b5a68eeb27b1654e5499e9ed56b0 (diff)
Merge branch 'hotfixes' into 'master'
1.0.9 Hotfix Release See merge request leap/bitmask_android!137
Diffstat (limited to 'app/src/main/java/se')
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/eip/EIP.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/eip/EIP.java b/app/src/main/java/se/leap/bitmaskclient/eip/EIP.java
index d632c09e..6919a532 100644
--- a/app/src/main/java/se/leap/bitmaskclient/eip/EIP.java
+++ b/app/src/main/java/se/leap/bitmaskclient/eip/EIP.java
@@ -533,7 +533,7 @@ public final class EIP extends JobIntentService implements Observer {
private @StringRes int getStringResourceForNoMoreGateways() {
- boolean isManualGatewaySelection = PreferenceHelper.getLastConnectedVpnProfile(getApplicationContext()) != null;
+ boolean isManualGatewaySelection = PreferenceHelper.getPreferredCity(getApplicationContext()) != null;
if (isManualGatewaySelection) {
return R.string.warning_no_more_gateways_manual_gw_selection;
} else if (ProviderObservable.getInstance().getCurrentProvider().supportsPluggableTransports()) {