Browse Source

dms: use lazyvstack

otherwise it's slow as balls
profile-edit
William Casarin 2 years ago
parent
commit
acc4650fa8
  1. 2
      damus/Views/DirectMessagesView.swift

2
damus/Views/DirectMessagesView.swift

@ -13,7 +13,7 @@ struct DirectMessagesView: View {
var MainContent: some View { var MainContent: some View {
ScrollView { ScrollView {
VStack { LazyVStack {
ForEach(model.dms, id: \.0) { tup in ForEach(model.dms, id: \.0) { tup in
MaybeEvent(tup) MaybeEvent(tup)
} }

Loading…
Cancel
Save