From e87d4f2b10cff8cf5f31784cfddb22727a94f373 Mon Sep 17 00:00:00 2001 From: Leon Jiang <35908040+leonyjiang@users.noreply.github.com> Date: Mon, 20 Jul 2020 16:27:45 -0700 Subject: [TMA-134] Profile Picture Upload (#22) * Fix styling, remove unnecessary state * Change large profile to square crop, restyle * Disable gestures on Verification and Profile screens * Forward username and ID to Profile screen * Add API request upon submit & filler components * Restore gestures to Verification and Profile * Rewrite network failure error message * Update profile request form keys --- src/routes/Routes.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/routes') diff --git a/src/routes/Routes.tsx b/src/routes/Routes.tsx index 93c16fc9..63486448 100644 --- a/src/routes/Routes.tsx +++ b/src/routes/Routes.tsx @@ -11,8 +11,8 @@ import { export type RootStackParamList = { Login: undefined; Registration: undefined; - Verification: {username: string; email: string} | undefined; - Profile: undefined; + Verification: {username: string; email: string; userId: string}; + Profile: {username: string; userId: string}; }; const RootStack = createStackNavigator(); -- cgit v1.2.3-70-g09d2