Fixed sponsorblock being disabled

This commit is contained in:
WardPearce
2024-06-26 12:15:05 +12:00
parent fa2d19377a
commit 830868a037
+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);