mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2024-12-17 17:20:21 +01:00
comment
This commit is contained in:
@@ -184,7 +184,7 @@ struct ReverseList<Content: View>: UIViewControllerRepresentable {
|
||||
Task { representer.scrollState = .atDestination }
|
||||
}
|
||||
|
||||
/// Scrolls up
|
||||
/// Scrolls to a given item
|
||||
func scrollToItem(id: Int64) {
|
||||
if let loadedIndex = self.representer.items.firstIndex(where: { $0.id == id }) {
|
||||
let ci = representer.items[loadedIndex]
|
||||
|
||||
Reference in New Issue
Block a user