Update Settings.xm

This commit is contained in:
arichornlover 2024-01-12 00:20:50 -06:00 committed by GitHub
parent 235f35f9cc
commit 0fcfe4f858
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -272,7 +272,7 @@ extern NSBundle *uYouPlusBundle();
detailTextBlock:^NSString *() {
switch (contrastMode()) {
case 1:
return LOC(@"Hex Color"); // Hex Color is in WIP for v19.xx.x-3.0.1 release
return LOC(@"Custom Color");
case 0:
default:
return LOC(@"Default");
@ -285,7 +285,7 @@ extern NSBundle *uYouPlusBundle();
[settingsViewController reloadData];
return YES;
}],
[YTSettingsSectionItemClass checkmarkItemWithTitle:LOC(@"Hex Color") titleDescription:nil selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
[YTSettingsSectionItemClass checkmarkItemWithTitle:LOC(@"Custom Color") titleDescription:nil selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
[[NSUserDefaults standardUserDefaults] setInteger:1 forKey:@"lcm"];
[settingsViewController reloadData];
return YES;