mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +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.setInterpolator(this.getCurve());
|
||||
|
||||
return animator;
|
||||
const animatorSet = new android.animation.AnimatorSet();
|
||||
animatorSet.play(animator);
|
||||
return animatorSet;
|
||||
}
|
||||
|
||||
public toString(): string {
|
||||
|
||||
Reference in New Issue
Block a user