mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-03-11 17:15:32 +00:00
parent
eeb742e779
commit
5da0c7d482
1 changed files with 5 additions and 3 deletions
|
|
@ -560,11 +560,13 @@ BOOL isAd(YTIElementRenderer *self) {
|
|||
|
||||
// YTStockVolumeHUD - https://github.com/lilacvibes/YTStockVolumeHUD
|
||||
%group gStockVolumeHUD
|
||||
%hook YTVolumeBarView
|
||||
- (void)volumeChanged:(id)arg1 {
|
||||
%orig(nil);
|
||||
// Use YTColdConfig's method instead of YTStockVolumeHUD.xm, see https://x.com/PoomSmart/status/1756904290445332653
|
||||
%hook YTColdConfig
|
||||
- (BOOL)iosUseSystemVolumeControlInFullscreen {
|
||||
return IS_ENABLED(@"stockVolumeHUD_enabled") ? YES : %orig;
|
||||
}
|
||||
%end
|
||||
%end
|
||||
|
||||
%hook UIApplication
|
||||
- (void)setSystemVolumeHUDEnabled:(BOOL)arg1 forAudioCategory:(id)arg2 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue