Enable SwiftLint rule 'conditional_returns_on_newline' and fix all violations
This commit is contained in:
parent
fdca54a0ab
commit
08473f8f05
3 changed files with 16 additions and 6 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue