diff options
| author | Jonatan Rhodin <jonatan.rhodin@mullvad.net> | 2023-10-26 14:44:03 +0200 |
|---|---|---|
| committer | Jonatan Rhodin <jonatan.rhodin@mullvad.net> | 2023-11-08 08:55:59 +0100 |
| commit | 37353fb8909445192d2cd07bd9868a0186f6cf08 (patch) | |
| tree | 88fcd78a610c0006fe2a35451efefbc99939cb55 /android/service | |
| parent | ec1731174cf0e2ee010979c37be3338aac266357 (diff) | |
| download | mullvadvpn-37353fb8909445192d2cd07bd9868a0186f6cf08.tar.xz mullvadvpn-37353fb8909445192d2cd07bd9868a0186f6cf08.zip | |
Enable the relay list to be filtered by ownership and provider
Diffstat (limited to 'android/service')
| -rw-r--r-- | android/service/src/main/kotlin/net/mullvad/mullvadvpn/service/endpoint/RelayListListener.kt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/android/service/src/main/kotlin/net/mullvad/mullvadvpn/service/endpoint/RelayListListener.kt b/android/service/src/main/kotlin/net/mullvad/mullvadvpn/service/endpoint/RelayListListener.kt index 7a0b3fbe97..2fc1e4115a 100644 --- a/android/service/src/main/kotlin/net/mullvad/mullvadvpn/service/endpoint/RelayListListener.kt +++ b/android/service/src/main/kotlin/net/mullvad/mullvadvpn/service/endpoint/RelayListListener.kt @@ -91,8 +91,7 @@ class RelayListListener(endpoint: ServiceEndpoint) { val location: Constraint<LocationConstraint> = selectedRelayLocation?.let { location -> Constraint.Only(LocationConstraint.Location(location)) - } - ?: currentRelayConstraints.location + } ?: currentRelayConstraints.location val wireguardConstraints: WireguardConstraints = selectedWireguardConstraints ?: currentRelayConstraints.wireguardConstraints |
