Skip to content

Commit

Permalink
small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
philipye314 committed Dec 7, 2024
1 parent 2bb85b0 commit c3b3a51
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
1 change: 1 addition & 0 deletions src/navigation/BottomTabNavigator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export default function NavigationBar() {
screenOptions={{
tabBarActiveTintColor: colors.orange,
tabBarInactiveTintColor: colors.grey,
headerShown: false,
}}
>
<Tab.Screen
Expand Down
13 changes: 8 additions & 5 deletions src/screens/SeekHelp/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,20 +102,23 @@ export default function ResourceList() {
<Text style={styles.selectText}>Select Resources Level</Text>
<View style={styles.selectJurisdictionContainer}>
{jurisdiction.map(level => (
<View key={level} style={styles.checkButtonContainer}>
<TouchableOpacity
<TouchableOpacity
key={level}
style={styles.checkButtonContainer}
onPress={() => toggleSelection(level)}
>
<View
style={[
styles.checkButton,
selectedJurisdiction.includes(level)
? styles.selectedCheckButton
: null,
]}
onPress={() => toggleSelection(level)}
>
{selectedJurisdiction.includes(level) && <Check />}
</TouchableOpacity>
</View>
<Text style={styles.buttonText}>{level}</Text>
</View>
</TouchableOpacity>
))}
</View>
</View>
Expand Down

0 comments on commit c3b3a51

Please sign in to comment.