mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
update device string for electron
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user