models now handle authentication

This commit is contained in:
Stuart Breckenridge
2020-12-05 22:18:10 +08:00
parent c90b7128d0
commit ad678f2fc1
19 changed files with 595 additions and 325 deletions

View File

@@ -29,7 +29,7 @@ struct SettingsAddAccountView: View {
.sheet(isPresented: $model.isAddPresented) {
switch model.selectedAccountType {
case .onMyMac:
SettingsLocalAccountView()
AddLocalAccountView()
case .feedbin, .feedWrangler, .newsBlur, .freshRSS:
SettingsCredentialsAccountView(accountType: model.selectedAccountType!)
case .cloudKit: