fix show popover command to resolve now
This commit is contained in:
parent
5acafd07f6
commit
e62253142b
|
@ -362,7 +362,7 @@ export default class MainBackground {
|
|||
if (!this.isSafari) {
|
||||
return;
|
||||
}
|
||||
await SafariApp.sendMessageToApp('showPopover');
|
||||
await SafariApp.sendMessageToApp('showPopover', null, true);
|
||||
}
|
||||
|
||||
async reseedStorage() {
|
||||
|
|
|
@ -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" {
|
||||
|
|
Loading…
Reference in New Issue