Skip to content

Commit 9030e64

Browse files
worked on the authentication flow and added backgroundColor to the drawer
1 parent 4d2663f commit 9030e64

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

src/components/AppNavigator.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,10 @@ const AppNavigator = () => {
1515
initialRouteName="LandingScreen"
1616
screenOptions={{
1717
headerShown: false,
18+
drawerActiveTintColor: 'white',
19+
drawerContentStyle: { backgroundColor: 'black' },
1820
drawerContentContainerStyle: {
1921
backgroundColor: 'black',
20-
height: '100%',
2122
},
2223
drawerLabelStyle: {
2324
color: 'white',

src/components/landing/LoginScreen.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ const LoginScreen = () => {
2929

3030
<MagicScroll.ScrollView
3131
scollViewProps={{
32+
bounces: false,
3233
contentContainerStyle: {
3334
paddingHorizontal: 20,
3435
paddingTop: screenHeight * 0.33,

src/components/landing/signUp/SignUpForm.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ const SignUpForm = observer(
4949
return (
5050
<MagicScroll.ScrollView
5151
scollViewProps={{
52+
bounces: false,
5253
showsVerticalScrollIndicator: false,
5354
contentContainerStyle: {
5455
paddingTop: 60,
@@ -62,7 +63,7 @@ const SignUpForm = observer(
6263
bottomText="You'll need to verify that you own this email account."
6364
name="PhoneNumber"
6465
returnKeyType="next"
65-
onSubmit={() => chainInput('Username')}
66+
chainable="Username"
6667
tiProps={{
6768
value: email,
6869
onChangeText: (val) => setEmail(val),
@@ -90,7 +91,7 @@ const SignUpForm = observer(
9091
label="Username"
9192
name="Username"
9293
returnKeyType="next"
93-
onSubmit={() => chainInput('Password')}
94+
chainable="Password"
9495
tiProps={{
9596
keyboardType: 'default',
9697
textContentType: 'username',

0 commit comments

Comments
 (0)