mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-25 06:13:12 +03:00
added translated description
This commit is contained in:
parent
a9df0aa254
commit
df8df111e2
@ -420,7 +420,8 @@
|
||||
"forgot_text": "Oh, I forgot it...",
|
||||
"pin_not_matched":"PIN do not match, Please try again.",
|
||||
"attempts_postfix":"failed attempt(s)",
|
||||
"message_reset_warning":"User data will be wiped on next failed attempt"
|
||||
"message_reset_warning":"User data will be wiped on next failed attempt",
|
||||
"biometric_desc":"Scan your biometric to continue"
|
||||
},
|
||||
"alert": {
|
||||
"success": "Success!",
|
||||
|
@ -102,6 +102,7 @@ class PinCodeContainer extends Component {
|
||||
_processBiometric = async () => {
|
||||
try {
|
||||
const {
|
||||
intl,
|
||||
pinCodeParams: { isReset },
|
||||
applicationPinCode,
|
||||
isBiometricEnabled,
|
||||
@ -114,7 +115,9 @@ class PinCodeContainer extends Component {
|
||||
const biometryType = await FingerprintScanner.isSensorAvailable();
|
||||
console.log('biometryType is => ', biometryType);
|
||||
|
||||
await FingerprintScanner.authenticate();
|
||||
await FingerprintScanner.authenticate({
|
||||
description: intl.formatMessage({ id: 'pincode.biometric_desc' }),
|
||||
});
|
||||
console.log('successfully passed biometric auth');
|
||||
|
||||
//code gets here means biometeric succeeded
|
||||
|
Loading…
Reference in New Issue
Block a user