damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit acc4650fa8fcc17a205e9a8e62288fbcd085d177
parent 749364189676eda0465b0a9799227b0fdf31d226
Author: William Casarin <jb55@jb55.com>
Date:   Fri, 18 Nov 2022 18:40:51 -0800

dms: use lazyvstack

otherwise it's slow as balls

Diffstat:
Mdamus/Views/DirectMessagesView.swift | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/damus/Views/DirectMessagesView.swift b/damus/Views/DirectMessagesView.swift @@ -13,7 +13,7 @@ struct DirectMessagesView: View { var MainContent: some View { ScrollView { - VStack { + LazyVStack { ForEach(model.dms, id: \.0) { tup in MaybeEvent(tup) }