refactor audio to use custom listener stores
This commit is contained in:
@@ -2,11 +2,11 @@ import { podcast_preferences } from '$lib/preferences';
|
||||
import { podcast_progress } from '$lib/progress';
|
||||
|
||||
export function save_podcast_state() {
|
||||
podcast_progress.save_all();
|
||||
podcast_progress.save();
|
||||
podcast_preferences.save();
|
||||
}
|
||||
|
||||
export function load_podcast_state() {
|
||||
podcast_progress.load_all();
|
||||
podcast_progress.load();
|
||||
podcast_preferences.load();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user