diff --git a/src/components/indicator/index.js b/src/components/indicator/index.js index b2de0a8..0bc6ac7 100644 --- a/src/components/indicator/index.js +++ b/src/components/indicator/index.js @@ -76,9 +76,11 @@ export default class Indicator extends PureComponent { let { hideAnimation } = this.state; let { hideAnimationDuration: duration } = this.props; - Animated - .timing(hideAnimation, { toValue: animating? 1 : 0, duration }) - .start(); + Animated.timing(hideAnimation, { + duration, + toValue: animating? 1 : 0, + useNativeDriver: true, + }).start(); } }