diff options
| author | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2021-03-10 21:52:05 +0000 |
|---|---|---|
| committer | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2021-03-10 21:52:05 +0000 |
| commit | 23c9943c123d6fefb870ae647aea790f96f293d2 (patch) | |
| tree | 10db3bafcdbac4eb458f609242ed0bd192a99cf9 /android | |
| parent | f2fb0c961bb069c79e6f0521d5384283161e886e (diff) | |
| download | mullvadvpn-23c9943c123d6fefb870ae647aea790f96f293d2.tar.xz mullvadvpn-23c9943c123d6fefb870ae647aea790f96f293d2.zip | |
Clear editing position when disabling custom DNS
Diffstat (limited to 'android')
| -rw-r--r-- | android/src/main/kotlin/net/mullvad/mullvadvpn/ui/customdns/CustomDnsAdapter.kt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/android/src/main/kotlin/net/mullvad/mullvadvpn/ui/customdns/CustomDnsAdapter.kt b/android/src/main/kotlin/net/mullvad/mullvadvpn/ui/customdns/CustomDnsAdapter.kt index 709fc2d1b6..0bb528c623 100644 --- a/android/src/main/kotlin/net/mullvad/mullvadvpn/ui/customdns/CustomDnsAdapter.kt +++ b/android/src/main/kotlin/net/mullvad/mullvadvpn/ui/customdns/CustomDnsAdapter.kt @@ -47,6 +47,7 @@ class CustomDnsAdapter(val customDns: CustomDns) : Adapter<CustomDnsItemHolder>( } } else { notifyItemRangeRemoved(0, cachedCustomDnsServers.size + 1) + editingPosition = null } } } |
