Don't show both realname and username if they are the same
Changelog-Changed: Don't show both realname and username if they are the same
This commit is contained in:
@@ -31,7 +31,7 @@ struct ReplyView: View {
|
||||
.map { pubkey in
|
||||
let pk = pubkey.ref_id
|
||||
let prof = damus.profiles.lookup(id: pk)
|
||||
return Profile.displayName(profile: prof, pubkey: pk)
|
||||
return Profile.displayName(profile: prof, pubkey: pk).username
|
||||
}
|
||||
.joined(separator: ", ")
|
||||
Text(names)
|
||||
|
||||
Reference in New Issue
Block a user