diff --git a/jslib b/jslib index fa2b8e834b..5e0a2d1d99 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit fa2b8e834bf0576ef3c33eb64bb133b54028943f +Subproject commit 5e0a2d1d998b5d36b093f3eff032453421680a41 diff --git a/src/app/services/services.module.ts b/src/app/services/services.module.ts index dc4290f135..d5892f0ff6 100644 --- a/src/app/services/services.module.ts +++ b/src/app/services/services.module.ts @@ -106,7 +106,7 @@ const cipherService = new CipherService(cryptoService, userService, settingsServ const folderService = new FolderService(cryptoService, userService, apiService, storageService, i18nService, cipherService); const collectionService = new CollectionService(cryptoService, userService, storageService, i18nService); -searchService = new SearchService(cipherService, platformUtilsService); +searchService = new SearchService(cipherService); const policyService = new PolicyService(userService, storageService); const vaultTimeoutService = new VaultTimeoutService(cipherService, folderService, collectionService, cryptoService, platformUtilsService, storageService, messagingService, searchService, userService, tokenService, diff --git a/src/services/webPlatformUtils.service.ts b/src/services/webPlatformUtils.service.ts index 5de279688c..48a8a6a83e 100644 --- a/src/services/webPlatformUtils.service.ts +++ b/src/services/webPlatformUtils.service.ts @@ -24,7 +24,7 @@ export class WebPlatformUtilsService implements PlatformUtilsService { this.browserCache = DeviceType.FirefoxBrowser; } else if (navigator.userAgent.indexOf(' OPR/') >= 0) { this.browserCache = DeviceType.OperaBrowser; - } else if (navigator.userAgent.indexOf(' Edge/') !== -1) { + } else if (navigator.userAgent.indexOf(' Edg/') !== -1) { this.browserCache = DeviceType.EdgeBrowser; } else if (navigator.userAgent.indexOf(' Vivaldi/') !== -1) { this.browserCache = DeviceType.VivaldiBrowser;