Check all accounts, not just active, for the iCloud account
This commit is contained in:
parent
e0be6bec52
commit
d14a519a35
|
@ -252,7 +252,7 @@ private extension AccountsAddViewController {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if AccountManager.shared.activeAccounts.firstIndex(where: { $0.type == .cloudKit }) != nil {
|
if AccountManager.shared.accounts.firstIndex(where: { $0.type == .cloudKit }) != nil {
|
||||||
removeAccountType(.cloudKit)
|
removeAccountType(.cloudKit)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue