Skip to content

Commit

Permalink
Fix missing icons
Browse files Browse the repository at this point in the history
  • Loading branch information
gyroknight committed Jul 16, 2024
1 parent 78b65b3 commit 92ca77c
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions Sources/uYouPlusPatches.xm
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,6 @@

# pragma mark - YouTube patches

// Fix Google Sign in by @PoomSmart and @level3tjg (qnblackcat/uYouPlus#684)
%hook NSBundle
- (NSDictionary *)infoDictionary {
NSMutableDictionary *info = %orig.mutableCopy;
if ([self isEqual:NSBundle.mainBundle])
info[@"CFBundleIdentifier"] = @"com.google.ios.youtube";
return info;
}
%end

%hook YTHotConfig
- (BOOL)disableAfmaIdfaCollection { return NO; }
%end
Expand Down Expand Up @@ -208,4 +198,4 @@ static void refreshUYouAppearance() {

// Disable uYou's adblock
[[NSUserDefaults standardUserDefaults] setBool:NO forKey:@"removeYouTubeAds"];
}
}

0 comments on commit 92ca77c

Please sign in to comment.