mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-01-11 22:40:19 +00:00
Update RootOptionsController.m
This commit is contained in:
parent
13eaf8fcc5
commit
f03f5a2e02
1 changed files with 2 additions and 4 deletions
|
|
@ -35,14 +35,12 @@
|
|||
[self.backButton setTintColor:[UIColor systemBlueColor]];
|
||||
[self.backButton setImage:backImage forState:UIControlStateNormal];
|
||||
[self.backButton addTarget:self action:@selector(back) forControlEvents:UIControlEventTouchUpInside];
|
||||
[self.backButton setFrame:CGRectMake(0, 0, 24, 24)];
|
||||
UIBarButtonItem *customBackButton = [[UIBarButtonItem alloc] initWithCustomView:self.backButton];
|
||||
self.navigationItem.leftBarButtonItem = customBackButton;
|
||||
}
|
||||
|
||||
- (void)setupTableView {
|
||||
UITableViewStyle style = UITableViewStyleInsetGrouped;
|
||||
self.tableView = [[UITableView alloc] initWithFrame:CGRectZero style:style];
|
||||
self.tableView = [[UITableView alloc] initWithFrame:CGRectZero style:UITableViewStyleInsetGrouped];
|
||||
self.tableView.translatesAutoresizingMaskIntoConstraints = NO;
|
||||
self.tableView.dataSource = self;
|
||||
self.tableView.delegate = self;
|
||||
|
|
@ -78,8 +76,8 @@
|
|||
|
||||
if (cell == nil) {
|
||||
cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleSubtitle reuseIdentifier:CellIdentifier];
|
||||
[self configureCell:cell atIndexPath:indexPath];
|
||||
}
|
||||
[self configureCell:cell atIndexPath:indexPath];
|
||||
return cell;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue