refactor(android): no transition duration to 1ms (#7486)

This commit is contained in:
Manol Donev
2019-07-10 13:57:01 +03:00
committed by GitHub
parent c9a0b71c37
commit 3c1e2a35d9

View File

@@ -787,7 +787,8 @@ function javaObjectArray(...params: java.lang.Object[]) {
function createDummyZeroDurationAnimator(): android.animation.Animator {
const animator = android.animation.ValueAnimator.ofObject(intEvaluator(), javaObjectArray(java.lang.Integer.valueOf(0), java.lang.Integer.valueOf(1)));
animator.setDuration(0);
// TODO: investigate why this is necessary for 3 levels of nested frames
animator.setDuration(1);
return animator;
}