Skip to content

Commit c25750c

Browse files
authored
fix: remove default bg image (#1446)
1 parent a6a05eb commit c25750c

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

patches/react-native-animated-splash-screen+2.0.5.patch

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
diff --git a/node_modules/react-native-animated-splash-screen/lib/AnimatedSplash.js b/node_modules/react-native-animated-splash-screen/lib/AnimatedSplash.js
2-
index a935e81..28bcb8c 100644
2+
index a935e81..b3a4256 100644
33
--- a/node_modules/react-native-animated-splash-screen/lib/AnimatedSplash.js
44
+++ b/node_modules/react-native-animated-splash-screen/lib/AnimatedSplash.js
55
@@ -1,12 +1,14 @@
@@ -81,10 +81,13 @@ index a935e81..28bcb8c 100644
8181
{this.renderChildren()}
8282
</Animated.View>
8383
{!animationDone && (
84-
<Animated.Image
85-
resizeMode={imageBackgroundResizeMode || "cover"}
86-
source={imageBackgroundSource || require("./background.png")}
84+
- <Animated.Image
85+
- resizeMode={imageBackgroundResizeMode || "cover"}
86+
- source={imageBackgroundSource || require("./background.png")}
8787
- style={_dynamicImageBackground(
88+
+ <Animated.View
89+
+ // resizeMode={imageBackgroundResizeMode || "cover"}
90+
+ // source={imageBackgroundSource || require("./background.png")}
8891
+ style={disableImageBackgroundAnimation ? _staticBackground(
8992
+ 1,
9093
+ backgroundColor
@@ -139,9 +142,8 @@ index a935e81..28bcb8c 100644
139142
-}
140143

141144
export default AnimatedSplash
142-
\ No newline at end of file
143145
diff --git a/node_modules/react-native-animated-splash-screen/lib/AnimatedSplash.style.js b/node_modules/react-native-animated-splash-screen/lib/AnimatedSplash.style.js
144-
index b1d085a..bce6d21 100644
146+
index b1d085a..52a2e6f 100644
145147
--- a/node_modules/react-native-animated-splash-screen/lib/AnimatedSplash.style.js
146148
+++ b/node_modules/react-native-animated-splash-screen/lib/AnimatedSplash.style.js
147149
@@ -2,10 +2,18 @@ import { StyleSheet, Dimensions } from "react-native"

0 commit comments

Comments
 (0)