This commit is contained in:
2026-01-13 15:58:04 +08:00
parent 45d5debead
commit 257f1cae69
11 changed files with 1079 additions and 23 deletions

View File

@@ -44,6 +44,9 @@ import { MarketHot, SectorDetail, EventCalendar, StockDetail, TodayStats } from
// 认证页面
import { LoginScreen } from "../src/screens/Auth";
// 推送通知处理
import PushNotificationHandler from "../src/components/PushNotificationHandler";
const { width } = Dimensions.get("screen");
const Stack = createStackNavigator();
@@ -643,28 +646,30 @@ function AppStack(props) {
export default function OnboardingStack(props) {
return (
<Stack.Navigator
screenOptions={{
mode: "card",
headerShown: false,
}}
>
<Stack.Screen
name="Onboarding"
component={Pro}
option={{
headerTransparent: true,
}}
/>
<Stack.Screen name="App" component={AppStack} />
<Stack.Screen
name="Login"
component={LoginScreen}
options={{
presentation: "modal",
<PushNotificationHandler>
<Stack.Navigator
screenOptions={{
mode: "card",
headerShown: false,
}}
/>
</Stack.Navigator>
>
<Stack.Screen
name="Onboarding"
component={Pro}
option={{
headerTransparent: true,
}}
/>
<Stack.Screen name="App" component={AppStack} />
<Stack.Screen
name="Login"
component={LoginScreen}
options={{
presentation: "modal",
headerShown: false,
}}
/>
</Stack.Navigator>
</PushNotificationHandler>
);
}