From 5ae5a0e17ba84dc3a2ef2b93d28e436e35172fb8 Mon Sep 17 00:00:00 2001 From: Taha Darendeli Date: Thu, 12 Mar 2020 22:50:27 +0300 Subject: [PATCH] Fix For Passcode Screen There is a bug occurs when Touch ID fails or after respring. As a result of those errors, Posscode screen appears. Even though passcode entered correctly, homepage doesn't appear. I believe this piece of code prevent this bug. Because If any user end up at passcode screen should pass the lockscreen. --- LockScreen.xm | 1 + 1 file changed, 1 insertion(+) diff --git a/LockScreen.xm b/LockScreen.xm index 9bf53e5..d8431e3 100755 --- a/LockScreen.xm +++ b/LockScreen.xm @@ -301,6 +301,7 @@ static void setIsLocked(bool locked) { - (void)viewWillAppear:(BOOL)arg1 { %orig; if (enabled) { + unlockAllowed = YES; [mainPageView.sixController hideBars]; } }