1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 00:33:44 +00:00

adjust enum names for added browser types

This commit is contained in:
Kyle Spearrin
2018-07-09 09:04:47 -04:00
parent 8ac3450d9e
commit 621a6d1524
4 changed files with 39 additions and 26 deletions

View File

@@ -31,14 +31,14 @@ export class ElectronPlatformUtilsService 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;
}
}