mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-21 03:32:08 +00:00
Update Settings.xm
This commit is contained in:
parent
f585221627
commit
bd0aedb4a9
1 changed files with 2 additions and 2 deletions
|
|
@ -247,7 +247,7 @@ extern NSBundle *uYouPlusBundle();
|
||||||
# pragma mark - UI interface options
|
# pragma mark - UI interface options
|
||||||
SECTION_HEADER(LOC(@"UI Interface Options"));
|
SECTION_HEADER(LOC(@"UI Interface Options"));
|
||||||
|
|
||||||
SWITCH_ITEM3(LOC(@"Low Contrast Mode"), LOC(@"This will lower the contrast of texts and buttons, similar to the old YouTube Interface. App restart is required."), @"lowContrastMode_enabled");
|
SWITCH_ITEM2(LOC(@"Low Contrast Mode"), LOC(@"This will lower the contrast of texts and buttons, similar to the old YouTube Interface. App restart is required."), @"lowContrastMode_enabled");
|
||||||
YTSettingsSectionItem *lowContrastMode = [%c(YTSettingsSectionItem)
|
YTSettingsSectionItem *lowContrastMode = [%c(YTSettingsSectionItem)
|
||||||
itemWithTitle:@"Low Contrast Mode Selector"
|
itemWithTitle:@"Low Contrast Mode Selector"
|
||||||
accessibilityIdentifier:nil
|
accessibilityIdentifier:nil
|
||||||
|
|
@ -266,7 +266,7 @@ extern NSBundle *uYouPlusBundle();
|
||||||
[[NSUserDefaults standardUserDefaults] setInteger:0 forKey:@"lcm"];
|
[[NSUserDefaults standardUserDefaults] setInteger:0 forKey:@"lcm"];
|
||||||
[settingsViewController reloadData];
|
[settingsViewController reloadData];
|
||||||
return YES;
|
return YES;
|
||||||
}]
|
}],
|
||||||
[YTSettingsSectionItemClass checkmarkItemWithTitle:LOC(@"Hex Color") titleDescription:nil selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
[YTSettingsSectionItemClass checkmarkItemWithTitle:LOC(@"Hex Color") titleDescription:nil selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
||||||
[[NSUserDefaults standardUserDefaults] setInteger:1 forKey:@"lcm"];
|
[[NSUserDefaults standardUserDefaults] setInteger:1 forKey:@"lcm"];
|
||||||
[settingsViewController reloadData];
|
[settingsViewController reloadData];
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue