mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-27 12:36:14 +01:00
safari check on view open
This commit is contained in:
parent
37f93f97d6
commit
625ae961c4
@ -119,6 +119,11 @@ export default class BrowserPlatformUtilsService implements PlatformUtilsService
|
||||
}
|
||||
|
||||
isViewOpen(): boolean {
|
||||
if (this.isSafari()) {
|
||||
// TODO
|
||||
return true;
|
||||
}
|
||||
|
||||
const popupOpen = chrome.extension.getViews({ type: 'popup' }).length > 0;
|
||||
if (popupOpen) {
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user