From 25fda866ec885480ea0f7328c12709a5c29783f9 Mon Sep 17 00:00:00 2001 From: Bryce Hackel <34104885+bhackel@users.noreply.github.com> Date: Fri, 5 Jul 2024 23:05:07 -0700 Subject: [PATCH] Try to debug new settings UI toggle --- Source/Settings.xm | 1 - YTLitePlus.xm | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Settings.xm b/Source/Settings.xm index 79ff3a4..3e26b1a 100644 --- a/Source/Settings.xm +++ b/Source/Settings.xm @@ -43,7 +43,6 @@ static const NSInteger YTLitePlusSection = 788; static const NSInteger YTLiteSection = 789; %hook YTSettingsGroupData + (NSMutableArray *)tweaks { - NSLog(@"bhackel: called hooked 'tweaks' method."); NSMutableArray *originalTweaks = %orig; static dispatch_once_t onceToken; diff --git a/YTLitePlus.xm b/YTLitePlus.xm index 9063ed8..3364f26 100644 --- a/YTLitePlus.xm +++ b/YTLitePlus.xm @@ -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