mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-21 11:52:00 +00:00
Update uYouPlus.xm
This commit is contained in:
parent
93c73d6c73
commit
dd258d092e
1 changed files with 2 additions and 5 deletions
|
|
@ -102,11 +102,8 @@ NSBundle *tweakBundle = uYouPlusBundle();
|
||||||
- (void)settingsAction {
|
- (void)settingsAction {
|
||||||
YTSettingsViewController *settingsVC = [YTSettingsViewController new];
|
YTSettingsViewController *settingsVC = [YTSettingsViewController new];
|
||||||
UIViewController *rootVC = [UIApplication sharedApplication].keyWindow.rootViewController;
|
UIViewController *rootVC = [UIApplication sharedApplication].keyWindow.rootViewController;
|
||||||
UINavigationController *navController = (UINavigationController *)rootVC;
|
UINavigationController *navController = [[UINavigationController alloc] initWithRootViewController:settingsVC];
|
||||||
[navController pushViewController:settingsVC animated:YES];
|
[rootVC presentViewController:navController animated:YES completion:nil];
|
||||||
}
|
|
||||||
- (id)settingsView {
|
|
||||||
return [YTSettingsViewController new];
|
|
||||||
}
|
}
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue