Fix “Hide SponsorBlock Button” not working

This commit is contained in:
aric3435 (INACTIVE) 2024-11-05 13:27:35 -06:00 committed by GitHub
parent f25bdf277a
commit 8d5b63e77e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -984,7 +984,7 @@ static int contrastMode() {
if (IS_ENABLED(@"hideNotificationButton_enabled")) {
self.notificationButton.hidden = YES;
}
if (IS_ENABLED(@"hideSponsorBlockButton_enabled")) {
if (IS_ENABLED(kHideiSponsorBlockButton)) {
self.sponsorBlockButton.hidden = YES;
self.sponsorBlockButton.frame = CGRectZero;
}