From 961983ca6b4be81e9b9d75e9a89d76528cf97687 Mon Sep 17 00:00:00 2001 From: lovegaoshi <106490582+lovegaoshi@users.noreply.github.com> Date: Thu, 21 Nov 2024 11:59:03 -0800 Subject: [PATCH] fix: turn off tanaka splash for vIP users --- src/App.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index daccaeb4d..be49fbac0 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -56,7 +56,7 @@ export default function App(appProps: NoxComponent.AppProps) { const isSplashReady = useSplash( __DEV__ || appProps.intentData || vip ? 1 : 2500, ); - const [isSplashAnimReady, setIsSplashReady] = React.useState(false); + const [isSplashAnimReady, setIsSplashAnimReady] = React.useState(vip); const isPlayerReady = useSetupPlayer({ ...appProps, vip }); const isLandscape = useIsLandscape(); const PIPMode = useStore(appStore, state => state.pipMode); @@ -81,7 +81,7 @@ export default function App(appProps: NoxComponent.AppProps) { if (!(isPlayerReady && isSplashReady && isSplashAnimReady)) { return ( - + ); }