Files
oki-podcast-reader/src/lib/utility/use-state.ts
T
2023-02-25 01:04:08 +00:00

13 lines
308 B
TypeScript

import { podcast_preferences } from '$lib/preferences';
import { podcast_progress } from '$lib/progress';
export function save_podcast_state() {
podcast_progress.save_all();
podcast_preferences.save();
}
export function load_podcast_state() {
podcast_progress.load_all();
podcast_preferences.load();
}