summaryrefslogtreecommitdiffhomepage
path: root/android/src
diff options
context:
space:
mode:
authorJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2021-03-04 15:20:52 +0000
committerJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2021-03-04 16:06:43 +0000
commit80369d1e5f90090dbdec9ea7698786c77b5db6d9 (patch)
treed91d29e2ecdb8ac4d1f4cdce90832fd76939dcd2 /android/src
parentf4d181245a56f8ac76c258c1bdca2baf7e8dc25c (diff)
downloadmullvadvpn-80369d1e5f90090dbdec9ea7698786c77b5db6d9.tar.xz
mullvadvpn-80369d1e5f90090dbdec9ea7698786c77b5db6d9.zip
Replace `Animator.end()` with `Animator.cancel`
Prevents calling the listener with the end animation value.
Diffstat (limited to 'android/src')
-rw-r--r--android/src/main/kotlin/net/mullvad/mullvadvpn/ui/widget/AccountLogin.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/src/main/kotlin/net/mullvad/mullvadvpn/ui/widget/AccountLogin.kt b/android/src/main/kotlin/net/mullvad/mullvadvpn/ui/widget/AccountLogin.kt
index 5d125f7351..4f02715f7e 100644
--- a/android/src/main/kotlin/net/mullvad/mullvadvpn/ui/widget/AccountLogin.kt
+++ b/android/src/main/kotlin/net/mullvad/mullvadvpn/ui/widget/AccountLogin.kt
@@ -212,7 +212,7 @@ class AccountLogin : RelativeLayout {
}
private fun reposition() {
- historyAnimation.end()
+ historyAnimation.cancel()
if (shouldShowAccountHistory) {
updateHeight(expandedHeight)