Move the core logic in LoginScreenCoordinator into the ViewModel. (#3348)
This commit is contained in:
@@ -20,10 +20,8 @@ enum LoginMode: Equatable {
|
||||
|
||||
var supportsOIDCFlow: Bool {
|
||||
switch self {
|
||||
case .oidc:
|
||||
return true
|
||||
default:
|
||||
return false
|
||||
case .oidc: true
|
||||
default: false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user