CR: rename Chat -> Conversation for consistency

// FREEBIE
pull/1/head
Michael Kirk 7 years ago
parent b3705196b3
commit 6924045d6b

@ -32,7 +32,7 @@ class ConversationSearchViewController: UITableViewController {
tableView.rowHeight = UITableViewAutomaticDimension tableView.rowHeight = UITableViewAutomaticDimension
tableView.estimatedRowHeight = 60 tableView.estimatedRowHeight = 60
tableView.register(ChatSearchResultCell.self, forCellReuseIdentifier: ChatSearchResultCell.reuseIdentifier) tableView.register(ConversationSearchResultCell.self, forCellReuseIdentifier: ConversationSearchResultCell.reuseIdentifier)
tableView.register(MessageSearchResultCell.self, forCellReuseIdentifier: MessageSearchResultCell.reuseIdentifier) tableView.register(MessageSearchResultCell.self, forCellReuseIdentifier: MessageSearchResultCell.reuseIdentifier)
} }
@ -62,7 +62,7 @@ class ConversationSearchViewController: UITableViewController {
switch searchSection { switch searchSection {
case .conversations: case .conversations:
guard let cell = tableView.dequeueReusableCell(withIdentifier: ChatSearchResultCell.reuseIdentifier) as? ChatSearchResultCell else { guard let cell = tableView.dequeueReusableCell(withIdentifier: ConversationSearchResultCell.reuseIdentifier) as? ConversationSearchResultCell else {
return UITableViewCell() return UITableViewCell()
} }
@ -141,8 +141,8 @@ class ConversationSearchViewController: UITableViewController {
} }
} }
class ChatSearchResultCell: UITableViewCell { class ConversationSearchResultCell: UITableViewCell {
static let reuseIdentifier = "ChatSearchResultCell" static let reuseIdentifier = "ConversationSearchResultCell"
let nameLabel: UILabel let nameLabel: UILabel
let snippetLabel: UILabel let snippetLabel: UILabel

Loading…
Cancel
Save