Skip to content

Commit

Permalink
Disabling autounlock
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorpamplona committed Jun 17, 2021
1 parent 2e8aa5b commit a7130b8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/screens/Locked.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function Locked({ navigation, route }) {
if (isTryingToSignIn) {
await LocalAuthentication.cancelAuthenticate();
}

console.log("Logging in");
setIsTryingToSignIn(true);
const authenticateResult = await LocalAuthentication.authenticateAsync({
Expand Down Expand Up @@ -79,7 +79,6 @@ function Locked({ navigation, route }) {

useEffect(() => {
changeNavigationBarColor(colors.background, !isDark);
unlock();
}, [isFocused]);

return (
Expand Down

0 comments on commit a7130b8

Please sign in to comment.