mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-01-11 22:40:19 +00:00
21 lines
No EOL
396 B
Text
21 lines
No EOL
396 B
Text
#import "uYouPlus.h"
|
|
|
|
%group YTStockVolumeHUD // https://github.com/lilacvibes/YTStockVolumeHUD
|
|
%hook YTVolumeBarView
|
|
- (void)volumeChanged:(id)arg1 {
|
|
%orig(nil);
|
|
}
|
|
%end
|
|
|
|
%hook UIApplication
|
|
- (void)setSystemVolumeHUDEnabled:(BOOL)arg1 forAudioCategory:(id)arg2 {
|
|
%orig(true, arg2);
|
|
}
|
|
%end
|
|
%end
|
|
|
|
%ctor {
|
|
if (IS_ENABLED(@"stockVolumeHUD_enabled")) {
|
|
%init(YTStockVolumeHUD);
|
|
}
|
|
} |