Updated “Hide double tap to seek overlay” Option

This commit is contained in:
arichornlover 2024-03-13 20:01:22 -05:00 committed by GitHub
parent 9c5b8e59db
commit 9dad069a70
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -572,11 +572,11 @@ static NSString *accessGroupID() {
// Hide double tap to seek overlay - @arichornlover
%hook YTInlinePlayerDoubleTapIndicatorView
- (CGFloat)circleRadius {
- (void)layoutSubviews {
%orig;
if (IS_ENABLED(@"hideDoubleTapToSeekOverlay_enabled")) {
return 0;
_scrimOverlay.backgroundColor = [UIColor clearColor];
}
return %orig;
}
%end