mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-21 07:41:59 +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;
|
return retVal;
|
||||||
}
|
}
|
||||||
%new;
|
%new;
|
||||||
- (void)settingsAction {
|
- (void)settingsAction {
|
||||||
YTSettingsViewController *settingsVC = [[YTSettingsViewController alloc] init];
|
YTSettingsViewController *settingsVC = [[YTSettingsViewController alloc] init];
|
||||||
id<YTResponder> parentResponder = [settingsVC _parentResponder];
|
UIViewController *rootVC = [UIApplication sharedApplication].keyWindow.rootViewController;
|
||||||
[parentResponder triggerSettingsMenu];
|
UINavigationController *navController = (UINavigationController *)rootVC;
|
||||||
|
[navController pushViewController:settingsVC animated:YES];
|
||||||
}
|
}
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue