diff --git a/Sources/uYouPlus.xm b/Sources/uYouPlus.xm index b112fce..0c18432 100644 --- a/Sources/uYouPlus.xm +++ b/Sources/uYouPlus.xm @@ -809,7 +809,6 @@ static NSString *accessGroupID() { } %end -/* disabled so you guys can compile uYouEnhanced. // uYouPlus Button in Navigation Bar (for Clear Cache and Color Options) - @arichornlover %hook YTRightNavigationButtons %property (retain, nonatomic) YTQTMButton *uYouPlusButton; @@ -861,14 +860,12 @@ static NSString *accessGroupID() { } %new; - (void)uYouPlusRootOptionsAction { - UINavigationController *uYouPlusRootOptionsControllerView = [[UINavigationController alloc] initWithRootViewController:[[RootOptionsController alloc] init]]; - [uYouPlusRootOptionsControllerView setModalPresentationStyle:UIModalPresentationFullScreen]; - - UIViewController *rootPrefsViewController = [self _viewControllerForAncestor]; - [rootPrefsViewController presentViewController:uYouPlusRootOptionsControllerView animated:YES completion:nil]; + UINavigationController *rootOptionsControllerView = [[UINavigationController alloc] initWithRootViewController:[[RootOptionsController alloc] init]]; + [rootOptionsControllerView setModalPresentationStyle:UIModalPresentationFullScreen]; + + [self._viewControllerForAncestor presentViewController:rootOptionsControllerView animated:YES completion:nil]; } %end -*/ // Hide the (Connect / Share / Remix / Thanks / Download / Clip / Save) Buttons under the Video Player - 17.x.x and up - @arichornlover %hook _ASDisplayView