update device string

This commit is contained in:
Kyle Spearrin 2018-07-09 09:30:37 -04:00
parent 48abc87e0c
commit 0d95f66a43
2 changed files with 3 additions and 2 deletions

2
jslib

@ -1 +1 @@
Subproject commit 621a6d1524a4053725a54b9688364ea97958eefa
Subproject commit 9a73e733512e69221d6c74065bc8ec614c7ba0fd

View File

@ -82,7 +82,8 @@ export default class BrowserPlatformUtilsService implements PlatformUtilsService
}
getDeviceString(): string {
return DeviceType[this.getDevice()].toLowerCase();
const device = DeviceType[this.getDevice()].toLowerCase();
return device.replace('extension', '');
}
isFirefox(): boolean {