Fix option Hide Video Title (in Fullscreen)

This commit is contained in:
arichornlover 2024-04-27 13:49:17 -05:00 committed by GitHub
parent ab6101114f
commit bd619e9424
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -811,7 +811,7 @@ BOOL isAd(YTIElementRenderer *self) {
// Hide Video Title (in Fullscreen) - @arichornlover
%hook YTMainAppVideoPlayerOverlayView
- (BOOL)titleViewHidden {
return YES;
return IS_ENABLED(@"hideVideoTitle_enabled") ? YES : %orig;
}
%end