darker?
This commit is contained in:
+45
-2
@@ -22,6 +22,10 @@
|
|||||||
@interface YTPlayerViewController (YTAFS)
|
@interface YTPlayerViewController (YTAFS)
|
||||||
- (void)autoFullscreen;
|
- (void)autoFullscreen;
|
||||||
@end
|
@end
|
||||||
|
@interface ASCollectionView : UIView
|
||||||
|
@end
|
||||||
|
@interface YTLightweightQTMButton : UIView
|
||||||
|
@end
|
||||||
|
|
||||||
UIColor* oledColor = [UIColor colorWithRed:0.0 green:0.0 blue:0.0 alpha:1.0];
|
UIColor* oledColor = [UIColor colorWithRed:0.0 green:0.0 blue:0.0 alpha:1.0];
|
||||||
|
|
||||||
@@ -188,6 +192,10 @@ BOOL bigYTMiniPlayer() {
|
|||||||
arg1 = oledColor;
|
arg1 = oledColor;
|
||||||
if ([self.nextResponder isKindOfClass:%c(DownloadsPagerVC)]) //uYou
|
if ([self.nextResponder isKindOfClass:%c(DownloadsPagerVC)]) //uYou
|
||||||
arg1 = oledColor;
|
arg1 = oledColor;
|
||||||
|
if ([self.nextResponder isKindOfClass:%c(DownloadingVC)]) //uYou
|
||||||
|
arg1 = oledColor;
|
||||||
|
if ([self.nextResponder isKindOfClass:%c(PlayerVC)]) //uYou
|
||||||
|
arg1 = oledColor;
|
||||||
if ([self.nextResponder isKindOfClass:%c(YTLinkCell)])
|
if ([self.nextResponder isKindOfClass:%c(YTLinkCell)])
|
||||||
arg1 = oledColor;
|
arg1 = oledColor;
|
||||||
if ([self.nextResponder isKindOfClass:%c(YTCommentsHeaderView)])
|
if ([self.nextResponder isKindOfClass:%c(YTCommentsHeaderView)])
|
||||||
@@ -225,7 +233,7 @@ BOOL bigYTMiniPlayer() {
|
|||||||
if ([self.nextResponder isKindOfClass:%c(ASWAppSwitcherCollectionViewCell)])
|
if ([self.nextResponder isKindOfClass:%c(ASWAppSwitcherCollectionViewCell)])
|
||||||
arg1 = oledColor;
|
arg1 = oledColor;
|
||||||
%orig;
|
%orig;
|
||||||
}
|
}
|
||||||
%end
|
%end
|
||||||
|
|
||||||
%hook YTAsyncCollectionView
|
%hook YTAsyncCollectionView
|
||||||
@@ -350,6 +358,13 @@ BOOL bigYTMiniPlayer() {
|
|||||||
}
|
}
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
%hook _LNPopupBarContentView // uYou player
|
||||||
|
-(void)setBackgroundColor:(id)arg1 {
|
||||||
|
arg1 = [UIColor colorWithRed:0.0 green:0.0 blue:0.0 alpha:0.9];
|
||||||
|
%orig;
|
||||||
|
}
|
||||||
|
%end
|
||||||
|
|
||||||
%hook YTEngagementPanelHeaderView
|
%hook YTEngagementPanelHeaderView
|
||||||
-(void)setBackgroundColor:(id)arg1 {
|
-(void)setBackgroundColor:(id)arg1 {
|
||||||
arg1 = oledColor;
|
arg1 = oledColor;
|
||||||
@@ -428,6 +443,26 @@ BOOL bigYTMiniPlayer() {
|
|||||||
- (void)layoutSubviews {}
|
- (void)layoutSubviews {}
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
%hook ASCollectionView
|
||||||
|
-(void)layoutSubviews {
|
||||||
|
self.backgroundColor = oledColor;
|
||||||
|
%orig;
|
||||||
|
}
|
||||||
|
%end
|
||||||
|
|
||||||
|
%hook YTLightweightQTMButton
|
||||||
|
-(void)setBackgroundColor:(id)arg1 {
|
||||||
|
if([self.nextResponder isKindOfClass:%c(YTShareMainView)]) {
|
||||||
|
arg1 = oledColor;
|
||||||
|
%orig;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
-(void)setCustomTitleColor:(id)arg1 {
|
||||||
|
arg1 = [UIColor whiteColor];
|
||||||
|
%orig;
|
||||||
|
}
|
||||||
|
%end
|
||||||
|
|
||||||
%hook YTSearchSuggestionCollectionViewCell
|
%hook YTSearchSuggestionCollectionViewCell
|
||||||
-(void)updateColors {}
|
-(void)updateColors {}
|
||||||
%end
|
%end
|
||||||
@@ -446,26 +481,34 @@ BOOL bigYTMiniPlayer() {
|
|||||||
%orig;
|
%orig;
|
||||||
}
|
}
|
||||||
%end
|
%end
|
||||||
|
|
||||||
%hook YTChannelProfileNameEditorView // edit profile Name
|
%hook YTChannelProfileNameEditorView // edit profile Name
|
||||||
-(void)setBackgroundColor:(id)arg1 {
|
-(void)setBackgroundColor:(id)arg1 {
|
||||||
arg1 = oledColor;
|
arg1 = oledColor;
|
||||||
%orig;
|
%orig;
|
||||||
}
|
}
|
||||||
%end
|
%end
|
||||||
|
|
||||||
hook GOOTextField
|
hook GOOTextField
|
||||||
-(void)setBackgroundColor:(id)arg1 { // edit profile Description
|
-(void)setBackgroundColor:(id)arg1 { // edit profile Description
|
||||||
arg1 = oledColor;
|
arg1 = oledColor;
|
||||||
%orig;
|
%orig;
|
||||||
}
|
}
|
||||||
%end
|
%end
|
||||||
|
|
||||||
%hook GOOMultilineTextField//
|
%hook GOOMultilineTextField//
|
||||||
-(void)setBackgroundColor:(id)arg1 { // edit profile Name
|
-(void)setBackgroundColor:(id)arg1 { // edit profile Name
|
||||||
arg1 = oledColor;
|
arg1 = oledColor;
|
||||||
%orig;
|
%orig;
|
||||||
}
|
}
|
||||||
%end
|
%end
|
||||||
|
%hook YTMealBarPromoView
|
||||||
|
-(void)setBackgroundColor:(id)arg1 { // Offline?
|
||||||
|
arg1 = oledColor;
|
||||||
|
%orig;
|
||||||
|
}
|
||||||
|
%end
|
||||||
*/
|
*/
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
// YTReExplore: https://github.com/PoomSmart/YTReExplore/
|
// YTReExplore: https://github.com/PoomSmart/YTReExplore/
|
||||||
|
|||||||
Reference in New Issue
Block a user