Try to debug new settings UI toggle
This commit is contained in:
parent
4de07c2d7a
commit
25fda866ec
2 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue