Browse Source

increased pincode length to 6

Ricardo-gonzalez32 2 years ago
parent
commit
05fe05b4f2
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      MocionesIUPI/screens/PincodeScreen.js

+ 2
- 1
MocionesIUPI/screens/PincodeScreen.js View File

3
 import { globalStyles } from "../styles/global";
3
 import { globalStyles } from "../styles/global";
4
 import SmoothPinCodeInput from 'react-native-smooth-pincode-input';
4
 import SmoothPinCodeInput from 'react-native-smooth-pincode-input';
5
 
5
 
6
-const pin = 1234;
6
+const pin = 123456;
7
 
7
 
8
 //comentario
8
 //comentario
9
 
9
 
40
             <SmoothPinCodeInput
40
             <SmoothPinCodeInput
41
               ref={this.pinInput}
41
               ref={this.pinInput}
42
               value={code}
42
               value={code}
43
+              codeLength={6}
43
               onTextChange={code => this.setState({ code })}
44
               onTextChange={code => this.setState({ code })}
44
               onFulfill={this._checkCode}
45
               onFulfill={this._checkCode}
45
               onBackspace={() => console.log('No more back.')}
46
               onBackspace={() => console.log('No more back.')}