From 47a5909653544802b5e4f7b1e0628260692b52c0 Mon Sep 17 00:00:00 2001 From: Diego Mello Date: Mon, 27 Apr 2020 13:58:23 -0300 Subject: [PATCH] Biometry button on PasscodeEnter --- app/containers/Passcode/Base/index.js | 14 +++++++++++--- app/containers/Passcode/Base/styles.js | 4 ++-- app/containers/Passcode/PasscodeEnter.js | 19 ++++++++++++++++++- 3 files changed, 31 insertions(+), 6 deletions(-) diff --git a/app/containers/Passcode/Base/index.js b/app/containers/Passcode/Base/index.js index 8c46cd2b2..d5537302a 100644 --- a/app/containers/Passcode/Base/index.js +++ b/app/containers/Passcode/Base/index.js @@ -16,7 +16,7 @@ import { themes } from '../../../constants/colors'; import { PASSCODE_LENGTH } from '../../../constants/localAuthentication'; const Base = forwardRef(({ - theme, type, onEndProcess, previousPasscode, title, subtitle, onError + theme, type, onEndProcess, previousPasscode, title, subtitle, onError, showBiometry, onBiometryPress }, ref) => { const rootRef = useRef(); const dotsRef = useRef(); @@ -102,7 +102,13 @@ const Base = forwardRef(({ ))} - + {showBiometry + ? ( + +