Enable SwiftLint rule 'unused_optional_binding' and fix all violations
This commit is contained in:
parent
ab80e5297e
commit
f70114e8d7
3 changed files with 3 additions and 3 deletions
|
|
@ -38,7 +38,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
|
|||
}
|
||||
|
||||
func application(_: UIApplication, supportedInterfaceOrientationsFor window: UIWindow?) -> UIInterfaceOrientationMask {
|
||||
if let _ = window?.rootViewController as? PasscodeLockViewController {
|
||||
if window?.rootViewController is PasscodeLockViewController {
|
||||
window?.frame = UIScreen.main.bounds
|
||||
}
|
||||
return .all
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue