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