mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-20 19:12:06 +00:00
Update uYouPlus.xm
This commit is contained in:
parent
dd258d092e
commit
ad6db4f972
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue