Browse Source

Changed planex bar animation

Arnaud Vergnet 4 years ago
parent
commit
da92856478
1 changed files with 2 additions and 3 deletions
  1. 2
    3
      src/components/Animations/AnimatedBottomBar.js

+ 2
- 3
src/components/Animations/AnimatedBottomBar.js View File

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

Loading…
Cancel
Save