Commit 30d69b67 authored by Marek Kotewicz's avatar Marek Kotewicz Committed by GitHub
Browse files

fixed confirm pin view and action (#63)

* fixed confirm pin view and action

* updated genereted files

* updated genereted files
parent a80c54de
......@@ -90,7 +90,7 @@ android {
applicationId "com.nativesigner"
minSdkVersion 16
targetSdkVersion 22
versionCode 5
versionCode 7
versionName "1.0b"
ndk {
abiFilters "armeabi-v7a", "x86"
......
-8TQ9%cFPzB3F
\ No newline at end of file
q#OFeO(%hH>
\ No newline at end of file
......@@ -19,7 +19,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>4</string>
<string>5</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
......
......@@ -31,6 +31,11 @@ export function addAccount (pin) {
return
}
if (account.newPin !== pin) {
Alert.alert('PIN must be the same')
return
}
let seed = await encryptData(account.seed, pin)
dispatch({
type: ADD_ACCOUNT,
......
......@@ -59,6 +59,7 @@ export default class AccountPin extends Component {
fontSize={24}
keyboardType='numeric'
multiline={false}
autoCorrect={false}
numberOfLines={1}
onChangeText={this.onChange}
placeholder={this.props.placeholder}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment