Misc updates #216

Merged
bhackel merged 12 commits from misc-updates into main 2024-07-07 09:24:13 +00:00
2 changed files with 2 additions and 1 deletions
Showing only changes of commit 25fda866ec - Show all commits

View file

@ -43,7 +43,6 @@ static const NSInteger YTLitePlusSection = 788;
static const NSInteger YTLiteSection = 789;
%hook YTSettingsGroupData
+ (NSMutableArray <NSNumber *> *)tweaks {
NSLog(@"bhackel: called hooked 'tweaks' method.");
NSMutableArray <NSNumber *> *originalTweaks = %orig;
static dispatch_once_t onceToken;

View file

@ -462,6 +462,8 @@ static NSData *cellDividerData = nil;
// New Settings UI - @bhackel
%hook YTColdConfig
- (BOOL)mainAppCoreClientEnableCairoSettings {
NSLog(@"bhackel: mainAppCoreClientEnableCairoSettings");
return YES;
return IS_ENABLED(@"newSettingsUI_enabled");
}
%end