From da9285647865279c7015380a16a31188bdd9bc82 Mon Sep 17 00:00:00 2001 From: Arnaud Vergnet Date: Mon, 20 Apr 2020 14:42:17 +0200 Subject: [PATCH] Changed planex bar animation --- src/components/Animations/AnimatedBottomBar.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/Animations/AnimatedBottomBar.js b/src/components/Animations/AnimatedBottomBar.js index 6a42487..6f37815 100644 --- a/src/components/Animations/AnimatedBottomBar.js +++ b/src/components/Animations/AnimatedBottomBar.js @@ -59,9 +59,9 @@ class AnimatedBottomBar extends React.Component { onHideChange = (shouldHide: boolean) => { if (this.ref.current != null) { if (shouldHide) - this.ref.current.bounceOutDown(1000); + this.ref.current.fadeOutDown(500); else - this.ref.current.bounceInUp(1000); + this.ref.current.fadeInUp(500); } } @@ -105,7 +105,6 @@ class AnimatedBottomBar extends React.Component { iterationDelay={500} iterationCount="infinite" useNativeDriver - // useNativeDriver={true} style={styles.fab} icon="account-clock" onPress={() => this.props.navigation.navigate('group-select')}