From 7fc4165b538c105a4a0c65644d269c3622238088 Mon Sep 17 00:00:00 2001 From: vitorsemeano Date: Sat, 16 Mar 2019 22:56:55 +0000 Subject: [PATCH] remove some require modules of cordova --- src/scripts/site.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/scripts/site.js b/src/scripts/site.js index d97b5d3bf2..d2a01c873e 100644 --- a/src/scripts/site.js +++ b/src/scripts/site.js @@ -1160,11 +1160,7 @@ var AppInfo = {}; require(["components/thememediaplayer", "scripts/autobackdrops"]); if ("cordova" === self.appMode || "android" === self.appMode) { - if (browser.android) { - require(["cordova/mediasession"]); - } else if (browser.safari) { - require(["cordova/mediasession", "cordova/volume", "cordova/statusbar", "cordova/backgroundfetch"]); - } + require(["cordova/mediasession"]); } if (!browser.tv && !browser.xboxOne && !browser.ps4) {