1
0
mirror of https://github.com/bitwarden/browser synced 2025-01-29 04:29:32 +01: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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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.
* @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 {
return (
this.platformUtilsService.isChrome() && win?.navigator?.appVersion.includes("Mac OS X 11")
);
return this.platformUtilsService.isChrome() && win?.navigator?.appVersion.includes("Mac OS X");
}
}