mirror of
https://github.com/lil-org/wallet.git
synced 2025-01-06 04:13:11 +03:00
Call activateBrowser instead of activateSafari
This commit is contained in:
parent
811c387638
commit
14a935febb
@ -52,7 +52,7 @@ class Agent {
|
||||
let windowController = Window.showNew()
|
||||
let approveViewController = ApproveViewController.with(title: title, meta: meta) { [weak self] result in
|
||||
Window.closeAll()
|
||||
Window.activateSafari()
|
||||
Window.activateBrowser()
|
||||
if result {
|
||||
self?.proceedAfterAuthentication(reason: title, completion: completion)
|
||||
} else {
|
||||
@ -120,7 +120,7 @@ class Agent {
|
||||
WalletConnect.shared.connect(session: session, address: account.address) { [weak self] connected in
|
||||
if connected {
|
||||
Window.closeAll()
|
||||
Window.activateSafari()
|
||||
Window.activateBrowser()
|
||||
} else {
|
||||
self?.showErrorMessage("Failed to connect")
|
||||
}
|
||||
|
@ -22,7 +22,7 @@ class ErrorViewController: NSViewController {
|
||||
|
||||
@IBAction func actionButtonTapped(_ sender: Any) {
|
||||
Window.closeAll()
|
||||
Window.activateSafari()
|
||||
Window.activateBrowser()
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user