From e963970c62bd9fb8007694143fb90ecaea198da2 Mon Sep 17 00:00:00 2001 From: Nicholas Tay Date: Fri, 25 Mar 2022 10:02:00 +1100 Subject: ForayNewTableViewCell -> ForayTableViewCell --- foray/Scenes/ForayTableViewController.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'foray/Scenes/ForayTableViewController.swift') diff --git a/foray/Scenes/ForayTableViewController.swift b/foray/Scenes/ForayTableViewController.swift index baa0e6b..72d3569 100644 --- a/foray/Scenes/ForayTableViewController.swift +++ b/foray/Scenes/ForayTableViewController.swift @@ -30,7 +30,7 @@ class ForayTableViewController: UITableViewController, ForayCoordinated { tableView.rowHeight = UITableView.automaticDimension // Register our custom cell - tableView.register(ForayNewTableViewCell.self, forCellReuseIdentifier: "ForayNewTableViewCell") + tableView.register(ForayTableViewCell.self, forCellReuseIdentifier: "ForayTableViewCell") // Not sure if this is the right way to go about this... coordinator?.showLoading() @@ -85,7 +85,7 @@ class ForayTableViewController: UITableViewController, ForayCoordinated { icon = UIImage(named: "spy")! } - let cell: ForayNewTableViewCell = tableView.dequeueReusableCell(withIdentifier: "ForayNewTableViewCell", for: indexPath) as! ForayNewTableViewCell + let cell: ForayTableViewCell = tableView.dequeueReusableCell(withIdentifier: "ForayTableViewCell", for: indexPath) as! ForayTableViewCell cell.setData(name: item.name, desc: type + "ID: " + item.id, img: icon) return cell } -- cgit