mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-19 22:22:06 +00:00
Updated Themes (New Button: Custom Dark Theme)
Added a button to let anyone be able to use trigger the Custom Theme Colors. (exclusive to Dark Theme only.)
This commit is contained in:
parent
38cd078dc3
commit
be3a005893
1 changed files with 10 additions and 0 deletions
|
|
@ -168,6 +168,16 @@ extern NSBundle *uYouPlusBundle();
|
|||
return YES;
|
||||
}
|
||||
],
|
||||
[YTSettingsSectionItemClass
|
||||
checkmarkItemWithTitle:LOC(@"Custom Dark Theme")
|
||||
titleDescription:LOC(@"In order to use Custom Themes that is in the uYouPlus Button, you will need to select this to be able to use custom colors.")
|
||||
selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
||||
[[NSUserDefaults standardUserDefaults] setInteger:3 forKey:@"appTheme"];
|
||||
[settingsViewController reloadData];
|
||||
SHOW_RELAUNCH_YT_SNACKBAR;
|
||||
return YES;
|
||||
}
|
||||
],
|
||||
[YTSettingsSectionItemClass
|
||||
switchItemWithTitle:LOC(@"OLED_KEYBOARD")
|
||||
titleDescription:LOC(@"OLED_KEYBOARD_DESC")
|
||||
|
|
|
|||
Loading…
Reference in a new issue