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
+8 -1
View File
@@ -1,4 +1,4 @@
#import "uYouPlus.h"
#import "Patches.h"
# pragma mark - YouTube patches
@@ -95,6 +95,13 @@
}
%end
// Fix navigation bar showing a lighter grey with default dark mode - https://github.com/therealFoxster/uYouPlus/commit/8db8197
%hook YTCommonColorPalette
- (UIColor *)brandBackgroundSolid {
return self.pageStyle == 1 ? [UIColor colorWithRed:0.05882352941176471 green:0.05882352941176471 blue:0.05882352941176471 alpha:1.0] : %orig;
}
%end
%ctor {
%init;
if (@available(iOS 16, *)) {