mirror of
https://github.com/lil-org/wallet.git
synced 2025-01-07 21:57:09 +03:00
Always dismiss switch account screen on escape button
This commit is contained in:
parent
033df6f155
commit
f3bfc21a7c
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user