Fix crash on app start

Used animated from react native instead of react native reanimated in the tab bar
这个提交包含在:
Arnaud Vergnet 2020-08-06 13:46:48 +02:00
父节点 1be913c5aa
当前提交 05f769fe79

查看文件

@ -1,8 +1,8 @@
// @flow
import * as React from 'react';
import {Animated} from 'react-native';
import {withTheme} from 'react-native-paper';
import Animated from 'react-native-reanimated';
import {Collapsible} from 'react-navigation-collapsible';
import {StackNavigationProp} from '@react-navigation/stack';
import TabIcon from './TabIcon';
@ -194,8 +194,8 @@ class CustomTabBar extends React.Component<PropsType, StateType> {
const {props, state} = this;
props.navigation.addListener('state', this.onRouteChange);
const icons = this.getIcons();
// $FlowFixMe
return (
// $FlowFixMe
<Animated.View
useNativeDriver
style={{