Fix issue where very long names would appear in two lines on the chat event view

Closes: https://github.com/damus-io/damus/issues/2329
Signed-off-by: Daniel D’Aquino <daniel@daquino.me>
This commit is contained in:
Daniel D’Aquino authored and William Casarin committed 2024-07-14 21:26:03 -07:00
1 parent 2b0a7d126d
commit 605d88add1
1 file changed
+1
+1
View File
@@ -107,6 +107,7 @@ struct ChatEventView: View {
.onTapGesture {
show_profile_action_sheet_if_enabled(damus_state: damus_state, pubkey: event.pubkey)
}
.lineLimit(1)
Text(verbatim: "\(format_relative_time(event.created_at))")
.foregroundColor(.gray)
}