mirror of
https://github.com/bitwarden/browser.git
synced 2025-02-16 01:21:48 +01:00
update device string for electron
This commit is contained in:
parent
621a6d1524
commit
9a73e73351
@ -47,7 +47,8 @@ export class ElectronPlatformUtilsService implements PlatformUtilsService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
getDeviceString(): string {
|
getDeviceString(): string {
|
||||||
return DeviceType[this.getDevice()].toLowerCase();
|
const device = DeviceType[this.getDevice()].toLowerCase();
|
||||||
|
return device.replace('desktop', '');
|
||||||
}
|
}
|
||||||
|
|
||||||
isFirefox(): boolean {
|
isFirefox(): boolean {
|
||||||
|
Loading…
Reference in New Issue
Block a user