diff --git a/materialious/src/lib/externalSettings/settings.ts b/materialious/src/lib/externalSettings/settings.ts index 707ec4b2..13593ce2 100644 --- a/materialious/src/lib/externalSettings/settings.ts +++ b/materialious/src/lib/externalSettings/settings.ts @@ -253,6 +253,11 @@ export const persistedStores: PersistedStore[] = [ store: sponsorBlockCategoriesStore, schema: zChapterModeRecord, serialize: JSON.stringify + }, + { + name: 'watchHistoryEnabled', + store: watchHistoryEnabledStore, + schema: zBoolean } ]; @@ -335,11 +340,6 @@ if (isOwnBackend()) { store: playerYouTubeJsAlways, schema: zBoolean }); - persistedStores.push({ - name: 'watchHistoryEnabled', - store: watchHistoryEnabledStore, - schema: zBoolean - }); } export const persistedStoreKeys = persistedStores.map((store) => store.name);