Fix Old Dark Theme (video player)

Fix Video Player showing the wrong color for some reason when Old Dark Mode is active.
This commit is contained in:
aricloverGitHub (INACTIVE) 2025-01-22 00:59:33 +00:00 committed by GitHub
parent 00585c7912
commit e7b460b09d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -81,6 +81,13 @@
self.subviews[0].backgroundColor = [UIColor clearColor];
}
%end
%hook YTAsyncCollectionView
- (void)didMoveToWindow {
%orig;
self.backgroundColor = [UIColor colorWithRed:0.129 green:0.129 blue:0.129 alpha:1.0];
}
%end
%end
# pragma mark - OLED dark mode by BandarHL