mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-05 04:29:47 +00:00
Update uYouPlus.xm
This commit is contained in:
parent
36f762136d
commit
07c2b22a29
1 changed files with 4 additions and 3 deletions
|
|
@ -99,10 +99,11 @@ NSBundle *tweakBundle = uYouPlusBundle();
|
|||
return retVal;
|
||||
}
|
||||
%new;
|
||||
- (void)settingsAction {
|
||||
- (void)settingsAction {
|
||||
YTSettingsViewController *settingsVC = [[YTSettingsViewController alloc] init];
|
||||
id<YTResponder> parentResponder = [settingsVC _parentResponder];
|
||||
[parentResponder triggerSettingsMenu];
|
||||
UIViewController *rootVC = [UIApplication sharedApplication].keyWindow.rootViewController;
|
||||
UINavigationController *navController = (UINavigationController *)rootVC;
|
||||
[navController pushViewController:settingsVC animated:YES];
|
||||
}
|
||||
%end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue