mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-03-11 17:15:32 +00:00
Update uYouPlusExtra Logo again
I had to urgently change something. If YTHeaderLogoController was set to NULL, it will remove the controller and then the custom logo won’t show up.
This commit is contained in:
parent
b3bf06ce7e
commit
ed5da99036
1 changed files with 6 additions and 3 deletions
|
|
@ -202,9 +202,12 @@ static void repositionCreateTab(YTIGuideResponse *response) {
|
|||
[logoView addSubview:customLogoView];
|
||||
}
|
||||
%end
|
||||
%hook YTHeaderLogoController // Hide Original YouTube Logo - this will prevent Overlapping on the custom YouTube Logo
|
||||
- (YTHeaderLogoController *)init {
|
||||
return NULL;
|
||||
%hook YTNavigationBarTitleView // Hide Original YouTube Logo - this will prevent Overlapping on the custom YouTube Logo
|
||||
- (void)layoutSubviews {
|
||||
%orig;
|
||||
if (self.subviews.count > 1 && [self.subviews[1].accessibilityIdentifier isEqualToString:@"id.yoodle.logo"]) {
|
||||
self.subviews[1].hidden = YES;
|
||||
}
|
||||
}
|
||||
%end
|
||||
%end
|
||||
|
|
|
|||
Loading…
Reference in a new issue