damus

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

commit 605d88add16e60f517bf2296051e7617a7202c9f
parent 2b0a7d126d500ea731f0528ddecec1d635a4e600
Author: Daniel D’Aquino <daniel@daquino.me>
Date:   Sat, 13 Jul 2024 00:32:00 +0000

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>

Diffstat:
Mdamus/Views/Chat/ChatEventView.swift | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/damus/Views/Chat/ChatEventView.swift b/damus/Views/Chat/ChatEventView.swift @@ -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) }