diff --git a/src/safari/app/desktop/safari/SafariExtensionViewController.swift b/src/safari/app/desktop/safari/SafariExtensionViewController.swift index cef2a076a8..ad04fb8d3c 100644 --- a/src/safari/app/desktop/safari/SafariExtensionViewController.swift +++ b/src/safari/app/desktop/safari/SafariExtensionViewController.swift @@ -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!]) } }) }