chore: 调整

This commit is contained in:
Junhui Chen 2025-08-06 15:03:46 +08:00
parent 6b35cefbdc
commit 7d59e20f39
3 changed files with 1 additions and 47 deletions

View File

@ -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"
}

View File

@ -299,16 +299,6 @@ export default function TabLayout() {
tabBarStyle: { display: 'none' } // 确保在标签栏中不显示
}}
/>
{/* 对话详情页 */}
<Tabs.Screen
name="chat-details"
options={{
title: 'chat-details',
tabBarButton: () => null, // 隐藏底部标签栏
headerShown: false, // 隐藏导航栏
tabBarStyle: { display: 'none' } // 确保在标签栏中不显示
}}
/>
{/* 隐私协议 */}
<Tabs.Screen
name="privacy-policy"

View File

@ -219,42 +219,6 @@ export default function AskScreen() {
}
}, [sessionId, newSession]);
// useEffect(() => {
// 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) {
// 不再自动关闭键盘,让用户手动控制