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) { // 不再自动关闭键盘,让用户手动控制