prevent app crash for jailbroken devices
same for jailed devices if ytabconfig not injected
This commit is contained in:
1 parent
dcbfeba8b7
commit
97ffc204b8
1 file changed
+6
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user