fix: PWA fixes

This commit is contained in:
2023-12-21 18:08:16 +01:00
parent faaa6dd5be
commit 8867030ede
4 changed files with 9 additions and 7 deletions

View File

@@ -5,7 +5,9 @@
</script>
{#if $needRefresh}
<button title="Update ready" class="icon" on:click={() => updateServiceWorker(true)}>update</button>
<button title="Update ready" on:click={() => updateServiceWorker(true)}
>Update <span class="icon">update</span></button
>
{:else if $offlineReady}
<div title="App can now be used offline" class="icon">offline_pin</div>
{/if}