From 566194d8a67f21d3b9585d1658fe3e97916aac7d Mon Sep 17 00:00:00 2001 From: wukko Date: Mon, 19 May 2025 17:39:51 +0600 Subject: [PATCH] web/lib/download: allow opening file object url on ios sharing a big file crashes ios safari, but opening it works perfectly fine. will revert if this causes even more issues than before --- web/src/lib/download.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/lib/download.ts b/web/src/lib/download.ts index 8e298243..4ef33195 100644 --- a/web/src/lib/download.ts +++ b/web/src/lib/download.ts @@ -108,7 +108,7 @@ export const downloadFile = ({ url, file, urlType }: DownloadFileParams) => { if (file) { if (pref === "share" && device.supports.share) { return shareFile(file); - } else if (pref === "download" && device.supports.directDownload) { + } else if (pref === "download") { return openFile(file); } }