1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-13 23:03:32 +00:00

safari check on view open

This commit is contained in:
Kyle Spearrin
2018-01-11 22:22:07 -05:00
parent 37f93f97d6
commit 625ae961c4

View File

@@ -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;