diff --git a/Tweak.m b/Tweak.m index 056c025..528e923 100644 --- a/Tweak.m +++ b/Tweak.m @@ -9,7 +9,7 @@ - (NSInteger)numberOfSectionsInTableView:(id)view { NSInteger result = %orig; if ([[self specifier].identifier isEqualToString:@"MOBILE_DATA_SETTINGS_ID"]) { - if (![self tableView:view titleForHeaderInSection:result - 2]) + if (result > 2 && ![self tableView:view titleForHeaderInSection:result - 2]) cellularSectionNumber = result - 3; else cellularSectionNumber = result - 2;