diff options
| author | Justin Shillingford <jgs272@cornell.edu> | 2020-06-29 16:25:14 -0400 |
|---|---|---|
| committer | Justin Shillingford <jgs272@cornell.edu> | 2020-06-29 16:25:14 -0400 |
| commit | 94f966fb947262405130488cbe84cabfc2989fb2 (patch) | |
| tree | 880591f4573b0d6240eb6ec662ae62068fce3fc0 /src/screens/Login.tsx | |
| parent | 5c26e9b92b0fcdd34905719547a9c1d67742dc7f (diff) | |
Removed TextInput focus code for now
Also miscellaneous code cleanup
Diffstat (limited to 'src/screens/Login.tsx')
| -rw-r--r-- | src/screens/Login.tsx | 19 |
1 files changed, 8 insertions, 11 deletions
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) => { </LinearGradient> </View> </> - // <View style={{flex: 1, justifyContent: 'center', alignItems: 'center'}}> - // <Text style={{fontSize: 18}}>Welcome to Tagg! Login page goes here.</Text> - // <Button - // title="Register" - // onPress={() => navigation.navigate('Registration')} - // /> - // </View> ); }; |
