diff --git a/app/views/ScreenLockConfigView.tsx b/app/views/ScreenLockConfigView.tsx index a90bb4210..08ce03a45 100644 --- a/app/views/ScreenLockConfigView.tsx +++ b/app/views/ScreenLockConfigView.tsx @@ -91,14 +91,15 @@ class ScreenLockConfigView extends React.Component this.hasBiometry() + ); } catch (error) { // Do nothing } @@ -119,6 +120,11 @@ class ScreenLockConfigView extends React.Component { + const biometry = userPreferences.getBool(BIOMETRY_ENABLED_KEY) ?? DEFAULT_BIOMETRY; + this.setState({ biometry }); + }; + changePasscode = async ({ force }: { force: boolean }) => { logEvent(events.SLC_CHANGE_PASSCODE); await changePasscode({ force }); @@ -133,6 +139,7 @@ class ScreenLockConfigView extends React.Component