修复了课程表和发帖按钮

This commit is contained in:
2026-03-18 00:25:46 +08:00
parent b50bd9abb3
commit 71b4f8a679
6 changed files with 130 additions and 68 deletions

View File

@@ -63,6 +63,7 @@ export type MainTabParamList = {
export type HomeStackParamList = {
Home: undefined;
Search: undefined;
CreatePost: undefined;
};
export type MessageStackParamList = {
@@ -133,6 +134,15 @@ function HomeStackNavigatorComponent() {
headerShown: false,
}}
/>
<HomeStack.Screen
name="CreatePost"
component={CreatePostScreen}
options={{
title: '发帖',
headerShown: false,
presentation: 'modal',
}}
/>
</HomeStack.Navigator>
);
}