mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 07:43:35 +00:00
update devicetype enums
This commit is contained in:
2
jslib
2
jslib
Submodule jslib updated: 8ac3450d9e...621a6d1524
@@ -22,14 +22,14 @@ export class NodePlatformUtilsService implements PlatformUtilsService {
|
|||||||
if (!this.deviceCache) {
|
if (!this.deviceCache) {
|
||||||
switch (process.platform) {
|
switch (process.platform) {
|
||||||
case 'win32':
|
case 'win32':
|
||||||
this.deviceCache = DeviceType.Windows;
|
this.deviceCache = DeviceType.WindowsDesktop;
|
||||||
break;
|
break;
|
||||||
case 'darwin':
|
case 'darwin':
|
||||||
this.deviceCache = DeviceType.MacOs;
|
this.deviceCache = DeviceType.MacOsDesktop;
|
||||||
break;
|
break;
|
||||||
case 'linux':
|
case 'linux':
|
||||||
default:
|
default:
|
||||||
this.deviceCache = DeviceType.Linux;
|
this.deviceCache = DeviceType.LinuxDesktop;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user