restructured preferences

This commit is contained in:
Ollie Taylor
2023-02-25 14:33:17 +00:00
parent e46b929d69
commit 49c5e4eb63
8 changed files with 53 additions and 62 deletions
+2 -7
View File
@@ -1,12 +1,7 @@
import { podcast_preferences } from '$lib/preferences';
import { user_preferences } from '$lib/preferences';
import { podcast_progress } from '$lib/progress';
export function save_podcast_state() {
podcast_progress.save();
podcast_preferences.save();
}
export function load_podcast_state() {
podcast_progress.load();
podcast_preferences.load();
user_preferences.load();
}