From f03f5a2e02147647655126f57173913ebdd1d7ba Mon Sep 17 00:00:00 2001 From: "aricloverGitHub (INACTIVE)" <78001398+arichornlover@users.noreply.github.com> Date: Wed, 4 Dec 2024 17:50:16 -0600 Subject: [PATCH] Update RootOptionsController.m --- Sources/RootOptionsController.m | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Sources/RootOptionsController.m b/Sources/RootOptionsController.m index 6f70cc7..b931f16 100644 --- a/Sources/RootOptionsController.m +++ b/Sources/RootOptionsController.m @@ -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; }