1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-07 09:31:31 +01:00

swift fix

This commit is contained in:
Kyle Spearrin 2019-08-21 21:12:01 -04:00
parent 8dd574bf9a
commit 0feb01b4f4

View File

@ -177,7 +177,7 @@ class SafariExtensionViewController: SFSafariExtensionViewController, WKScriptMe
SFSafariApplication.getActiveWindow { win in
win?.getActiveTab(completionHandler: { tab in
tab?.getActivePage { activePage in
activePage?.dispatchMessageToScript(withName: "bitwarden", userInfo: ["msg": m!.data])
activePage?.dispatchMessageToScript(withName: "bitwarden", userInfo: ["msg": m!.data!])
}
})
}