Skip to content

Commit

Permalink
added subtasks back in appstack
Browse files Browse the repository at this point in the history
  • Loading branch information
edwinliiiii committed Dec 8, 2023
1 parent 6449f1f commit 66fda81
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions client-new/src/navigation/AppStack.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import HomeScreenGuides from '@/components/homescreen components/HomeScreenGuides';
import FormComponent from '@/components/task/Actions';
import GuideCollectionScreen from '@/screens/app/GuideCollectionScreen';
import GuideScreen from '@/screens/app/GuideScreen';
import SubTaskScreen from '@/screens/app/tasks/SubTaskScreen';
import SubTaskSummaryScreen from '@/screens/app/tasks/SubTaskSummaryScreen';
import TaskScreen from '@/screens/app/tasks/TaskScreen';
import { createNativeStackNavigator } from '@react-navigation/native-stack';

Expand All @@ -18,18 +21,15 @@ export default function AppStack() {
headerShown: false
}}
>
<Stack.Group screenOptions={{ presentation: 'modal' }}>
<Stack.Screen name="Home Screen" component={HomeScreen} />
<Stack.Screen name="Home Screen" component={HomeScreen} />
<Stack.Group>
<Stack.Screen name="Task Screen" component={TaskScreen} />
<Stack.Screen
name="Task Screen"
component={TaskScreen}
options={{
gestureEnabled: true,
gestureDirection: 'vertical'
}}
name="SubTask Summary Screen"
component={SubTaskSummaryScreen}
/>
<Stack.Screen name="Subtask Screen" component={SubTaskScreen} />
</Stack.Group>

<Stack.Group screenOptions={{ presentation: 'modal' }}>
<Stack.Screen
name="Guide Collection Screen"
Expand Down

0 comments on commit 66fda81

Please sign in to comment.