2023-02-25 01:04:08 +00:00
|
|
|
import { podcast_preferences } from '$lib/preferences';
|
|
|
|
|
import { podcast_progress } from '$lib/progress';
|
2023-02-24 20:04:01 +00:00
|
|
|
|
|
|
|
|
export function save_podcast_state() {
|
2023-02-25 01:04:08 +00:00
|
|
|
podcast_progress.save_all();
|
|
|
|
|
podcast_preferences.save();
|
2023-02-24 20:04:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export function load_podcast_state() {
|
2023-02-25 01:04:08 +00:00
|
|
|
podcast_progress.load_all();
|
|
|
|
|
podcast_preferences.load();
|
2023-02-24 20:04:01 +00:00
|
|
|
}
|