Update AppIconOptionsController.m

This commit is contained in:
arichornlover 2024-04-15 19:43:20 -05:00 committed by GitHub
parent cfb8ed01f1
commit 8059d6f47e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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<NSString *> *sortedIcons = [self sortedAppIcons];
[self sortedAppIcons]
NSString *iconPath = self.appIcons[indexPath.row];
cell.textLabel.text = [iconPath.lastPathComponent stringByDeletingPathExtension];