diff options
| author | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2021-03-04 15:20:52 +0000 |
|---|---|---|
| committer | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2021-03-04 16:06:43 +0000 |
| commit | 80369d1e5f90090dbdec9ea7698786c77b5db6d9 (patch) | |
| tree | d91d29e2ecdb8ac4d1f4cdce90832fd76939dcd2 /android | |
| parent | f4d181245a56f8ac76c258c1bdca2baf7e8dc25c (diff) | |
| download | mullvadvpn-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')
| -rw-r--r-- | android/src/main/kotlin/net/mullvad/mullvadvpn/ui/widget/AccountLogin.kt | 2 |
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) |
