Skip to content

Commit

Permalink
Fix warning in swipe to delete example
Browse files Browse the repository at this point in the history
  • Loading branch information
jemise111 committed Jul 4, 2020
1 parent 4a70175 commit 0171de1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions SwipeListExample/examples/swipe_to_delete.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export default function SwipeToDelete() {
Animated.timing(rowTranslateAnimatedValues[key], {
toValue: 0,
duration: 200,
useNativeDriver: false,
}).start(() => {
const newData = [...listData];
const prevIndex = listData.findIndex(item => item.key === key);
Expand Down

0 comments on commit 0171de1

Please sign in to comment.