Skip to content

Commit

Permalink
support 19.03.2
Browse files Browse the repository at this point in the history
Signed-off-by: xiangfeidexiaohuo <[email protected]>
  • Loading branch information
xiangfeidexiaohuo committed Jan 25, 2024
1 parent 1b18429 commit 1abb489
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ endif
DEBUG=0
FINALPACKAGE=1
ARCHS = arm64
PACKAGE_VERSION = 2.4
PACKAGE_VERSION = 2.4.1
TARGET := iphone:clang:latest:11.0

include $(THEOS)/makefiles/common.mk
Expand Down
7 changes: 6 additions & 1 deletion Settings.x
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,12 @@ static YTSettingsSectionItem *createSwitchItem(NSString *title, NSString *titleD
}];
[sectionItems addObject:version];

[settingsViewController setSectionItems:sectionItems forCategory:YTLiteSection title:@"YTLite" titleDescription:nil headerHidden:NO];
NSString *title = @"YTLite";
if ([settingsViewController respondsToSelector:@selector(setSectionItems:forCategory:title:icon:titleDescription:headerHidden:)])
[settingsViewController setSectionItems:sectionItems forCategory:YTLiteSection title:title icon:nil titleDescription:nil headerHidden:NO];
else
[settingsViewController setSectionItems:sectionItems forCategory:YTLiteSection title:title titleDescription:nil headerHidden:NO];

}

- (void)updateSectionForCategory:(NSUInteger)category withEntry:(id)entry {
Expand Down

0 comments on commit 1abb489

Please sign in to comment.