mirror of
https://github.com/oxen-io/session-android.git
synced 2025-02-17 14:28:25 +00:00
Prevent NPE in #7375
This commit is contained in:
parent
3be45f093c
commit
2b651ee323
@ -297,7 +297,8 @@ public class WebRtcAnswerDeclineButton extends LinearLayout implements View.OnTo
|
|||||||
private void resetElements() {
|
private void resetElements() {
|
||||||
animating = false;
|
animating = false;
|
||||||
complete = false;
|
complete = false;
|
||||||
animatorSet.cancel();
|
|
||||||
|
if (animatorSet != null) animatorSet.cancel();
|
||||||
|
|
||||||
swipeUpText.setTranslationY(0);
|
swipeUpText.setTranslationY(0);
|
||||||
fab.setTranslationY(0);
|
fab.setTranslationY(0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user