Update uYouPlus.xm

This commit is contained in:
arichornlover 2024-02-21 23:32:39 -06:00 committed by GitHub
parent ae962dcbac
commit ebe293aef0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -814,8 +814,7 @@ static NSString *accessGroupID() {
%property (retain, nonatomic) YTQTMButton *uYouPlusButton;
- (NSMutableArray *)buttons {
NSString *tweakBundlePath = [[NSBundle mainBundle] pathForResource:@"uYouPlus" ofType:@"bundle"];
NSString *uYouPlusLightSettingsPath;
NSString *uYouPlusDarkSettingsPath;
NSString *uYouPlusMainSettingsPath;
if (tweakBundlePath) {
NSBundle *tweakBundle = [NSBundle bundleWithPath:tweakBundlePath];
uYouPlusMainSettingsPath = [tweakBundle pathForResource:@"uYouPlus_logo_main" ofType:@"png"];