forked from vergnet/application-amicale
Changed planex bar animation
This commit is contained in:
parent
774f28a32e
commit
da92856478
1 changed files with 2 additions and 3 deletions
|
@ -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')}
|
||||||
|
|
Loading…
Reference in a new issue