1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 07:43:35 +00:00

update devicetype enums

This commit is contained in:
Kyle Spearrin
2018-07-09 09:13:54 -04:00
parent 085b7c10fe
commit 26baac529e
2 changed files with 4 additions and 4 deletions

2
jslib

Submodule jslib updated: 8ac3450d9e...621a6d1524

View File

@@ -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;
} }
} }