web: added saving method preference, made downloading resilient

This commit is contained in:
wukko
2024-07-28 18:59:58 +06:00
parent 87adffaf02
commit 5c780a2d2e
8 changed files with 56 additions and 43 deletions

View File

@@ -34,7 +34,7 @@
</h2>
</div>
<div class="action-buttons">
{#if !(app.is.installed && device.is.iOS)}
{#if device.supports.directDownload}
<VerticalActionButton
id="save-download"
fill
@@ -46,7 +46,7 @@
</VerticalActionButton>
{/if}
{#if navigator.share !== undefined}
{#if device.supports.share}
<VerticalActionButton
id="save-share"
fill