Skip to content

Commit 05fa9ff

Browse files
committed
Fix skip profile fallback for toggle settings not working
1 parent 9753b7c commit 05fa9ff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/utils/skipProfiles.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export function getSkipProfileNum(key: "minDuration"): number {
7474

7575
function getSkipProfileValue<T>(key: keyof CustomConfiguration): T {
7676
const profile = getSkipProfile();
77-
if (profile && profile[key] !== undefined) {
77+
if (profile && profile[key] !== null) {
7878
return profile[key] as T;
7979
}
8080

0 commit comments

Comments
 (0)