From 7d59e20f396e1389ad55607721a4edc2f9f9066c Mon Sep 17 00:00:00 2001 From: Junhui Chen Date: Wed, 6 Aug 2025 15:03:46 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.json | 2 +- app/(tabs)/_layout.tsx | 10 ---------- app/(tabs)/ask.tsx | 36 ------------------------------------ 3 files changed, 1 insertion(+), 47 deletions(-) diff --git a/app.json b/app.json index bf0246d..4a5491a 100644 --- a/app.json +++ b/app.json @@ -91,7 +91,7 @@ "projectId": "04721dd4-6b15-495a-b9ec-98187c613172" } }, - "runtimeVersion": "1.0.0.2", + "runtimeVersion": "1.0.0.1", "updates": { "url": "https://u.expo.dev/04721dd4-6b15-495a-b9ec-98187c613172" } diff --git a/app/(tabs)/_layout.tsx b/app/(tabs)/_layout.tsx index 5e4c871..aa5b230 100644 --- a/app/(tabs)/_layout.tsx +++ b/app/(tabs)/_layout.tsx @@ -299,16 +299,6 @@ export default function TabLayout() { tabBarStyle: { display: 'none' } // 确保在标签栏中不显示 }} /> - {/* 对话详情页 */} - null, // 隐藏底部标签栏 - headerShown: false, // 隐藏导航栏 - tabBarStyle: { display: 'none' } // 确保在标签栏中不显示 - }} - /> {/* 隐私协议 */} { - // if (isHello) { - // Animated.parallel([ - // Animated.timing(fadeAnim, { - // toValue: 1, - // duration: 300, - // useNativeDriver: true, - // }), - // Animated.timing(fadeAnimChat, { - // toValue: 0, - // duration: 300, - // useNativeDriver: true, - // }) - // ]).start(); - // } else { - // Animated.parallel([ - // Animated.timing(fadeAnim, { - // toValue: 0, - // duration: 300, - // useNativeDriver: true, - // }), - // Animated.timing(fadeAnimChat, { - // toValue: 1, - // duration: 300, - // useNativeDriver: true, - // }) - // ]).start(() => { - // setTimeout(() => { - // if (!isHello) { - // scrollToEnd(false); - // } - // }, 50); - // }); - // } - // }, [isHello, fadeAnim, fadeAnimChat]); - useEffect(() => { if (!isHello) { // 不再自动关闭键盘,让用户手动控制