dms: use lazyvstack
otherwise it's slow as balls
This commit is contained in:
@@ -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)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user