1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-26 12:25:20 +01: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) {
return;
}
await SafariApp.sendMessageToApp('showPopover');
await SafariApp.sendMessageToApp('showPopover', null, true);
}
async reseedStorage() {

View File

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