summaryrefslogtreecommitdiffhomepage
path: root/android/scripts
diff options
context:
space:
mode:
authorMarkus Pettersson <markus.pettersson@mullvad.net>2023-09-18 11:55:41 +0200
committerDavid Lönnhager <david.l@mullvad.net>2023-10-09 14:40:05 +0200
commitb66d4bf941cba35375fb6c3ae1665546d0a16d12 (patch)
tree2371de7457a5658c5e23a796487460817fcf032d /android/scripts
parentd767d881e69f7a986272303bda833df5769a9d9b (diff)
downloadmullvadvpn-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/scripts')
0 files changed, 0 insertions, 0 deletions