Skip to content

Commit

Permalink
Merge pull request #3 from Task-Terriers/remove/TAS-41@remove-request…
Browse files Browse the repository at this point in the history
…s-tab

[TAS-41]: remove requests tab
  • Loading branch information
yjshin229 authored Nov 17, 2023
2 parents 04fabd4 + ff8194c commit 53b53aa
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion TaskTerriers/navigation/BottomTabNavigator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const BottomTabs = () => {
headerShown: false,
}
}}>
<Tab.Screen name="Requests" component={RequestsTab} />
{/* <Tab.Screen name="Requests" component={RequestsTab} /> */}
<Tab.Screen name="Services" component={ServicesTab} />
<Tab.Screen name="Messages" component={MessagesTab} />
<Tab.Screen name="Settings" component={SettingsTab} />
Expand Down
3 changes: 3 additions & 0 deletions TaskTerriers/src/Screens/MessagesTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import TaskTerriersSafeAreaView from '../Views/TaskTerriersSafeAreaView'
import { BUColor } from '../Libs/Colors'
import { Col } from '../StyleToProps/Col'
import { Span } from '../StyleToProps'
import NavigationBar from '../components/NavigationBar'
import { IconNames } from '../components/types'

interface Props {}

Expand Down Expand Up @@ -53,6 +55,7 @@ const MessagesTab = ({ navigation, route }) => {

return (
<TaskTerriersSafeAreaView style={{ flex: 1, backgroundColor: 'white' }}>
<NavigationBar iconName={IconNames['Message']} title={route.name} />
<Col bgAlertMinor>
<Span> this is the MessagesTab</Span>
</Col>
Expand Down
3 changes: 3 additions & 0 deletions TaskTerriers/src/Screens/ServicesTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import { SafeAreaView, View, StyleSheet, Text, TouchableOpacity } from 'react-na
import TaskTerriersSafeAreaView from '../Views/TaskTerriersSafeAreaView'
import { Col } from '../StyleToProps/Col'
import { Span } from '../StyleToProps'
import NavigationBar from '../components/NavigationBar'
import { IconNames } from '../components/types'

interface Props {}

Expand Down Expand Up @@ -52,6 +54,7 @@ const ServicesTab = ({ navigation, route }) => {

return (
<TaskTerriersSafeAreaView style={{ flex: 1, backgroundColor: 'white' }}>
<NavigationBar iconName={IconNames['Service']} title={route.name} />
<Col bgAlertMinor>
<Span> this is the ServicesTab</Span>
</Col>
Expand Down
3 changes: 3 additions & 0 deletions TaskTerriers/src/Screens/SettingsTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import { SafeAreaView, View, StyleSheet, Text, TouchableOpacity } from 'react-na
import TaskTerriersSafeAreaView from '../Views/TaskTerriersSafeAreaView'
import { Col } from '../StyleToProps/Col'
import { Span } from '../StyleToProps'
import NavigationBar from '../components/NavigationBar'
import { IconNames } from '../components/types'

interface Props {}

Expand Down Expand Up @@ -52,6 +54,7 @@ const SettingsTab = ({ navigation, route }) => {

return (
<TaskTerriersSafeAreaView style={{ flex: 1, backgroundColor: 'white' }}>
<NavigationBar iconName={IconNames['Setting']} title={route.name} />
<Col bgAlertMinor>
<Span> this is the SettingsTab</Span>
</Col>
Expand Down
2 changes: 1 addition & 1 deletion TaskTerriers/src/components/types.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const Size = {
XXX_LARGE: 'xxxlarge',
} as const

const IconNames = {
export const IconNames = {
RequestOutline: 'help-buoy-outline',
Request: 'help-buoy',
SeviceOutline: 'construct-outline',
Expand Down

0 comments on commit 53b53aa

Please sign in to comment.