nip05: hide nip05 username if it matches the username
This commit is contained in:
1 parent
d04f1c6867
commit
7d17b9b476
2 files changed
+20
-8
No files matched your search
@@ -85,7 +85,7 @@ struct ProfileName: View {
|
||||
.font(.body)
|
||||
.fontWeight(prefix == "@" ? .none : .bold)
|
||||
if let nip05 = current_nip05 {
|
||||
NIP05Badge(nip05: nip05, pubkey: pubkey, contacts: damus_state.contacts, show_domain: show_nip5_domain)
|
||||
NIP05Badge(nip05: nip05, pubkey: pubkey, contacts: damus_state.contacts, show_domain: show_nip5_domain, profiles: damus_state.profiles)
|
||||
}
|
||||
if let friend = friend_type, current_nip05 == nil {
|
||||
FriendIcon(friend: friend)
|
||||
|
||||
Reference in new issue
Block a user