diff --git a/ios/brave-ios/Sources/Brave/Frontend/Passcode/WindowProtection.swift b/ios/brave-ios/Sources/Brave/Frontend/Passcode/WindowProtection.swift index fd649ab5d83..456f45922aa 100644 --- a/ios/brave-ios/Sources/Brave/Frontend/Passcode/WindowProtection.swift +++ b/ios/brave-ios/Sources/Brave/Frontend/Passcode/WindowProtection.swift @@ -235,9 +235,7 @@ public class WindowProtection { } lockedViewController.unlockButton.isHidden = true - if viewType == .external { - isCancellable = false - } + isCancellable = viewType != .external context.evaluatePolicy( .deviceOwnerAuthentication, @@ -257,7 +255,7 @@ public class WindowProtection { } ) } else { - lockedViewController.unlockButton.isHidden = viewType == .general + lockedViewController.unlockButton.isHidden = false let errorPolicy = error as? LAError completion?(false, errorPolicy?.code)