1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-11 05:43:41 +00:00

Prompt user to popout the extension when creating a file send with Chrome on MacOS (#12257)

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
This commit is contained in:
Daniel James Smith
2024-12-05 15:48:03 +01:00
committed by GitHub
parent f8ba01d3fa
commit 6dc68b174b

View File

@@ -49,7 +49,7 @@ export class FilePopoutUtilsService {
} }
/** /**
* Determines whether to show a file popout callout message for Chromium-based browsers in Linux and Mac OS X Big Sur * Determines whether to show a file popout callout message for Chromium-based browsers in Linux and Mac OS X
* @param win - The window context in which the check should be performed. * @param win - The window context in which the check should be performed.
* @returns True if the extension is not in a sidebar or popout; otherwise, false. * @returns True if the extension is not in a sidebar or popout; otherwise, false.
*/ */
@@ -66,8 +66,6 @@ export class FilePopoutUtilsService {
} }
private isUnsupportedMac(win: Window): boolean { private isUnsupportedMac(win: Window): boolean {
return ( return this.platformUtilsService.isChrome() && win?.navigator?.appVersion.includes("Mac OS X");
this.platformUtilsService.isChrome() && win?.navigator?.appVersion.includes("Mac OS X 11")
);
} }
} }