Remove extra function calls

This commit is contained in:
Ajay
2025-09-18 04:01:46 -04:00
parent 634e2490f3
commit 5f6d7194a9

View File

@@ -131,10 +131,8 @@ function getSkipRuleValue(segment: SponsorTime | VideoLabelsCacheData, rule: Adv
return undefined; return undefined;
} }
case SkipRuleAttribute.ChannelID: case SkipRuleAttribute.ChannelID:
getChannelIDInfo()
return getChannelIDInfo().id; return getChannelIDInfo().id;
case SkipRuleAttribute.ChannelName: case SkipRuleAttribute.ChannelName:
getChannelIDInfo()
return getChannelIDInfo().author; return getChannelIDInfo().author;
case SkipRuleAttribute.VideoDuration: case SkipRuleAttribute.VideoDuration:
return getVideoDuration(); return getVideoDuration();