fix(rn,welcome) use native driver for opacity animation

This commit is contained in:
Saúl Ibarra Corretgé 2022-01-07 14:22:49 +01:00 committed by Saúl Ibarra Corretgé
parent ab3d2160c9
commit 55e6cc027b
1 changed files with 2 additions and 1 deletions

View File

@ -226,7 +226,8 @@ class WelcomePage extends AbstractWelcomePage<*> {
// $FlowExpectedError
{
duration: 300,
toValue: focused ? 1 : 0
toValue: focused ? 1 : 0,
useNativeDriver: true
})
.start(animationState =>