mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-21 11:52:00 +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
|
%end
|
||||||
|
|
||||||
|
%hook YTSettingsSectionController
|
||||||
|
- (void)setSelectedItem:(NSUInteger)selectedItem {
|
||||||
|
if (selectedItem != NSNotFound) %orig;
|
||||||
|
}
|
||||||
|
%end
|
||||||
|
|
||||||
%hook YTSettingsSectionItemManager
|
%hook YTSettingsSectionItemManager
|
||||||
%new(v@:@)
|
%new(v@:@)
|
||||||
- (void)updateTweakSectionWithEntry:(id)entry {
|
- (void)updateTweakSectionWithEntry:(id)entry {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue