From 9e6b4553230ce826191394693bbaa69a95c48611 Mon Sep 17 00:00:00 2001
From: tapframe <85391825+tapframe@users.noreply.github.com>
Date: Sun, 11 Jan 2026 18:38:14 +0530
Subject: [PATCH] temp disable splash
---
src/components/SplashScreen.tsx | 58 +++++++++++++++++++--------------
1 file changed, 33 insertions(+), 25 deletions(-)
diff --git a/src/components/SplashScreen.tsx b/src/components/SplashScreen.tsx
index 6e1950a29..a610f9d3d 100644
--- a/src/components/SplashScreen.tsx
+++ b/src/components/SplashScreen.tsx
@@ -7,34 +7,42 @@ interface SplashScreenProps {
}
const SplashScreen = ({ onFinish }: SplashScreenProps) => {
- // Animation value for opacity
- const fadeAnim = new Animated.Value(1);
-
+ // TEMPORARILY DISABLED
useEffect(() => {
- // Wait for a short period then start fade out animation
- const timer = setTimeout(() => {
- Animated.timing(fadeAnim, {
- toValue: 0,
- duration: 400,
- useNativeDriver: true,
- }).start(() => {
- // Call onFinish when animation completes
- onFinish();
- });
- }, 300); // Show splash for 0.8 seconds
+ // Immediately call onFinish to skip splash screen
+ onFinish();
+ }, [onFinish]);
- return () => clearTimeout(timer);
- }, [fadeAnim, onFinish]);
+ return null;
- return (
-
-
-
- );
+ // Animation value for opacity
+ // const fadeAnim = new Animated.Value(1);
+
+ // useEffect(() => {
+ // // Wait for a short period then start fade out animation
+ // const timer = setTimeout(() => {
+ // Animated.timing(fadeAnim, {
+ // toValue: 0,
+ // duration: 400,
+ // useNativeDriver: true,
+ // }).start(() => {
+ // // Call onFinish when animation completes
+ // onFinish();
+ // });
+ // }, 300); // Show splash for 0.8 seconds
+
+ // return () => clearTimeout(timer);
+ // }, [fadeAnim, onFinish]);
+
+ // return (
+ //
+ //
+ //
+ // );
};
const styles = StyleSheet.create({