diff --git a/Sources/uYouPlus.h b/Sources/uYouPlus.h index 7f17339..ecc45ca 100644 --- a/Sources/uYouPlus.h +++ b/Sources/uYouPlus.h @@ -27,7 +27,7 @@ #import #import #import -#import +#import // Hide buttons under the video player by @PoomSmart #import diff --git a/Sources/uYouPlus.xm b/Sources/uYouPlus.xm index 2312bd5..c26a9bb 100644 --- a/Sources/uYouPlus.xm +++ b/Sources/uYouPlus.xm @@ -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); diff --git a/Sources/uYouPlusThemes.xm b/Sources/uYouPlusThemes.xm index 5c278b2..5386911 100644 --- a/Sources/uYouPlusThemes.xm +++ b/Sources/uYouPlusThemes.xm @@ -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