damus

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

commit 4440f32814988b6196068cd48a938132f5313118
parent 3370ac59d845c1e4f02b1c3d5cb9c10fd2d24be9
Author: Joel Klabo <joelklabo@gmail.com>
Date:   Wed, 28 Dec 2022 22:03:15 -0800

Tweak Boosted Label Layout for Better Alignment

Diffstat:
Mdamus/Views/ProfileName.swift | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/damus/Views/ProfileName.swift b/damus/Views/ProfileName.swift @@ -76,10 +76,9 @@ struct ProfileName: View { Text(prefix + String(display_name ?? Profile.displayName(profile: profile, pubkey: pubkey))) .font(.body) .fontWeight(prefix == "@" ? .none : .bold) - if let frend = friend_icon { - Label("", systemImage: frend) + if let friend = friend_icon { + Image(systemName: friend) .foregroundColor(.gray) - .font(.footnote) } } .onReceive(handle_notify(.profile_updated)) { notif in