Skip to content

Commit 36f5d1e

Browse files
author
Markus Lindqvist
authored
Merge pull request #234 from aboveyunhai/master
Fix: useNativeDriver cause props undefined.
2 parents c6d37e1 + 8f36254 commit 36f5d1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/AnimatedCircularProgress.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export default class AnimatedCircularProgress extends React.PureComponent {
5252
if (!this.props.tintColorSecondary) {
5353
return this.props.tintColor
5454
}
55-
55+
5656
const tintAnimation = this.state.fillAnimation.interpolate({
5757
inputRange: [0, 100],
5858
outputRange: [this.props.tintColor, this.props.tintColorSecondary]
@@ -81,5 +81,5 @@ AnimatedCircularProgress.defaultProps = {
8181
duration: 500,
8282
easing: Easing.out(Easing.ease),
8383
prefill: 0,
84-
useNativeDriver: true,
84+
useNativeDriver: false,
8585
};

0 commit comments

Comments
 (0)