simplify exports

This commit is contained in:
Ollie Taylor
2023-02-25 01:04:08 +00:00
parent 03e95aa81b
commit 198cdfd3e0
18 changed files with 422 additions and 393 deletions
+6 -6
View File
@@ -1,12 +1,12 @@
import { episode_progress } from '$lib/context/episode-progress';
import { user_preferences } from '$lib/context/user-preferences';
import { podcast_preferences } from '$lib/preferences';
import { podcast_progress } from '$lib/progress';
export function save_podcast_state() {
episode_progress.save_all();
user_preferences.save();
podcast_progress.save_all();
podcast_preferences.save();
}
export function load_podcast_state() {
episode_progress.load_all();
user_preferences.load();
podcast_progress.load_all();
podcast_preferences.load();
}