fix(android): crash with slide transition

This commit is contained in:
Martin Guillon
2021-03-31 13:10:54 +02:00
parent 93f5a91b1a
commit aae9273aa2

View File

@ -112,8 +112,9 @@ export class SlideTransition extends Transition {
animator.setDuration(duration); animator.setDuration(duration);
} }
animator.setInterpolator(this.getCurve()); animator.setInterpolator(this.getCurve());
const animatorSet = new android.animation.AnimatorSet();
return animator; animatorSet.play(animator);
return animatorSet;
} }
public toString(): string { public toString(): string {