mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 22:33:35 +00:00
fix safari browser test
This commit is contained in:
@@ -24,7 +24,7 @@ export default class BrowserPlatformUtilsService implements PlatformUtilsService
|
||||
return this.deviceCache;
|
||||
}
|
||||
|
||||
if (BrowserApi.isSafariApi) {
|
||||
if ((window as any).safariAppExtension === true) {
|
||||
this.deviceCache = DeviceType.SafariExtension;
|
||||
} else if (navigator.userAgent.indexOf(' Firefox/') !== -1 || navigator.userAgent.indexOf(' Gecko/') !== -1) {
|
||||
this.deviceCache = DeviceType.FirefoxExtension;
|
||||
|
||||
Reference in New Issue
Block a user