Clean some unintended line breaks
This commit is contained in:
1 parent
8bea48479d
commit
6ceac73d60
1 file changed
+2
-4
@@ -237,8 +237,7 @@ typedef void(^CreateView)(UITableViewCell *, NSString *, NSDictionary *);
|
||||
return self.prefSections.count;
|
||||
}
|
||||
|
||||
- (UIView *)tableView:(UITableView *)tableView
|
||||
viewForHeaderInSection:(NSInteger)section {
|
||||
- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section {
|
||||
if (section != 0 || self.navigationController != nil) {
|
||||
return nil;
|
||||
}
|
||||
@@ -280,8 +279,7 @@ viewForHeaderInSection:(NSInteger)section {
|
||||
|
||||
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:cellID];
|
||||
if (cell == nil) {
|
||||
cell = [[UITableViewCell alloc] initWithStyle:cellStyle
|
||||
reuseIdentifier:cellID];
|
||||
cell = [[UITableViewCell alloc] initWithStyle:cellStyle reuseIdentifier:cellID];
|
||||
cell.detailTextLabel.numberOfLines = 0;
|
||||
cell.detailTextLabel.lineBreakMode = NSLineBreakByWordWrapping;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user