diff options
| author | Markus Pettersson <markus.pettersson@mullvad.net> | 2023-09-18 11:55:41 +0200 |
|---|---|---|
| committer | David Lönnhager <david.l@mullvad.net> | 2023-10-09 14:40:05 +0200 |
| commit | b66d4bf941cba35375fb6c3ae1665546d0a16d12 (patch) | |
| tree | 2371de7457a5658c5e23a796487460817fcf032d /android/app/src/debug | |
| parent | d767d881e69f7a986272303bda833df5769a9d9b (diff) | |
| download | mullvadvpn-b66d4bf941cba35375fb6c3ae1665546d0a16d12.tar.xz mullvadvpn-b66d4bf941cba35375fb6c3ae1665546d0a16d12.zip | |
Minor code cleanup
- Fix removal of API access methods from daemon settings
When removing an API access method, we now compare the ID (hash) of the
"access method-to-remove" with the access methods stored in the daemon
settings. This is because using the `==`/`!=` operator on two
similiar `AccessMethod`s only differing in the `enabled` field will be
different from hashing the objects and comparing those instead. The hash
does not consider the `enabled` field in its calculation.
Diffstat (limited to 'android/app/src/debug')
0 files changed, 0 insertions, 0 deletions
