diff --git a/Sources/uYouPlus.h b/Sources/uYouPlus.h index 78f0136..ff04170 100644 --- a/Sources/uYouPlus.h +++ b/Sources/uYouPlus.h @@ -1,53 +1,48 @@ #import -#import -#import #import -#import +#import #import -#import -#import +#import +#import #import - -#import "uYouPlusThemes.h" // Hide "Buy Super Thanks" banner (_ASDisplayView) -#import // Activate FLEX -#import -#import -#import -#import -#import -#import -#import -#import +#import +#import +#import +#import +#import +#import +#import +#import +#import #import #import #import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import #import -#import -#import -#import +#import +#import +#import +#import +#import +#import #import -#import // Fixes uYou crash when trying to play video (#1422) - -// Hide buttons under the video player by @PoomSmart -#import -#import -#import - -// YouTube-X +#import +#import +#import +#import +#import +#import +#import +#import +#import #import +#import +#import +#import #import -#import +#import +#import +#import +#import "uYouPlusThemes.h" // uYouPlus Themes #define LOC(x) [tweakBundle localizedStringForKey:x value:nil table:nil] #define IS_ENABLED(k) [[NSUserDefaults standardUserDefaults] boolForKey:k] @@ -58,12 +53,8 @@ #define LOWCONTRASTMODE_CUTOFF_VERSION @"17.38.10" // LowContrastMode (v17.33.2-17.38.10) // Always show remaining time in video player - @bhackel -@interface YTPlayerBarController : NSObject -@property(nonatomic, strong) YTInlinePlayerBarContainerView *playerBar; -@end -@interface YTInlinePlayerBarContainerView (uYouEnhanced) -@property(nonatomic, assign) BOOL shouldDisplayTimeRemaining; -@end +// Header has been moved to https://github.com/PoomSmart/YouTubeHeader/blob/main/YTPlayerBarController.h +// Header has been moved to https://github.com/PoomSmart/YouTubeHeader/blob/main/YTInlinePlayerBarContainerView.h // IAmYouTube @interface SSOConfiguration : NSObject @@ -82,11 +73,6 @@ - (CABasicAnimation *)uYouEnhancedGetBlankColorAnimation; @end -// Pivot Bar stuff - @arichornlover -@interface YTIPivotBarItemRenderer (uYouEnhanced) -- (NSString *)pivot_identifier; -@end - // Hide Home Tab - @bhackel @interface YTPivotBarItemViewAccessibilityControl : UIControl @end @@ -95,7 +81,7 @@ @end // YTTapToSeek - https://github.com/bhackel/YTTapToSeek -// Header has been moved to https://github.com/arichornlover/YouTubeHeader/blob/main/YTMainAppVideoPlayerOverlayViewController.h +// Header has been moved to https://github.com/arichornloverALT/YouTubeHeader/blob/main/YTMainAppVideoPlayerOverlayViewController.h // Enable Premium logo - @bhackel @interface YTITopbarLogoRenderer : NSObject @@ -141,13 +127,10 @@ @end // Disable Pull to Full for landscape videos - @bhackel -@interface YTWatchPullToFullController : NSObject -@property(nonatomic, strong) YTWatchViewController *playerViewSource; -@end -@interface YTWatchViewController (uYouEnhanced) -@property(nonatomic, strong) YTWatchPullToFullController *pullToFullController; -- (NSUInteger) allowedFullScreenOrientations; +// Header has been moved to https://github.com/PoomSmart/YouTubeHeader/blob/main/YTWatchPullToFullController.h + // Fullscreen to the Right (uYouEnhanced Version) - @arichornlover +@interface YTWatchViewController (uYouEnhanced) - (UIInterfaceOrientationMask) supportedInterfaceOrientations; - (UIInterfaceOrientation) preferredInterfaceOrientationForPresentation; - (void)forceRightFullscreenOrientation;