swift fix

This commit is contained in:
Kyle Spearrin 2019-08-21 21:12:01 -04:00
parent 8dd574bf9a
commit 0feb01b4f4
1 changed files with 1 additions and 1 deletions

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!])
}
})
}