Something went wrong. Try again.
a simple but full-featured web player for OpenSubsonic music servers (Navidrome, Gonic, Ampache, etc) devins.page/tinysub
Something went wrong. Try again.
1234567891011121314151617181920212223<script lang="ts"> import { pwa, updatePwa } from "../app/pwa.svelte.js"; import { t } from "../languages/translate.svelte.js"; import Modal from "./Modal.svelte";</script>
<Modal bind:open={pwa.needRefresh} title={t("message.pwa_update_title")}> <section class="modal-section"> <p>{t("message.pwa_update_desc")}</p> <div class="actions"> <button class="native" type="button" onclick={() => void updatePwa()}> {t("common.update")} </button> </div> </section></Modal>
<style> .modal-section { max-inline-size: 30rem; }</style>