Fix performance for connection list

This commit is contained in:
世界
2025-12-06 19:37:21 +08:00
parent 2044535979
commit 5c7df0d608
4 changed files with 38 additions and 11 deletions
@@ -16,8 +16,8 @@ public struct ConnectionListView: View {
Text("Empty connections")
} else {
ScrollView {
VStack {
ForEach(viewModel.filteredConnections(), id: \.id) { it in
LazyVStack {
ForEach(viewModel.filteredConnections, id: \.id) { it in
ConnectionView(it)
}
}