1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-13 23:03:32 +00:00

update device string

This commit is contained in:
Kyle Spearrin
2018-07-09 09:30:37 -04:00
parent 48abc87e0c
commit 0d95f66a43
2 changed files with 3 additions and 2 deletions

View File

@@ -82,7 +82,8 @@ export default class BrowserPlatformUtilsService implements PlatformUtilsService
}
getDeviceString(): string {
return DeviceType[this.getDevice()].toLowerCase();
const device = DeviceType[this.getDevice()].toLowerCase();
return device.replace('extension', '');
}
isFirefox(): boolean {