Major refactor: split codebase into multiple files

Now for the fun part: will this compile?
This commit is contained in:
Foxster
2023-12-25 00:27:46 -08:00
parent 0a4bfd8abc
commit d24b4392b0
17 changed files with 856 additions and 879 deletions
+21
View File
@@ -0,0 +1,21 @@
#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);
}
}