Watch history enable external setting always available

This commit is contained in:
WardPearce
2026-03-05 11:07:45 +13:00
parent 021c437aae
commit da02b2df1e
@@ -253,6 +253,11 @@ export const persistedStores: PersistedStore<any>[] = [
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);