mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-21 11:52:00 +00:00
Update Settings.xm
This commit is contained in:
parent
c62f450a2f
commit
b4196d96eb
1 changed files with 2 additions and 2 deletions
|
|
@ -52,7 +52,7 @@ extern NSBundle *uYouPlusBundle();
|
||||||
SECTION_HEADER(@"App theme");
|
SECTION_HEADER(@"App theme");
|
||||||
|
|
||||||
YTSettingsSectionItem *themeGroup = [YTSettingsSectionItemClass
|
YTSettingsSectionItem *themeGroup = [YTSettingsSectionItemClass
|
||||||
itemWithTitle:LOC(@"THEME_OPTIONS")
|
itemWithTitle:LOC(@"DARK_THEME")
|
||||||
accessibilityIdentifier:nil
|
accessibilityIdentifier:nil
|
||||||
detailTextBlock:^NSString *() {
|
detailTextBlock:^NSString *() {
|
||||||
switch (APP_THEME_IDX) {
|
switch (APP_THEME_IDX) {
|
||||||
|
|
@ -96,7 +96,7 @@ extern NSBundle *uYouPlusBundle();
|
||||||
}
|
}
|
||||||
settingItemId:0]
|
settingItemId:0]
|
||||||
];
|
];
|
||||||
YTSettingsPickerViewController *picker = [[%c(YTSettingsPickerViewController) alloc] initWithNavTitle:LOC(@"THEME_OPTIONS") pickerSectionTitle:nil rows:rows selectedItemIndex:APP_THEME_IDX parentResponder:[self parentResponder]];
|
YTSettingsPickerViewController *picker = [[%c(YTSettingsPickerViewController) alloc] initWithNavTitle:LOC(@"DARK_THEME") pickerSectionTitle:[LOC(@"DARK_THEME") uppercaseString] rows:rows selectedItemIndex:APP_THEME_IDX parentResponder:[self parentResponder]];
|
||||||
[settingsViewController pushViewController:picker];
|
[settingsViewController pushViewController:picker];
|
||||||
return YES;
|
return YES;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue