Fix crash on app start
Used animated from react native instead of react native reanimated in the tab bar
这个提交包含在:
父节点
1be913c5aa
当前提交
05f769fe79
共有 1 个文件被更改,包括 2 次插入 和 2 次删除
|
@ -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={{
|
||||
|
|
正在加载…
在新工单中引用