mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-12 07:10:24 +00:00
prevent app crash for jailbroken devices
same for jailed devices if ytabconfig not injected
This commit is contained in:
parent
dcbfeba8b7
commit
97ffc204b8
1 changed files with 6 additions and 0 deletions
|
|
@ -32,6 +32,12 @@ extern NSBundle *uYouPlusBundle();
|
|||
}
|
||||
%end
|
||||
|
||||
%hook YTSettingsSectionController
|
||||
- (void)setSelectedItem:(NSUInteger)selectedItem {
|
||||
if (selectedItem != NSNotFound) %orig;
|
||||
}
|
||||
%end
|
||||
|
||||
%hook YTSettingsSectionItemManager
|
||||
%new(v@:@)
|
||||
- (void)updateTweakSectionWithEntry:(id)entry {
|
||||
|
|
|
|||
Loading…
Reference in a new issue