From 3ad0bb9118234059b5e6bad7851e90a91320dfdc Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sun, 28 Feb 2021 01:29:35 -0500 Subject: [PATCH] Merge pull request #2461 from thornbill/remove-ios-limit Remove iOS bandwidth limit (cherry picked from commit 8f2437ab9731c9e520ae27e110516a2862522c33) Signed-off-by: Joshua M. Boniface --- src/components/appRouter.js | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/components/appRouter.js b/src/components/appRouter.js index b03773c430..c14434180d 100644 --- a/src/components/appRouter.js +++ b/src/components/appRouter.js @@ -471,18 +471,9 @@ class AppRouter { return null; } - getMaxBandwidthIOS() { - return 800000; - } - onApiClientCreated(e, newApiClient) { newApiClient.normalizeImageOptions = this.normalizeImageOptions; - - if (browser.iOS) { - newApiClient.getMaxBandwidth = this.getMaxBandwidthIOS; - } else { - newApiClient.getMaxBandwidth = this.getMaxBandwidth; - } + newApiClient.getMaxBandwidth = this.getMaxBandwidth; Events.off(newApiClient, 'requestfail', this.onRequestFail); Events.on(newApiClient, 'requestfail', this.onRequestFail);