pull/847/head
Ryan Zhao 2 years ago
parent 249ccab466
commit f855d89af2

@ -1285,12 +1285,6 @@ final class ConversationVC: BaseVC, ConversationSearchControllerDelegate, UITabl
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let section: ConversationViewModel.SectionModel = viewModel.interactionData[indexPath.section]
Storage.shared.read { db in
let interaction = try? Interaction.fetchOne(db, id: 8)
print(interaction)
print(try? interaction?.linkPreview.fetchOne(db))
}
switch section.model {
case .messages:
let cellViewModel: MessageViewModel = section.elements[indexPath.row]

Loading…
Cancel
Save