Merge pull request #370 from Materialious/fix/sponsorblock-disable

Fixed sponsorblock being disabled
This commit is contained in:
Ward
2024-06-26 12:16:13 +12:00
committed by GitHub
+2 -1
View File
@@ -23,6 +23,7 @@
playerProxyVideosStore,
playerSavePlaybackPositionStore,
sponsorBlockCategoriesStore,
sponsorBlockStore,
sponsorBlockUrlStore,
synciousStore
} from './store';
@@ -99,7 +100,7 @@
savePlayerPos();
});
if (get(sponsorBlockCategoriesStore)) {
if (get(sponsorBlockStore) && get(sponsorBlockCategoriesStore)) {
const currentCategories = get(sponsorBlockCategoriesStore);
const sponsorBlockUrl = get(sponsorBlockUrlStore);