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
+2 -1
View File
@@ -113,7 +113,8 @@ struct ChatView: View {
event: event,
show_images: show_images,
size: .normal,
artifacts: .just_content(event.content))
artifacts: .just_content(event.content),
truncate: false)
if is_active || next_ev == nil || next_ev!.pubkey != event.pubkey {
let bar = make_actionbar_model(ev: event.id, damus: damus_state)