From 94f966fb947262405130488cbe84cabfc2989fb2 Mon Sep 17 00:00:00 2001 From: Justin Shillingford Date: Mon, 29 Jun 2020 16:25:14 -0400 Subject: Removed TextInput focus code for now Also miscellaneous code cleanup --- src/screens/Login.tsx | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) (limited to 'src/screens') diff --git a/src/screens/Login.tsx b/src/screens/Login.tsx index 2b4a10dc..e7778f1d 100644 --- a/src/screens/Login.tsx +++ b/src/screens/Login.tsx @@ -87,11 +87,15 @@ const Login = ({navigation}: LoginProps) => { } }; + /* + Handler for the submit button on the Username keyboard + */ const handleUsernameSubmit = () => { - setData({ - ...data, - focusPasswordInput: true, - }); + // setData({ + // ...data, + // focusPasswordInput: true, + // }); + Alert.alert("Coming soon 🚧") }; return ( @@ -164,13 +168,6 @@ const Login = ({navigation}: LoginProps) => { - // - // Welcome to Tagg! Login page goes here. - //