mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-09 09:51:02 +01:00
swift fix
This commit is contained in:
parent
8dd574bf9a
commit
0feb01b4f4
@ -177,7 +177,7 @@ class SafariExtensionViewController: SFSafariExtensionViewController, WKScriptMe
|
|||||||
SFSafariApplication.getActiveWindow { win in
|
SFSafariApplication.getActiveWindow { win in
|
||||||
win?.getActiveTab(completionHandler: { tab in
|
win?.getActiveTab(completionHandler: { tab in
|
||||||
tab?.getActivePage { activePage in
|
tab?.getActivePage { activePage in
|
||||||
activePage?.dispatchMessageToScript(withName: "bitwarden", userInfo: ["msg": m!.data])
|
activePage?.dispatchMessageToScript(withName: "bitwarden", userInfo: ["msg": m!.data!])
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user