Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit eb8b01b

Browse files
committed
Update deps
1 parent cd04f34 commit eb8b01b

7 files changed

Lines changed: 1886 additions & 1647 deletions

File tree

‎example/App.js‎

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,23 @@ let App = () => {
1515

1616
let init = async () => {
1717
// You can uncomment this line to add a delay on app startup
18-
// let data = await fakeApiCallWithoutBadNetwork(3000);
18+
// await fakeApiCallWithoutBadNetwork(3000);
1919

2020
await BootSplash.hide();
2121

22-
let useNativeDriver = true;
23-
2422
Animated.stagger(250, [
25-
Animated.spring(translateY.current, { useNativeDriver, toValue: -50 }),
2623
Animated.spring(translateY.current, {
27-
useNativeDriver,
24+
useNativeDriver: true,
25+
toValue: -50,
26+
}),
27+
Animated.spring(translateY.current, {
28+
useNativeDriver: true,
2829
toValue: Dimensions.get("window").height,
2930
}),
3031
]).start();
3132

3233
Animated.timing(opacity.current, {
33-
useNativeDriver,
34+
useNativeDriver: true,
3435
toValue: 0,
3536
duration: 150,
3637
delay: 350,

0 commit comments

Comments
 (0)