|
@@ -5,22 +5,16 @@ import { createStackNavigator } from '@react-navigation/stack';
|
|
|
|
|
|
|
|
import Clock from '../clock/Clock'
|
|
import Clock from '../clock/Clock'
|
|
|
import Metric from '../metric/Metric'
|
|
import Metric from '../metric/Metric'
|
|
|
-import Workout from '../workout/Workout'
|
|
|
|
|
|
|
+
|
|
|
import Profile from '../account/Profile'
|
|
import Profile from '../account/Profile'
|
|
|
import ChooseAuth from '@/_account/pages/ChooseAuth'
|
|
import ChooseAuth from '@/_account/pages/ChooseAuth'
|
|
|
import Auth from '@/_account/pages/Auth'
|
|
import Auth from '@/_account/pages/Auth'
|
|
|
import Setting from '@/_account/pages/Setting'
|
|
import Setting from '@/_account/pages/Setting'
|
|
|
-import SetSchedule from '@/pages/clock/SetSchedule'
|
|
|
|
|
-import ChooseScenario from '@/pages/clock/ChooseScenario'
|
|
|
|
|
-import Suggest from '../clock/Suggest';
|
|
|
|
|
-import SetGoal from '../clock/SetGoal';
|
|
|
|
|
|
|
+
|
|
|
import RecordsHistory from '@/pages/common/RecordsHistory'
|
|
import RecordsHistory from '@/pages/common/RecordsHistory'
|
|
|
import ProfileSetting from '@/_account/pages/ProfileSetting'
|
|
import ProfileSetting from '@/_account/pages/ProfileSetting'
|
|
|
import EditPage from '@/_account/pages/EditPage'
|
|
import EditPage from '@/_account/pages/EditPage'
|
|
|
-import Food from '@/pages/food/Food'
|
|
|
|
|
-import Working from '@/pages/workout/Working'
|
|
|
|
|
-import WorkoutDetail from '@/pages/workout/WorkoutDetail'
|
|
|
|
|
-import StreakDetail from '@/pages/clock/StreakDetail';
|
|
|
|
|
|
|
+
|
|
|
import H5 from '@/pages/common/H5';
|
|
import H5 from '@/pages/common/H5';
|
|
|
import NotificationSetting from '@/pages/notification/setting';
|
|
import NotificationSetting from '@/pages/notification/setting';
|
|
|
import { Image, PixelRatio, StatusBar } from 'react-native';
|
|
import { Image, PixelRatio, StatusBar } from 'react-native';
|
|
@@ -264,9 +258,7 @@ export default function RNMain() {
|
|
|
<Stack.Screen name='Auth' component={Auth} options={{
|
|
<Stack.Screen name='Auth' component={Auth} options={{
|
|
|
headerBackTitle: ' '
|
|
headerBackTitle: ' '
|
|
|
}} />
|
|
}} />
|
|
|
- <Stack.Screen name='Food' component={Food} options={{
|
|
|
|
|
- headerBackTitle: ' '
|
|
|
|
|
- }} />
|
|
|
|
|
|
|
+
|
|
|
<Stack.Screen name='Clock' component={Clock} options={{
|
|
<Stack.Screen name='Clock' component={Clock} options={{
|
|
|
headerBackTitle: ' '
|
|
headerBackTitle: ' '
|
|
|
}} />
|
|
}} />
|
|
@@ -276,45 +268,23 @@ export default function RNMain() {
|
|
|
<Stack.Screen name='H5' component={H5} options={{
|
|
<Stack.Screen name='H5' component={H5} options={{
|
|
|
headerBackTitle: ' '
|
|
headerBackTitle: ' '
|
|
|
}} />
|
|
}} />
|
|
|
- <Stack.Screen name='ChooseScenario' component={ChooseScenario} options={{
|
|
|
|
|
- headerBackTitle: ' '
|
|
|
|
|
- }} />
|
|
|
|
|
|
|
+
|
|
|
<Stack.Screen name='RecordsHistory' component={RecordsHistory} options={{
|
|
<Stack.Screen name='RecordsHistory' component={RecordsHistory} options={{
|
|
|
headerBackTitle: ' '
|
|
headerBackTitle: ' '
|
|
|
}} />
|
|
}} />
|
|
|
- <Stack.Screen name='SetSchedule' component={SetSchedule} options={{
|
|
|
|
|
- headerBackTitle: ' '
|
|
|
|
|
- }} />
|
|
|
|
|
|
|
+
|
|
|
<Stack.Screen name='ProfileSetting' component={ProfileSetting} options={{
|
|
<Stack.Screen name='ProfileSetting' component={ProfileSetting} options={{
|
|
|
headerBackTitle: ' '
|
|
headerBackTitle: ' '
|
|
|
}} />
|
|
}} />
|
|
|
<Stack.Screen name='EditPage' component={EditPage} options={{
|
|
<Stack.Screen name='EditPage' component={EditPage} options={{
|
|
|
headerBackTitle: ' '
|
|
headerBackTitle: ' '
|
|
|
}} />
|
|
}} />
|
|
|
- <Stack.Screen name='Working' component={Working} options={{
|
|
|
|
|
- headerBackTitle: ' '
|
|
|
|
|
- }} />
|
|
|
|
|
- <Stack.Screen name='WorkoutDetail' component={WorkoutDetail} options={{
|
|
|
|
|
- headerBackTitle: ' '
|
|
|
|
|
- }} />
|
|
|
|
|
- <Stack.Screen name='StreakDetail' component={StreakDetail} options={{
|
|
|
|
|
- headerBackTitle: ' '
|
|
|
|
|
- }} />
|
|
|
|
|
- <Stack.Screen name='Suggest' component={Suggest} options={{
|
|
|
|
|
- headerBackTitle: ' '
|
|
|
|
|
- }} />
|
|
|
|
|
- <Stack.Screen name='SetGoal' component={SetGoal} options={{
|
|
|
|
|
- headerBackTitle: ' '
|
|
|
|
|
- }} />
|
|
|
|
|
<Stack.Screen name='ProductList' component={ProductList} options={{
|
|
<Stack.Screen name='ProductList' component={ProductList} options={{
|
|
|
headerBackTitle: ' '
|
|
headerBackTitle: ' '
|
|
|
}} />
|
|
}} />
|
|
|
<Stack.Screen name='map' component={map} options={{
|
|
<Stack.Screen name='map' component={map} options={{
|
|
|
headerBackTitle: ' '
|
|
headerBackTitle: ' '
|
|
|
}} />
|
|
}} />
|
|
|
- <Stack.Screen name='Album' component={Album} options={{
|
|
|
|
|
- headerBackTitle: ' '
|
|
|
|
|
- }} />
|
|
|
|
|
<Stack.Screen name='Journal' component={Journal} options={{
|
|
<Stack.Screen name='Journal' component={Journal} options={{
|
|
|
headerBackTitle: ' '
|
|
headerBackTitle: ' '
|
|
|
}} />
|
|
}} />
|