misc: redesign switches

This commit is contained in:
James Xylight committed 2025-02-05 18:48:29 -08:00
1 parent 00f2a80a05
commit 6f442eceab
2 files changed
+19 -13

No files matched your search

+1 -2
View File
@@ -17,8 +17,7 @@
options={[false, true]}
selected={data.unreadOnly ?? true}
optionNames={[$t('filter.location.all'), $t('filter.unread')]}
on:select={(e) =>
searchParam(page.url, 'unreadOnly', e.detail.toString(), 'page')}
onselect={(e) => searchParam(page.url, 'unreadOnly', e.toString(), 'page')}
/>
{#if data.applications && data.applications.length > 0}
<div class="flex flex-col gap-4">