Commit Graph

3 Commits

Author SHA1 Message Date
90793571e2 Add Tauri compatibility fallback and switch to localStorage for web environments
- Updated `useApi` to detect Tauri runtime and dynamically import Tauri-specific modules.
- Refactored `useStore` to use `localStorage` fallback when not in Tauri.
- Improved runtime checks with `isTauri` utility to handle platform-specific logic.
2026-02-22 13:40:43 +01:00
e68cb85607 Ensure store changes persist by calling save() after set() 2026-02-21 17:18:32 +01:00
feda048f1c Save settings (unsafe) 2026-02-21 16:17:50 +01:00