Update uYouPlus.xm

This commit is contained in:
arichornlover 2023-11-25 19:12:35 -06:00 committed by GitHub
parent a3581bf3ba
commit da90055059
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -159,7 +159,7 @@ static void repositionCreateTab(YTIGuideResponse *response) {
%new
- (void)customLogoWithImageName:(NSString *)imageName {
UIImageView *customLogoView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 122, 48)];
customLogoView.image = [UIImage imageWithContentsOfFile:@"/Library/Application Support/uYouPlus.bundle/" stringByAppendingString:imageName];
customLogoView.image = [UIImage imageWithContentsOfFile:[NSString stringWithFormat:@"/Library/Application Support/uYouPlus.bundle/%@", imageName]];
UIView *logoView = [self valueForKey:@"logoView"];
[logoView addSubview:customLogoView];
}