From 03061427e50e1d5c0e66cb7a23509f1c5e430808 Mon Sep 17 00:00:00 2001 From: myxmaster Date: Wed, 25 Dec 2024 19:50:48 +0100 Subject: [PATCH] refresh pinExists and passphraseExists in checkSettings() --- views/Settings/Security.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/views/Settings/Security.tsx b/views/Settings/Security.tsx index 9462cf519..ada3c590e 100644 --- a/views/Settings/Security.tsx +++ b/views/Settings/Security.tsx @@ -100,7 +100,9 @@ export default class Security extends React.Component< scramblePin: settings.scramblePin ?? true, loginBackground: settings.loginBackground ?? false, isBiometryEnabled: biometricsStatus.isBiometryEnabled, - supportedBiometryType: biometricsStatus.supportedBiometryType + supportedBiometryType: biometricsStatus.supportedBiometryType, + pinExists: !!settings.pin, + passphraseExists: !!settings.passphrase }); if (settings.pin) {