Code review notes
This commit is contained in:
parent
9baa92a303
commit
5d9a456d1d
|
|
@ -33,7 +33,7 @@ public extension PassCodeValidationResult {
|
||||||
switch self {
|
switch self {
|
||||||
case .valid:
|
case .valid:
|
||||||
return true
|
return true
|
||||||
case .invalid(_):
|
case .invalid:
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -42,7 +42,7 @@ public extension PassCodeValidationResult {
|
||||||
switch self {
|
switch self {
|
||||||
case let .valid(passCode):
|
case let .valid(passCode):
|
||||||
return passCode
|
return passCode
|
||||||
case .invalid(_):
|
case .invalid:
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -51,7 +51,7 @@ public extension PassCodeValidationResult {
|
||||||
switch self {
|
switch self {
|
||||||
case let .invalid(error):
|
case let .invalid(error):
|
||||||
return error
|
return error
|
||||||
case .valid(_):
|
case .valid:
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue