Fix crash when editing list

This commit is contained in:
Shadowfacts 2021-02-06 14:35:34 -05:00
parent 73aceda97f
commit 37e90229c2
1 changed files with 5 additions and 0 deletions

View File

@ -47,6 +47,7 @@ class EditListAccountsViewController: EnhancedTableViewController {
guard case let .account(id) = item else { fatalError() }
let cell = tableView.dequeueReusableCell(withIdentifier: "accountCell", for: indexPath) as! AccountTableViewCell
cell.delegate = self
cell.updateUI(accountID: id)
return cell
})
@ -171,3 +172,7 @@ extension EditListAccountsViewController: SearchResultsViewControllerDelegate {
}
}
}
extension EditListAccountsViewController: TuskerNavigationDelegate {
var apiController: MastodonController { mastodonController }
}