Truncate long notes (#715)

Changelog-Added: Truncate large posts and add a show more button
This commit is contained in:
OlegAba
2023-02-28 23:53:48 -05:00
committed by William Casarin
parent 77f5268336
commit 6b1f57d6d0
4 changed files with 40 additions and 7 deletions

View File

@@ -29,7 +29,7 @@ struct EventBody: View {
ReplyDescription(event: event, profiles: damus_state.profiles)
}
NoteContentView(damus_state: damus_state, event: event, show_images: should_show_img, size: size, artifacts: .just_content(content))
NoteContentView(damus_state: damus_state, event: event, show_images: should_show_img, size: size, artifacts: .just_content(content), truncate: true)
.frame(maxWidth: .infinity, alignment: .leading)
}
}