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

cleanup safari specific features

This commit is contained in:
Kyle Spearrin
2019-08-19 15:57:34 -04:00
parent c041fd7504
commit 2a7e361300
7 changed files with 17 additions and 6 deletions

View File

@@ -368,6 +368,10 @@ export default class MainBackground {
// Chrome APIs cannot open popup
// TODO: Do we need to open this popup?
if (!this.isSafari) {
return;
}
await SafariApp.sendMessageToApp('showPopover');
/*
if (!this.isSafari || !safari.extension.toolbarItems || !safari.extension.toolbarItems.length) {