Fix build (IOS-14)

This commit is contained in:
Nathan Mattes 2023-06-28 09:46:41 +02:00
parent 79ba6ed13f
commit 7c977d562f
1 changed files with 6 additions and 6 deletions

View File

@ -26,9 +26,9 @@ class AboutViewController: UIViewController {
let tableViewDataSource = UITableViewDiffableDataSource<AboutSettingsSection, AboutSettingsEntry>(tableView: tableView) { [weak self] tableView, indexPath, itemIdentifier in
guard let self,
let cell = tableView.dequeueReusableCell(withIdentifier: AboutMastodonTableViewCell.reuseIdentifier, for: indexPath) as? AboutMastodonTableViewCell else { fatalError("WTF?? Wrong Cell dude!") }
let cell = tableView.dequeueReusableCell(withIdentifier: AboutMastodonTableViewCell.reuseIdentifier, for: indexPath) as? AboutMastodonTableViewCell else { fatalError("WTF?? Wrong Cell dude!") }
let entry = sections[indexPath.section].entries[indexPath.row]
let entry = self.sections[indexPath.section].entries[indexPath.row]
cell.configure(with: entry)
return cell