1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

fix show popover command to resolve now

This commit is contained in:
Kyle Spearrin
2019-09-21 09:50:57 -04:00
parent 5acafd07f6
commit e62253142b
2 changed files with 1 additions and 2 deletions

View File

@@ -362,7 +362,7 @@ export default class MainBackground {
if (!this.isSafari) { if (!this.isSafari) {
return; return;
} }
await SafariApp.sendMessageToApp('showPopover'); await SafariApp.sendMessageToApp('showPopover', null, true);
} }
async reseedStorage() { async reseedStorage() {

View File

@@ -138,7 +138,6 @@ class SafariExtensionViewController: SFSafariExtensionViewController, WKScriptMe
SFSafariApplication.getActiveWindow { win in SFSafariApplication.getActiveWindow { win in
win?.getToolbarItem(completionHandler: { item in win?.getToolbarItem(completionHandler: { item in
item?.showPopover() item?.showPopover()
self.replyMessage(message: m!)
}) })
} }
} else if command == "isPopoverOpen" { } else if command == "isPopoverOpen" {