1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

update device string for electron

This commit is contained in:
Kyle Spearrin
2018-07-09 09:30:15 -04:00
parent 621a6d1524
commit 9a73e73351

View File

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