Fix headers
This commit is contained in:
parent
462dfee209
commit
e2c526e2ba
4 changed files with 11 additions and 9 deletions
6
.gitmodules
vendored
6
.gitmodules
vendored
|
|
@ -8,9 +8,6 @@
|
|||
path = Tweaks/Return-YouTube-Dislikes
|
||||
url = https://github.com/arichornloverALT/Return-YouTube-Dislikes.git
|
||||
branch = uYouEnhanced
|
||||
[submodule "Tweaks/YouTubeHeader"]
|
||||
path = Tweaks/YouTubeHeader
|
||||
url = https://github.com/arichornloverALT/YouTubeHeader.git
|
||||
[submodule "Tweaks/Alderis"]
|
||||
path = Tweaks/Alderis
|
||||
url = https://github.com/hbang/Alderis.git
|
||||
|
|
@ -50,3 +47,6 @@
|
|||
[submodule "Tweaks/YouGroupSettings"]
|
||||
path = Tweaks/YouGroupSettings
|
||||
url = https://github.com/arichornloverALT/YouGroupSettings.git
|
||||
[submodule "Tweaks/YouTubeHeader"]
|
||||
path = Tweaks/YouTubeHeader
|
||||
url = https://github.com/PoomSmart/YouTubeHeader.git
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 2a9bef8e9dbcd379c860fb1a07f7449076d58c41
|
||||
Subproject commit 2f411967bfe9f7b74ed58256b34992f132207d4c
|
||||
10
YTLitePlus.h
10
YTLitePlus.h
|
|
@ -33,6 +33,11 @@
|
|||
#import "Tweaks/YouTubeHeader/YTVideoWithContextNode.h"
|
||||
#import "Tweaks/YouTubeHeader/ELMCellNode.h"
|
||||
#import "Tweaks/YouTubeHeader/ELMNodeController.h"
|
||||
#import "Tweaks/YouTubeHeader/YTMainAppVideoPlayerOverlayViewController.h"
|
||||
#import "Tweaks/YouTubeHeader/YTInlinePlayerBarContainerView.h"
|
||||
#import "Tweaks/YouTubeHeader/YTWatchViewController.h"
|
||||
#import "Tweaks/YouTubeHeader/YTWatchPullToFullController.h"
|
||||
#import "Tweaks/YouTubeHeader/YTPlayerBarController.h"
|
||||
|
||||
#define LOC(x) [tweakBundle localizedStringForKey:x value:nil table:nil]
|
||||
#define YT_BUNDLE_ID @"com.google.ios.youtube"
|
||||
|
|
@ -73,9 +78,6 @@
|
|||
- (void)confirmAlertDidPressConfirm;
|
||||
@end
|
||||
|
||||
@interface YTMainAppControlsOverlayView: UIView
|
||||
@end
|
||||
|
||||
@interface YTTransportControlsButtonView : UIView
|
||||
@end
|
||||
|
||||
|
|
@ -112,7 +114,7 @@
|
|||
@end
|
||||
|
||||
// BigYTMiniPlayer
|
||||
@interface YTMainAppVideoPlayerOverlayView : UIView
|
||||
@interface YTMainAppVideoPlayerOverlayView (YTLitePlus)
|
||||
- (UIViewController *)_viewControllerForAncestor;
|
||||
@end
|
||||
|
||||
|
|
|
|||
|
|
@ -453,7 +453,7 @@ BOOL isTabSelected = NO;
|
|||
%hook YTWatchPullToFullController
|
||||
- (BOOL)shouldRecognizeOverscrollEventsFromWatchOverscrollController:(id)arg1 {
|
||||
// Get the current player orientation
|
||||
YTWatchViewController *watchViewController = self.playerViewSource;
|
||||
YTWatchViewController *watchViewController = (YTWatchViewController *) self.playerViewSource;
|
||||
NSUInteger allowedFullScreenOrientations = [watchViewController allowedFullScreenOrientations];
|
||||
// Check if the current player orientation is portrait
|
||||
if (allowedFullScreenOrientations == UIInterfaceOrientationMaskAllButUpsideDown
|
||||
|
|
|
|||
Loading…
Reference in a new issue