diff --git a/Tokenary macOS/Screens/AccountsListViewController.swift b/Tokenary macOS/Screens/AccountsListViewController.swift index 0d4293cc..c3aa6d2d 100644 --- a/Tokenary macOS/Screens/AccountsListViewController.swift +++ b/Tokenary macOS/Screens/AccountsListViewController.swift @@ -305,6 +305,12 @@ class AccountsListViewController: NSViewController { } } + override func cancelOperation(_ sender: Any?) { + if accountSelectionConfiguration?.initiallyConnectedProviders.isEmpty == false { + callCompletion(specificWalletAccounts: nil) + } + } + private func walletForRow(_ row: Int) -> TokenaryWallet? { guard row >= 0 else { return nil } let item = cellModels[row]