From 05f769fe7954b339cb301ee4f74a1fa816929c6a Mon Sep 17 00:00:00 2001 From: Arnaud Vergnet Date: Thu, 6 Aug 2020 13:46:48 +0200 Subject: [PATCH] Fix crash on app start Used animated from react native instead of react native reanimated in the tab bar --- src/components/Tabbar/CustomTabBar.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Tabbar/CustomTabBar.js b/src/components/Tabbar/CustomTabBar.js index 4c3217f..36e918f 100644 --- a/src/components/Tabbar/CustomTabBar.js +++ b/src/components/Tabbar/CustomTabBar.js @@ -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 { const {props, state} = this; props.navigation.addListener('state', this.onRouteChange); const icons = this.getIcons(); - // $FlowFixMe return ( + // $FlowFixMe