Skip to content

Commit ad7597a

Browse files
committed
updated styling
1 parent 06a6101 commit ad7597a

File tree

4 files changed

+20
-10
lines changed

4 files changed

+20
-10
lines changed

src/app/(tabs)/_layout.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,13 @@ function TabNav() {
8888
tabBarIcon: ({ color }) => LibraryIcon({ color }),
8989
}}
9090
/>
91+
<Tabs.Screen
92+
name="settings"
93+
options={{
94+
headerShown: false,
95+
href: null,
96+
}}
97+
/>
9198
</Tabs>
9299
);
93100
}
File renamed without changes.

src/app/settings/index.tsx renamed to src/app/(tabs)/settings/index.tsx

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ import { SafeAreaView } from 'react-native-safe-area-context';
1313
import { Icon } from 'react-native-elements';
1414

1515
import styles from './styles';
16-
import colors from '../../styles/colors';
17-
import AccountDataDisplay from '../../components/AccountDataDisplay/AccountDataDisplay';
18-
import StyledButton from '../../components/StyledButton/StyledButton';
19-
import UserSelectorInput from '../../components/UserSelectorInput/UserSelectorInput';
20-
import globalStyles from '../../styles/globalStyles';
21-
import { useSession } from '../../utils/AuthContext';
22-
import supabase from '../../utils/supabase';
16+
import colors from '../../../styles/colors';
17+
import AccountDataDisplay from '../../../components/AccountDataDisplay/AccountDataDisplay';
18+
import StyledButton from '../../../components/StyledButton/StyledButton';
19+
import UserSelectorInput from '../../../components/UserSelectorInput/UserSelectorInput';
20+
import globalStyles from '../../../styles/globalStyles';
21+
import { useSession } from '../../../utils/AuthContext';
22+
import supabase from '../../../utils/supabase';
2323
import DateTimePickerModal from 'react-native-modal-datetime-picker';
2424

2525
function SettingsScreen() {
@@ -175,7 +175,10 @@ function SettingsScreen() {
175175
}
176176

177177
return (
178-
<SafeAreaView style={styles.container} edges={['right', 'left', 'top']}>
178+
<SafeAreaView
179+
style={styles.container}
180+
edges={['right', 'left', 'top', 'bottom']}
181+
>
179182
<ScrollView
180183
bounces={true}
181184
contentContainerStyle={styles.main}

src/app/settings/styles.tsx renamed to src/app/(tabs)/settings/styles.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { StyleSheet } from 'react-native';
2-
import colors from '../../styles/colors';
2+
import colors from '../../../styles/colors';
33

44
export default StyleSheet.create({
55
selectors: {
@@ -12,7 +12,7 @@ export default StyleSheet.create({
1212
paddingHorizontal: 24,
1313
},
1414
button: {
15-
marginBottom: 32,
15+
marginBottom: 100,
1616
},
1717
main: {
1818
paddingLeft: 12,

0 commit comments

Comments
 (0)