Update uYouPlus.xm

This commit is contained in:
arichornlover 2024-06-26 11:15:26 -05:00 committed by GitHub
parent dc0c71c74c
commit 959c71033c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -100,9 +100,10 @@ NSBundle *tweakBundle = uYouPlusBundle();
}
%new;
- (void)settingsAction {
YTSettingsViewController *settingsVC = [YTSettingsViewController new];
UIViewController *settingsVC = [UIViewController new];
settingsVC.view.backgroundColor = [UIColor whiteColor];
UIViewController *rootVC = [UIApplication sharedApplication].keyWindow.rootViewController;
[rootVC.navigationController pushViewController:settingsVC animated:YES];
[rootVC presentViewController:settingsVC animated:YES completion:nil];
}
%end