mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
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
|
shouldScrollToBottom = self.isCloseToBottom
|
||||||
}
|
}
|
||||||
case .update:
|
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
|
shouldScrollToBottom = self.isCloseToBottom
|
||||||
default: preconditionFailure()
|
default: preconditionFailure()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue