Skip to content

Commit

Permalink
Merge branch 'dev' into stage
Browse files Browse the repository at this point in the history
  • Loading branch information
JavidHaji-zada committed Dec 6, 2023
2 parents 32a8c0e + c677f70 commit e663775
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/usePasscodeEntryRevealer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ export const usePasscodeEntryRevealer = () => {
return;
}
if (prevState === null) {
navigation.navigate('Passcode');
// if app comes from killed state always show passcode entry
// reset biometric auth and setup security states
await Promise.all([
Cache.setItem(CacheKey.isBiometricAuthenticationInProgress, false),
Cache.setItem(CacheKey.isSetupSecurityInProgress, false)
]);
navigation.navigate('Passcode');
return;
}
const [isBiometricAuthenticationInProgress, isSetupSecurityInProgress] =
Expand Down

0 comments on commit e663775

Please sign in to comment.