Fix glitch and add FIXME
This commit is contained in:
parent
c5c75a306e
commit
e6949a5ae8
|
@ -368,7 +368,8 @@ final class ConversationVC : BaseVC, ConversationViewModelDelegate, OWSConversat
|
|||
shouldScrollToBottom = self.isCloseToBottom
|
||||
}
|
||||
case .update:
|
||||
self.messagesTableView.reloadRows(at: [ IndexPath(row: Int(update.oldIndex), section: 0) ], with: .fade)
|
||||
// FIXME: This is called many times when a message is inserted, leading to bad performance
|
||||
self.messagesTableView.reloadRows(at: [ IndexPath(row: Int(update.oldIndex), section: 0) ], with: .none)
|
||||
shouldScrollToBottom = self.isCloseToBottom
|
||||
default: preconditionFailure()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue