about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2024-01-05 13:53:59 -0600
committerGitHub <noreply@github.com>2024-01-05 13:53:59 -0600
commit56021ccda55e0b30738d4689d3eaa52e8f0c3e96 (patch)
tree388ff6d003495fd0b19642ad123c6eb6ddbc9a78
parentf65bbe36f5580b847e17758f1cf818a414b6a46a (diff)
downloadvoidsky-56021ccda55e0b30738d4689d3eaa52e8f0c3e96.tar.zst
Use android mode, fix fallback (#2437)
-rw-r--r--src/Splash.tsx9
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