mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-18 13:51:27 +08:00
fix(android): crash with slide transition
This commit is contained in:
@ -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 {
|
||||||
|
Reference in New Issue
Block a user