From 605d88add16e60f517bf2296051e7617a7202c9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20D=E2=80=99Aquino?= Date: Sat, 13 Jul 2024 00:32:00 +0000 Subject: [PATCH] Fix issue where very long names would appear in two lines on the chat event view MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://github.com/damus-io/damus/issues/2329 Signed-off-by: Daniel D’Aquino --- damus/Views/Chat/ChatEventView.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/damus/Views/Chat/ChatEventView.swift b/damus/Views/Chat/ChatEventView.swift index 1bdc9b9e..23ae3f72 100644 --- 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) }