Improved attention seeking animation

This commit is contained in:
Arnaud Vergnet 2020-04-17 12:02:04 +02:00
parent 0385e8ad76
commit 172842294c

View file

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