aboutsummaryrefslogtreecommitdiff
path: root/foray/Scenes
diff options
context:
space:
mode:
authorNicholas Tay <nick@windblume.net>2022-03-25 10:02:00 +1100
committerNicholas Tay <nick@windblume.net>2022-03-25 10:02:00 +1100
commite963970c62bd9fb8007694143fb90ecaea198da2 (patch)
tree9abbd00e3c55a0985c0266caf4eab5400ed7a081 /foray/Scenes
parent1752ea7075939fb49dd72e0b8ea2accc2be1b02a (diff)
downloadforayios-e963970c62bd9fb8007694143fb90ecaea198da2.tar.gz
forayios-e963970c62bd9fb8007694143fb90ecaea198da2.tar.bz2
forayios-e963970c62bd9fb8007694143fb90ecaea198da2.zip
ForayNewTableViewCell -> ForayTableViewCell
Diffstat (limited to 'foray/Scenes')
-rw-r--r--foray/Scenes/ForayTableViewCell.swift (renamed from foray/Scenes/ForayNewTableViewCell.swift)2
-rw-r--r--foray/Scenes/ForayTableViewController.swift4
2 files changed, 3 insertions, 3 deletions
diff --git a/foray/Scenes/ForayNewTableViewCell.swift b/foray/Scenes/ForayTableViewCell.swift
index 224709a..3849169 100644
--- a/foray/Scenes/ForayNewTableViewCell.swift
+++ b/foray/Scenes/ForayTableViewCell.swift
@@ -8,7 +8,7 @@
import UIKit
import SnapKit
-class ForayNewTableViewCell: UITableViewCell {
+class ForayTableViewCell: UITableViewCell {
let container: UIView = UIView()
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
}