Skip to content

best way to save what you love

web/lib/download: allow opening file object url on ios

wukko566194d8a67f
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);
}
}