diff --git a/Sources/AppIconOptionsController.m b/Sources/AppIconOptionsController.m index 9707202..ebf0226 100644 --- a/Sources/AppIconOptionsController.m +++ b/Sources/AppIconOptionsController.m @@ -17,7 +17,6 @@ [super viewDidLoad]; self.selectedIconIndex = 0; - self.defaultIconIndex = 0; self.tableView = [[UITableView alloc] initWithFrame:self.view.bounds style:UITableViewStylePlain]; self.tableView.dataSource = self; @@ -63,7 +62,7 @@ if (!cell) { cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:@"Cell"]; } - NSArray *sortedIcons = [self sortedAppIcons]; + [self sortedAppIcons] NSString *iconPath = self.appIcons[indexPath.row]; cell.textLabel.text = [iconPath.lastPathComponent stringByDeletingPathExtension];