1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 07:43:35 +00:00

update device string

This commit is contained in:
Kyle Spearrin
2018-07-09 09:30:45 -04:00
parent 26baac529e
commit 42e0a98fda
2 changed files with 3 additions and 2 deletions

2
jslib

Submodule jslib updated: 621a6d1524...9a73e73351

View File

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