From 8a67b5e41fa080f728515b72a51adce6c6d88ec1 Mon Sep 17 00:00:00 2001 From: MrTimscampi Date: Tue, 11 Aug 2020 15:37:48 +0200 Subject: [PATCH] Fix import and Chromecast on Edge Chromium --- src/components/apphost.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/apphost.js b/src/components/apphost.js index a8e26223a5..c3e9342827 100644 --- a/src/components/apphost.js +++ b/src/components/apphost.js @@ -26,7 +26,7 @@ function getBaseProfileOptions(item) { function getDeviceProfile(item, options = {}) { return new Promise(function (resolve) { - import(['browserdeviceprofile']).then(({default: profileBuilder}) => { + import('browserdeviceprofile').then(({default: profileBuilder}) => { let profile; if (window.NativeShell) { @@ -262,7 +262,7 @@ const supportedFeatures = function () { features.push('fileinput'); } - if (browser.chrome) { + if (browser.chrome || browser.edgeChromium) { features.push('chromecast'); }