fix: confirm cooling off account switch
This commit is contained in:
@@ -120,6 +120,16 @@ final class AccountSwitchViewController: BaseViewController, UITableViewDelegate
|
||||
navigationController?.popViewController(animated: true)
|
||||
return
|
||||
}
|
||||
if account.requiresDeregistrationConfirmation {
|
||||
present(
|
||||
makeDeregistrationLoginAlert(account: account) { [weak self] in
|
||||
guard let self else { return }
|
||||
Task { await self.switchAccount(account) }
|
||||
},
|
||||
animated: true
|
||||
)
|
||||
return
|
||||
}
|
||||
Task { await switchAccount(account) }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user