mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-21 07:41:59 +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
|
// YTStockVolumeHUD - https://github.com/lilacvibes/YTStockVolumeHUD
|
||||||
%group gStockVolumeHUD
|
%group gStockVolumeHUD
|
||||||
%hook YTVolumeBarView
|
// Use YTColdConfig's method instead of YTStockVolumeHUD.xm, see https://x.com/PoomSmart/status/1756904290445332653
|
||||||
- (void)volumeChanged:(id)arg1 {
|
%hook YTColdConfig
|
||||||
%orig(nil);
|
- (BOOL)iosUseSystemVolumeControlInFullscreen {
|
||||||
|
return IS_ENABLED(@"stockVolumeHUD_enabled") ? YES : %orig;
|
||||||
}
|
}
|
||||||
%end
|
%end
|
||||||
|
%end
|
||||||
|
|
||||||
%hook UIApplication
|
%hook UIApplication
|
||||||
- (void)setSystemVolumeHUDEnabled:(BOOL)arg1 forAudioCategory:(id)arg2 {
|
- (void)setSystemVolumeHUDEnabled:(BOOL)arg1 forAudioCategory:(id)arg2 {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue