mirror of
https://github.com/SoPat712/YTLitePlus.git
synced 2025-08-22 02:38:45 -04:00
Try to debug new settings UI toggle
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user