diff options
author | Eric Bailey <git@esb.lol> | 2024-01-05 13:53:59 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-05 13:53:59 -0600 |
commit | 56021ccda55e0b30738d4689d3eaa52e8f0c3e96 (patch) | |
tree | 388ff6d003495fd0b19642ad123c6eb6ddbc9a78 /src | |
parent | f65bbe36f5580b847e17758f1cf818a414b6a46a (diff) | |
download | voidsky-56021ccda55e0b30738d4689d3eaa52e8f0c3e96.tar.zst |
Use android mode, fix fallback (#2437)
Diffstat (limited to 'src')
-rw-r--r-- | src/Splash.tsx | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/Splash.tsx b/src/Splash.tsx index 0ddb0520d..4b480b7a4 100644 --- a/src/Splash.tsx +++ b/src/Splash.tsx @@ -140,20 +140,13 @@ export function Splash(props: React.PropsWithChildren<Props>) { {platformApiLevel && platformApiLevel <= 25 ? ( // Use a simple fade on older versions of android (work around a bug) <> - {!isAnimationComplete && ( - <View - style={[ - StyleSheet.absoluteFillObject, - {backgroundColor: 'white'}, - ]} - /> - )} <Animated.View style={[{flex: 1}, appAnimation]}> {props.children} </Animated.View> </> ) : ( <MaskedView + androidRenderingMode="software" style={[StyleSheet.absoluteFillObject]} maskElement={ <Animated.View |