Fix skip profile fallback for toggle settings not working

This commit is contained in:
Ajay
2025-09-09 03:40:50 -04:00
parent 9753b7c5a4
commit 05fa9ff317

View File

@@ -74,7 +74,7 @@ export function getSkipProfileNum(key: "minDuration"): number {
function getSkipProfileValue<T>(key: keyof CustomConfiguration): T { function getSkipProfileValue<T>(key: keyof CustomConfiguration): T {
const profile = getSkipProfile(); const profile = getSkipProfile();
if (profile && profile[key] !== undefined) { if (profile && profile[key] !== null) {
return profile[key] as T; return profile[key] as T;
} }