Tweak Boosted Label Layout for Better Alignment
This commit is contained in:
committed by
William Casarin
parent
3370ac59d8
commit
4440f32814
@@ -76,10 +76,9 @@ struct ProfileName: View {
|
|||||||
Text(prefix + String(display_name ?? Profile.displayName(profile: profile, pubkey: pubkey)))
|
Text(prefix + String(display_name ?? Profile.displayName(profile: profile, pubkey: pubkey)))
|
||||||
.font(.body)
|
.font(.body)
|
||||||
.fontWeight(prefix == "@" ? .none : .bold)
|
.fontWeight(prefix == "@" ? .none : .bold)
|
||||||
if let frend = friend_icon {
|
if let friend = friend_icon {
|
||||||
Label("", systemImage: frend)
|
Image(systemName: friend)
|
||||||
.foregroundColor(.gray)
|
.foregroundColor(.gray)
|
||||||
.font(.footnote)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.onReceive(handle_notify(.profile_updated)) { notif in
|
.onReceive(handle_notify(.profile_updated)) { notif in
|
||||||
|
|||||||
Reference in New Issue
Block a user