From 130b4a4851de534d78535a1ec433ef6c6fb5b6d7 Mon Sep 17 00:00:00 2001 From: Andi Firwansyah Date: Tue, 31 Jan 2023 11:11:48 +0700 Subject: [PATCH] init --- package.json | 1 + src/scenes/Login/index.js | 34 +++++++++++++++++----------------- src/scenes/Register/index.js | 8 +++++--- yarn.lock | 10 +++++++++- 4 files changed, 32 insertions(+), 21 deletions(-) diff --git a/package.json b/package.json index f0f6f03..d3aa6fd 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,7 @@ "react-native": "0.70.6", "react-native-currency-input": "^1.1.0", "react-native-dropdown-picker": "^5.4.3", + "react-native-keyboard-aware-scroll-view": "^0.9.5", "react-native-localize": "^2.2.4", "react-native-maps": "^1.3.2", "react-native-modal": "^13.0.1", diff --git a/src/scenes/Login/index.js b/src/scenes/Login/index.js index 9be02f1..f184b4b 100644 --- a/src/scenes/Login/index.js +++ b/src/scenes/Login/index.js @@ -42,26 +42,26 @@ const Login = ({route, navigation}) => { return ( - setModalLanguage(true)} - style={styles.translateButton}> - - - + setModalLanguage(true)} + style={styles.translateButton}> + + + { const {t} = useTranslation(); return (
- + {t('register_merchant_title')} @@ -34,7 +36,7 @@ const Register = ({navigation}) => { label={t('email_business_owner_text')} note={t('email_business_owner_note')} /> - +