Update uYouPlus.xm

This commit is contained in:
arichornlover 2024-06-26 00:12:27 -05:00 committed by GitHub
parent dd258d092e
commit ad6db4f972
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -102,8 +102,7 @@ NSBundle *tweakBundle = uYouPlusBundle();
- (void)settingsAction {
YTSettingsViewController *settingsVC = [YTSettingsViewController new];
UIViewController *rootVC = [UIApplication sharedApplication].keyWindow.rootViewController;
UINavigationController *navController = [[UINavigationController alloc] initWithRootViewController:settingsVC];
[rootVC presentViewController:navController animated:YES completion:nil];
[rootVC.navigationController pushViewController:settingsVC animated:YES];
}
%end