Enable SwiftLint rule 'conditional_returns_on_newline' and fix all violations

This commit is contained in:
Danny Moesch 2020-07-04 21:57:26 +02:00 committed by Mingshen Sun
parent fdca54a0ab
commit 08473f8f05
3 changed files with 16 additions and 6 deletions

View file

@ -19,7 +19,9 @@ open class PasscodeLockPresenter {
}
open func present(windowLevel: CGFloat?) {
guard PasscodeLock.shared.hasPasscode else { return }
guard PasscodeLock.shared.hasPasscode else {
return
}
// dismiss the original window
dismiss()