1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-09 09:51:02 +01: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

@ -1 +1 @@
Subproject commit 621a6d1524a4053725a54b9688364ea97958eefa
Subproject commit 9a73e733512e69221d6c74065bc8ec614c7ba0fd

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() {