Skip to content

Commit

Permalink
fix: turn off tanaka splash for vIP users
Browse files Browse the repository at this point in the history
  • Loading branch information
lovegaoshi committed Nov 21, 2024
1 parent d2255bc commit 961983c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -81,7 +81,7 @@ export default function App(appProps: NoxComponent.AppProps) {
if (!(isPlayerReady && isSplashReady && isSplashAnimReady)) {
return (
<SafeAreaView style={styles.screenContainer}>
<AppOpenSplash setIsSplashReady={setIsSplashReady} />
<AppOpenSplash setIsSplashReady={setIsSplashAnimReady} />
</SafeAreaView>
);
}
Expand Down

0 comments on commit 961983c

Please sign in to comment.