summaryrefslogtreecommitdiff
path: root/app/src/main/java/se/leap
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/java/se/leap')
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/base/fragments/GatewaySelectionFragment.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/base/fragments/GatewaySelectionFragment.java b/app/src/main/java/se/leap/bitmaskclient/base/fragments/GatewaySelectionFragment.java
index b14a9e44..b7d5831c 100644
--- a/app/src/main/java/se/leap/bitmaskclient/base/fragments/GatewaySelectionFragment.java
+++ b/app/src/main/java/se/leap/bitmaskclient/base/fragments/GatewaySelectionFragment.java
@@ -241,7 +241,7 @@ public class GatewaySelectionFragment extends Fragment implements SharedPreferen
if (selectedLocation == null) {
selectedLocation = location;
selectedLocation.selected = true;
- } else if (selectedLocation.equals(location.name)){
+ } else if (selectedLocation.name.equals(location.name)){
selectedLocation.selected = !selectedLocation.selected;
} else {
selectedLocation.selected = false;