Comments [WIP]

This commit is contained in:
Ali
2020-09-26 00:13:56 +04:00
parent d04a765ba7
commit 9eea375b66
29 changed files with 131 additions and 93 deletions

View File

@@ -143,8 +143,8 @@ func preparedChatHistoryViewTransition(from fromView: ChatHistoryView?, to toVie
index += 1
}
}
case let .index(scrollIndex, position, directionHint, animated):
if case .center = position {
case let .index(scrollIndex, position, directionHint, animated, highlight):
if case .center = position, highlight {
scrolledToIndex = scrollIndex
}
var index = toView.filteredEntries.count - 1