Revert removing nip05 badges on profiles
Changelog-Added: Re-add nip05 badges to profiles
This partially reverts commit 7ae7584135.
This commit is contained in:
@@ -84,12 +84,10 @@ struct ProfileName: View {
|
|||||||
Text(verbatim: "\(prefix)\(name_choice)")
|
Text(verbatim: "\(prefix)\(name_choice)")
|
||||||
.font(.body)
|
.font(.body)
|
||||||
.fontWeight(prefix == "@" ? .none : .bold)
|
.fontWeight(prefix == "@" ? .none : .bold)
|
||||||
/*
|
|
||||||
if let nip05 = current_nip05 {
|
if let nip05 = current_nip05 {
|
||||||
NIP05Badge(nip05: nip05, pubkey: pubkey, contacts: damus_state.contacts, show_domain: show_nip5_domain, clickable: true)
|
NIP05Badge(nip05: nip05, pubkey: pubkey, contacts: damus_state.contacts, show_domain: show_nip5_domain, clickable: true)
|
||||||
}
|
}
|
||||||
*/
|
if let friend = friend_type, current_nip05 == nil {
|
||||||
if let friend = friend_type {
|
|
||||||
FriendIcon(friend: friend)
|
FriendIcon(friend: friend)
|
||||||
}
|
}
|
||||||
if onlyzapper {
|
if onlyzapper {
|
||||||
|
|||||||
Reference in New Issue
Block a user