mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-11 14:07:13 +03:00
Fix skip profile fallback for toggle settings not working
This commit is contained in:
@@ -74,7 +74,7 @@ export function getSkipProfileNum(key: "minDuration"): number {
|
||||
|
||||
function getSkipProfileValue<T>(key: keyof CustomConfiguration): T {
|
||||
const profile = getSkipProfile();
|
||||
if (profile && profile[key] !== undefined) {
|
||||
if (profile && profile[key] !== null) {
|
||||
return profile[key] as T;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user