fix: confirm cooling off account switch

This commit is contained in:
2026-08-31 17:01:26 +08:00
parent b8343ad9eb
commit 9b65913bc4
2 changed files with 38 additions and 0 deletions
@@ -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) }
}