mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 00:03:56 +00:00
fix show popover command to resolve now
This commit is contained in:
@@ -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() {
|
||||||
|
|||||||
@@ -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" {
|
||||||
|
|||||||
Reference in New Issue
Block a user