From b0a2dd49cea99f9d877eb46f71b7aae1d82d2df7 Mon Sep 17 00:00:00 2001 From: Bryce Hackel <34104885+bhackel@users.noreply.github.com> Date: Sat, 6 Jul 2024 19:52:58 -0700 Subject: [PATCH] give up on new settings UI --- Source/Settings.xm | 2 +- YTLitePlus.xm | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Source/Settings.xm b/Source/Settings.xm index 3e26b1a..86bd28a 100644 --- a/Source/Settings.xm +++ b/Source/Settings.xm @@ -337,7 +337,7 @@ static const NSInteger YTLiteSection = 789; YTSettingsSectionItem *miscellaneousGroup = [YTSettingsSectionItemClass itemWithTitle:LOC(@"MISCELLANEOUS") accessibilityIdentifier:nil detailTextBlock:nil selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) { NSArray *rows = @[ playbackInFeedsGroup, - BASIC_SWITCH(LOC(@"NEW_SETTINGS_UI"), LOC(@"NEW_SETTINGS_UI_DESC"), @"newSettingsUI_enabled"), + // BASIC_SWITCH(LOC(@"NEW_SETTINGS_UI"), LOC(@"NEW_SETTINGS_UI_DESC"), @"newSettingsUI_enabled"), // disabled because YTLite is probably forcing it to NO BASIC_SWITCH(LOC(@"ENABLE_YT_STARTUP_ANIMATION"), LOC(@"ENABLE_YT_STARTUP_ANIMATION_DESC"), @"ytStartupAnimation_enabled"), BASIC_SWITCH(LOC(@"HIDE_MODERN_INTERFACE"), LOC(@"HIDE_MODERN_INTERFACE_DESC"), @"ytNoModernUI_enabled"), BASIC_SWITCH(LOC(@"IPAD_LAYOUT"), LOC(@"IPAD_LAYOUT_DESC"), @"iPadLayout_enabled"), diff --git a/YTLitePlus.xm b/YTLitePlus.xm index 3364f26..9063ed8 100644 --- a/YTLitePlus.xm +++ b/YTLitePlus.xm @@ -462,8 +462,6 @@ static NSData *cellDividerData = nil; // New Settings UI - @bhackel %hook YTColdConfig - (BOOL)mainAppCoreClientEnableCairoSettings { - NSLog(@"bhackel: mainAppCoreClientEnableCairoSettings"); - return YES; return IS_ENABLED(@"newSettingsUI_enabled"); } %end