saltfish 0.2.6 → 0.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2646,8 +2646,8 @@ class PlaylistOrchestrator {
|
|
|
2646
2646
|
}
|
|
2647
2647
|
this.managers.uiManager.updatePosition();
|
|
2648
2648
|
store.sendStateMachineEvent({ type: "LOAD_MANIFEST" });
|
|
2649
|
-
const playlistPersistence =
|
|
2650
|
-
if (
|
|
2649
|
+
const playlistPersistence = options == null ? void 0 : options.persistence;
|
|
2650
|
+
if (typeof window !== "undefined") {
|
|
2651
2651
|
const userId = (_d = store.user) == null ? void 0 : _d.id;
|
|
2652
2652
|
const progress = this.managers.storageManager.getProgress(userId);
|
|
2653
2653
|
if (progress && progress[playlistId]) {
|