From 75577912307e2c7a179677529226a0199f21fda4 Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Wed, 4 Jan 2023 20:19:51 +0000 Subject: [PATCH] Remove debug code --- packages/app-mobile/components/biometrics/BiometricPopup.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/app-mobile/components/biometrics/BiometricPopup.tsx b/packages/app-mobile/components/biometrics/BiometricPopup.tsx index db501bdfbd..5ed53099f2 100644 --- a/packages/app-mobile/components/biometrics/BiometricPopup.tsx +++ b/packages/app-mobile/components/biometrics/BiometricPopup.tsx @@ -12,7 +12,7 @@ interface Props { } export default (props: Props) => { - const [initialPromptDone, setInitialPromptDone] = useState(false); // Setting.value('security.biometricsInitialPromptDone')); + const [initialPromptDone, setInitialPromptDone] = useState(Setting.value('security.biometricsInitialPromptDone')); const [display, setDisplay] = useState(!!props.sensorInfo.supportedSensors && (props.sensorInfo.enabled || !initialPromptDone)); const [tryBiometricsCheck, setTryBiometricsCheck] = useState(initialPromptDone);