mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-21 07:41:59 +00:00
It works!
This commit is contained in:
parent
81d65dbe48
commit
b8ddd45bcf
1 changed files with 4 additions and 7 deletions
|
|
@ -809,7 +809,6 @@ static NSString *accessGroupID() {
|
||||||
}
|
}
|
||||||
%end
|
%end
|
||||||
|
|
||||||
/* disabled so you guys can compile uYouEnhanced.
|
|
||||||
// uYouPlus Button in Navigation Bar (for Clear Cache and Color Options) - @arichornlover
|
// uYouPlus Button in Navigation Bar (for Clear Cache and Color Options) - @arichornlover
|
||||||
%hook YTRightNavigationButtons
|
%hook YTRightNavigationButtons
|
||||||
%property (retain, nonatomic) YTQTMButton *uYouPlusButton;
|
%property (retain, nonatomic) YTQTMButton *uYouPlusButton;
|
||||||
|
|
@ -861,14 +860,12 @@ static NSString *accessGroupID() {
|
||||||
}
|
}
|
||||||
%new;
|
%new;
|
||||||
- (void)uYouPlusRootOptionsAction {
|
- (void)uYouPlusRootOptionsAction {
|
||||||
UINavigationController *uYouPlusRootOptionsControllerView = [[UINavigationController alloc] initWithRootViewController:[[RootOptionsController alloc] init]];
|
UINavigationController *rootOptionsControllerView = [[UINavigationController alloc] initWithRootViewController:[[RootOptionsController alloc] init]];
|
||||||
[uYouPlusRootOptionsControllerView setModalPresentationStyle:UIModalPresentationFullScreen];
|
[rootOptionsControllerView setModalPresentationStyle:UIModalPresentationFullScreen];
|
||||||
|
|
||||||
UIViewController *rootPrefsViewController = [self _viewControllerForAncestor];
|
[self._viewControllerForAncestor presentViewController:rootOptionsControllerView animated:YES completion:nil];
|
||||||
[rootPrefsViewController presentViewController:uYouPlusRootOptionsControllerView animated:YES completion:nil];
|
|
||||||
}
|
}
|
||||||
%end
|
%end
|
||||||
*/
|
|
||||||
|
|
||||||
// Hide the (Connect / Share / Remix / Thanks / Download / Clip / Save) Buttons under the Video Player - 17.x.x and up - @arichornlover
|
// Hide the (Connect / Share / Remix / Thanks / Download / Clip / Save) Buttons under the Video Player - 17.x.x and up - @arichornlover
|
||||||
%hook _ASDisplayView
|
%hook _ASDisplayView
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue