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:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user