mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
swiftformat now enforces newlines for ifs
This commit is contained in:
@@ -105,7 +105,9 @@ class AppLockSetupFlowCoordinator: FlowCoordinatorProtocol {
|
||||
|
||||
switch (fromState, event) {
|
||||
case (.initial, .start):
|
||||
if presentingFlow == .onboarding { return .createPIN(replacingExitingPIN: false) }
|
||||
if presentingFlow == .onboarding {
|
||||
return .createPIN(replacingExitingPIN: false)
|
||||
}
|
||||
return appLockService.isEnabled ? .unlock : .createPIN(replacingExitingPIN: false)
|
||||
case (.unlock, .pinEntered):
|
||||
return .settings
|
||||
|
||||
Reference in New Issue
Block a user