mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-03-11 17:15:32 +00:00
Fix mistakes
This commit is contained in:
parent
717d581a90
commit
43d5e38056
3 changed files with 3 additions and 4 deletions
|
|
@ -27,7 +27,7 @@
|
|||
#import <YouTubeHeader/YTInlinePlayerBarContainerView.h>
|
||||
#import <YouTubeHeader/YTInnerTubeCollectionViewController.h>
|
||||
#import <YouTubeHeader/YTPivotBarItemView.h>
|
||||
#import <Tweaks/YouTubeHeader/YTCollectionViewCell.h>
|
||||
#import <YouTubeHeader/YTCollectionViewCell.h>
|
||||
|
||||
// Hide buttons under the video player by @PoomSmart
|
||||
#import <YouTubeHeader/ASCollectionElement.h>
|
||||
|
|
|
|||
|
|
@ -602,15 +602,13 @@ BOOL isAd(YTIElementRenderer *self) {
|
|||
%end
|
||||
|
||||
// Use stock iOS volume HUD
|
||||
// Use YTColdConfig's method instead of YTStockVolumeHUD.xm, see https://x.com/PoomSmart/status/1756904290445332653
|
||||
// Use YTColdConfig's method, see https://x.com/PoomSmart/status/1756904290445332653
|
||||
%group gStockVolumeHUD
|
||||
%hook YTColdConfig
|
||||
- (BOOL)iosUseSystemVolumeControlInFullscreen {
|
||||
return IS_ENABLED(@"stockVolumeHUD_enabled") ? YES : %orig;
|
||||
}
|
||||
%end
|
||||
%end
|
||||
|
||||
%hook UIApplication
|
||||
- (void)setSystemVolumeHUDEnabled:(BOOL)arg1 forAudioCategory:(id)arg2 {
|
||||
%orig(true, arg2);
|
||||
|
|
|
|||
|
|
@ -167,6 +167,7 @@ UIColor* raisedColor = [UIColor colorWithRed:0.035 green:0.035 blue:0.035 alpha:
|
|||
%hook GOODialogView
|
||||
- (void)setBackgroundColor:(UIColor *)color {
|
||||
return IS_DARK_APPEARANCE_ENABLED ? %orig([UIColor blackColor]) : %orig;
|
||||
}
|
||||
%end
|
||||
|
||||
// Playlist sort
|
||||
|
|
|
|||
Loading…
Reference in a new issue