Browse Source

Improved attention seeking animation

Arnaud Vergnet 4 years ago
parent
commit
172842294c
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      src/components/Custom/AnimatedBottomBar.js

+ 3
- 1
src/components/Custom/AnimatedBottomBar.js View File

@@ -80,9 +80,11 @@ class AnimatedBottomBar extends React.Component<Props, State> {
80 80
                 <Surface style={styles.surface}>
81 81
                     <View style={styles.fabContainer}>
82 82
                         <AnimatedFAB
83
-                            animation={this.props.seekAttention ? "jello" : undefined}
83
+                            animation={this.props.seekAttention ? "bounce" : undefined}
84 84
                             easing="ease-out"
85
+                            iterationDelay={500}
85 86
                             iterationCount="infinite"
87
+                            useNativeDriver
86 88
                             // useNativeDriver={true}
87 89
                             style={styles.fab}
88 90
                             icon="account-clock"

Loading…
Cancel
Save