From 976665396971c9909210bbb48626b337a8fdf8d3 Mon Sep 17 00:00:00 2001 From: ericholguin Date: Tue, 7 Mar 2023 21:27:53 -0700 Subject: [PATCH] Add dot operator separate event time from profile name --- damus/Views/Events/TextEvent.swift | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/damus/Views/Events/TextEvent.swift b/damus/Views/Events/TextEvent.swift index d5740ff1..e6d8bc91 100644 --- a/damus/Views/Events/TextEvent.swift +++ b/damus/Views/Events/TextEvent.swift @@ -36,11 +36,15 @@ struct TextEvent: View { } VStack(alignment: .leading) { - HStack(alignment: .center) { + HStack(alignment: .center, spacing: 0) { let pk = is_anon ? "anon" : pubkey EventProfileName(pubkey: pk, profile: profile, damus: damus, show_friend_confirmed: true, size: .normal) + Text("⋅") + .font(.footnote) + .foregroundColor(.gray) Text(verbatim: "\(format_relative_time(event.created_at))") + .font(.system(size: 16)) .foregroundColor(.gray) Spacer()