Skip to content

Commit 49ac2d5

Browse files
committed
fix login keyboardType
1 parent 3d541c9 commit 49ac2d5

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/screens/login.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ const Login = () => {
9292
onChangeText={setPhonenumber}
9393
style={styles.input}
9494
value={phonenumber}
95+
keyboardType="numeric"
9596
/>
9697
</View>
9798
<TouchableOpacity style={styles.button} onPress={requestCode}>

src/screens/verification-code.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ const VerificationCode: FC<Props> = ({ route }) => {
6666
placeholder="Verification Code"
6767
onChangeText={setVerificationCode}
6868
style={styles.input}
69+
keyboardType="numeric"
6970
/>
7071
</View>
7172
<TouchableOpacity style={styles.button} onPress={verifyCode}>

0 commit comments

Comments
 (0)