commit 976665396971c9909210bbb48626b337a8fdf8d3
parent 5d91e7e595903300f8b08a4eea81b8f5a721577b
Author: ericholguin <eric.holguinsanchez@gmail.com>
Date: Tue, 7 Mar 2023 21:27:53 -0700
Add dot operator separate event time from profile name
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git 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()