Files
jellytau/src/lib/stores/appState.ts
T
dtourolle 8eae4ae253
🏗️ Build and Test JellyTau / Run Tests (push) Successful in 9m2s
Traceability Validation / Check Requirement Traces (push) Successful in 2m30s
🏗️ Build and Test JellyTau / Build Android APK (push) Has been cancelled
layout improvements
2026-06-28 20:14:17 +02:00

22 lines
997 B
TypeScript

// Application-wide UI state store
// TRACES: UR-005 | DR-005, DR-009
import { writable } from 'svelte/store';
// App-wide state (root layout)
export const isInitialized = writable(false);
export const pendingSyncCount = writable(0);
export const isAndroid = writable(false);
// Shuffle/repeat/next/previous state now lives in the event-driven queue store
// ($lib/stores/queue), the single source of truth.
export const showSleepTimerModal = writable(false);
// Measured height (px) of the fixed bottom UI on Android: BottomNav stacked with
// the global mini player. Published by the root layout via ResizeObserver so the
// library list can reserve exactly that much bottom padding (no magic rem guesses).
export const bottomUiHeight = writable(0);
// Library-specific state
export const librarySearchQuery = writable("");
export const libraryShowFullPlayer = writable(false);
export const libraryShowOverflowMenu = writable(false);
export const libraryShowSleepTimerModal = writable(false);