mirror of https://git.lenooby09.tech/LeNooby09/social-app.git
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix dark butterfly on android splash (#2993)

authored by

Eric Bailey and committed by
GitHub
0311288d 9b11fc72

+5 -6
+5 -6
src/Splash.tsx
··· 181 181 182 182 const logoAnimations = 183 183 reduceMotion === true ? reducedLogoAnimation : logoAnimation 184 + // special off-spec color for dark mode 185 + const logoBg = isDarkMode ? '#0F1824' : '#fff' 184 186 185 187 return ( 186 188 <View style={{flex: 1}} onLayout={onLayout}> ··· 232 234 }, 233 235 ]}> 234 236 <AnimatedLogo 235 - fill="#fff" 237 + fill={logoBg} 236 238 style={[{opacity: 0}, logoAnimations]} 237 239 /> 238 240 </Animated.View> ··· 253 255 transform: [{translateY: -(insets.top / 2)}, {scale: 0.1}], // scale from 1000px to 100px 254 256 }, 255 257 ]}> 256 - <AnimatedLogo fill="#fff" style={[logoAnimations]} /> 258 + <AnimatedLogo fill={logoBg} style={[logoAnimations]} /> 257 259 </Animated.View> 258 260 }> 259 261 {!isAnimationComplete && ( ··· 261 263 style={[ 262 264 StyleSheet.absoluteFillObject, 263 265 { 264 - backgroundColor: isDarkMode 265 - ? // special off-spec color for dark mode 266 - '#0F1824' 267 - : '#fff', 266 + backgroundColor: logoBg, 268 267 }, 269 268 ]} 270 269 />