Removed log

This commit is contained in:
Arnaud Vergnet 2020-04-16 18:59:55 +02:00
parent 31f7a2e539
commit 645115cb78

View file

@ -33,7 +33,6 @@ export default class AutoHideComponent extends React.Component<Props, State> {
onScroll({nativeEvent}: Object) { onScroll({nativeEvent}: Object) {
const speed = nativeEvent.contentOffset.y < 0 ? 0 : this.lastOffset - nativeEvent.contentOffset.y; const speed = nativeEvent.contentOffset.y < 0 ? 0 : this.lastOffset - nativeEvent.contentOffset.y;
console.log(nativeEvent);
if (speed < -5) { // Go down if (speed < -5) { // Go down
if (!this.isAnimationDownPlaying) { if (!this.isAnimationDownPlaying) {
this.isAnimationDownPlaying = true; this.isAnimationDownPlaying = true;