From 853bc26587793e9ee6a360388e3f30312e9d0149 Mon Sep 17 00:00:00 2001 From: wukko Date: Mon, 9 Sep 2024 02:30:03 +0600 Subject: [PATCH] web/download: support downloading and sharing raw files --- web/src/components/dialog/PickerItem.svelte | 12 ++-- web/src/components/dialog/SavingDialog.svelte | 59 ++++++++++++------ .../save/buttons/DownloadButton.svelte | 34 +++++----- web/src/lib/download.ts | 62 +++++++++++++++---- web/src/lib/types/dialog.ts | 3 +- 5 files changed, 120 insertions(+), 50 deletions(-) diff --git a/web/src/components/dialog/PickerItem.svelte b/web/src/components/dialog/PickerItem.svelte index f5071885..7edf8c68 100644 --- a/web/src/components/dialog/PickerItem.svelte +++ b/web/src/components/dialog/PickerItem.svelte @@ -18,7 +18,13 @@ $: itemType = item.type ?? "photo"; -