Remove deprecated options (uYouPlusSettings.xm)

Stuff like “Fix LowContrastMode” no longer works. It’s been removed.
This commit is contained in:
aricloverEXTRA 2025-03-24 16:09:55 -05:00 committed by GitHub
parent ee38664c64
commit c5a16d4328
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -366,18 +366,6 @@ NSString *cacheDescription = [NSString stringWithFormat:@"%@", GetCacheSize()];
];
[sectionItems addObject:clearCache];
YTSettingsSectionItem *refreshConnection = [%c(YTSettingsSectionItem)
itemWithTitle:LOC(@"REFRESH_CONNECTION")
titleDescription:LOC(@"REFRESH_CONNECTION_DESC")
accessibilityIdentifier:nil
detailTextBlock:nil
selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
ResetNetworkSettings();
return YES;
}
];
[sectionItems addObject:refreshConnection];
# pragma mark - App theme
SECTION_HEADER(LOC(@"THEME_OPTIONS"));
@ -658,7 +646,6 @@ NSString *cacheDescription = [NSString stringWithFormat:@"%@", GetCacheSize()];
];
[sectionItems addObject:lowContrastModeButton];
SWITCH2(LOC(@"CLASSIC_VIDEO_PLAYER"), LOC(@"CLASSIC_VIDEO_PLAYER_DESC"), kClassicVideoPlayer);
SWITCH2(LOC(@"FIX_LOWCONTRASTMODE"), LOC(@"FIX_LOWCONTRASTMODE_DESC"), kFixLowContrastMode);
SWITCH2(LOC(@"DISABLE_MODERN_BUTTONS"), LOC(@"DISABLE_MODERN_BUTTONS_DESC"), kDisableModernButtons);
SWITCH2(LOC(@"DISABLE_ROUNDED_CORNERS_ON_HINTS"), LOC(@"DISABLE_ROUNDED_CORNERS_ON_HINTS_DESC"), kDisableRoundedHints);
SWITCH2(LOC(@"DISABLE_MODERN_FLAGS"), LOC(@"DISABLE_MODERN_FLAGS_DESC"), kDisableModernFlags);