mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-22 21:21:35 +01:00
update devicetype enums
This commit is contained in:
parent
085b7c10fe
commit
26baac529e
2
jslib
2
jslib
@ -1 +1 @@
|
||||
Subproject commit 8ac3450d9eee10c54bc35dd931a70bf82f97d0a5
|
||||
Subproject commit 621a6d1524a4053725a54b9688364ea97958eefa
|
@ -22,14 +22,14 @@ export class NodePlatformUtilsService implements PlatformUtilsService {
|
||||
if (!this.deviceCache) {
|
||||
switch (process.platform) {
|
||||
case 'win32':
|
||||
this.deviceCache = DeviceType.Windows;
|
||||
this.deviceCache = DeviceType.WindowsDesktop;
|
||||
break;
|
||||
case 'darwin':
|
||||
this.deviceCache = DeviceType.MacOs;
|
||||
this.deviceCache = DeviceType.MacOsDesktop;
|
||||
break;
|
||||
case 'linux':
|
||||
default:
|
||||
this.deviceCache = DeviceType.Linux;
|
||||
this.deviceCache = DeviceType.LinuxDesktop;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user