Changed planex bar animation

This commit is contained in:
Arnaud Vergnet 2020-04-20 14:42:17 +02:00
parent 774f28a32e
commit da92856478

View file

@ -59,9 +59,9 @@ class AnimatedBottomBar extends React.Component<Props, State> {
onHideChange = (shouldHide: boolean) => { onHideChange = (shouldHide: boolean) => {
if (this.ref.current != null) { if (this.ref.current != null) {
if (shouldHide) if (shouldHide)
this.ref.current.bounceOutDown(1000); this.ref.current.fadeOutDown(500);
else else
this.ref.current.bounceInUp(1000); this.ref.current.fadeInUp(500);
} }
} }
@ -105,7 +105,6 @@ class AnimatedBottomBar extends React.Component<Props, State> {
iterationDelay={500} iterationDelay={500}
iterationCount="infinite" iterationCount="infinite"
useNativeDriver useNativeDriver
// useNativeDriver={true}
style={styles.fab} style={styles.fab}
icon="account-clock" icon="account-clock"
onPress={() => this.props.navigation.navigate('group-select')} onPress={() => this.props.navigation.navigate('group-select')}