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