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