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:
parent
f8ba01d3fa
commit
6dc68b174b
@ -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");
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user