test
This commit is contained in:
parent
12c3eb0901
commit
ed97527e2b
@ -8,7 +8,6 @@ import { useColorScheme } from '@/hooks/useColorScheme';
|
||||
import { prefetchChats } from '@/lib/prefetch';
|
||||
import { fetchApi } from '@/lib/server-api-util';
|
||||
import { getWebSocketManager, WebSocketStatus } from '@/lib/websocket-util';
|
||||
import { TransitionPresets } from '@react-navigation/bottom-tabs';
|
||||
import * as Notifications from 'expo-notifications';
|
||||
import { Tabs } from 'expo-router';
|
||||
import * as SecureStore from 'expo-secure-store';
|
||||
@ -260,35 +259,35 @@ export default function TabLayout() {
|
||||
{/* ask页面 */}
|
||||
<Tabs.Screen
|
||||
name="ask"
|
||||
options={{
|
||||
title: 'ask',
|
||||
tabBarButton: () => null, // 隐藏底部标签栏
|
||||
headerShown: false, // 隐藏导航栏
|
||||
tabBarStyle: { display: 'none' }, // 确保在标签栏中不显示
|
||||
...TransitionPresets.ShiftTransition,
|
||||
}}
|
||||
// options={{
|
||||
// title: 'ask',
|
||||
// tabBarButton: () => null, // 隐藏底部标签栏
|
||||
// headerShown: false, // 隐藏导航栏
|
||||
// tabBarStyle: { display: 'none' }, // 确保在标签栏中不显示
|
||||
// ...TransitionPresets.ShiftTransition,
|
||||
// }}
|
||||
/>
|
||||
{/* memo list */}
|
||||
<Tabs.Screen
|
||||
name="memo-list"
|
||||
options={{
|
||||
title: 'memo-list',
|
||||
tabBarButton: () => null, // 隐藏底部标签栏
|
||||
headerShown: false, // 隐藏导航栏
|
||||
tabBarStyle: { display: 'none' }, // 确保在标签栏中不显示
|
||||
...TransitionPresets.ShiftTransition,
|
||||
}}
|
||||
// options={{
|
||||
// title: 'memo-list',
|
||||
// tabBarButton: () => null, // 隐藏底部标签栏
|
||||
// headerShown: false, // 隐藏导航栏
|
||||
// tabBarStyle: { display: 'none' }, // 确保在标签栏中不显示
|
||||
// ...TransitionPresets.ShiftTransition,
|
||||
// }}
|
||||
/>
|
||||
{/* owner */}
|
||||
<Tabs.Screen
|
||||
name="owner"
|
||||
options={{
|
||||
title: 'owner',
|
||||
tabBarButton: () => null, // 隐藏底部标签栏
|
||||
headerShown: false, // 隐藏导航栏
|
||||
tabBarStyle: { display: 'none' }, // 确保在标签栏中不显示
|
||||
...TransitionPresets.ShiftTransition,
|
||||
}}
|
||||
// options={{
|
||||
// title: 'owner',
|
||||
// tabBarButton: () => null, // 隐藏底部标签栏
|
||||
// headerShown: false, // 隐藏导航栏
|
||||
// tabBarStyle: { display: 'none' }, // 确保在标签栏中不显示
|
||||
// ...TransitionPresets.ShiftTransition,
|
||||
// }}
|
||||
/>
|
||||
{/* 排行榜 */}
|
||||
<Tabs.Screen
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user