Features:

- Add preferences for WakeLock and AutoRefresh
 - Add WakeLock and AutoRefresh to Board
 - Attempt adding transitions to Board elements

UI:
 - Add '3D' styling to preference toggles
This commit is contained in:
2026-05-18 11:25:18 +01:00
parent 631d324cba
commit 40e926bf11
6 changed files with 121 additions and 20 deletions

View File

@@ -15,7 +15,7 @@
<BaseCard header={'Nearby Stations'}>
<div class="card-content">
{#if !prefs.current.NearToMe}
<Button onclick={() => prefs.toggleLocation(true)}>Enable Location</Button>
<Button onclick={() => prefs.toggleNearToMe(true)}>Enable Location</Button>
{:else if nearestStationsState.error && nearestStationsState.list.length === 0}
<p class="msg">{nearestStationsState.error}</p>
{:else if nearestStationsState.loading && nearestStationsState.list.length === 0}