1
0
mirror of git://jb55.com/damus synced 2024-09-16 02:03:45 +00:00

Revert "ui: remove nip05 badge on events"

This reverts commit d205be3e0a.
This commit is contained in:
William Casarin 2023-06-23 20:46:03 +02:00
parent ed73899e5b
commit 980394bf0b
2 changed files with 2 additions and 7 deletions

View File

@ -72,14 +72,11 @@ struct EventProfileName: View {
.font(eventviewsize_to_font(size))
}
/*
if let nip05 = current_nip05 {
NIP05Badge(nip05: nip05, pubkey: pubkey, contacts: damus_state.contacts, show_domain: false, clickable: false)
}
*/
if let frend = friend_type {
if current_nip05 == nil, let frend = friend_type {
FriendIcon(friend: frend)
}

View File

@ -92,12 +92,10 @@ struct ProfileName: View {
Text(verbatim: "\(prefix)\(name_choice)")
.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, clickable: true)
}
*/
if let friend = friend_type {
if let friend = friend_type, current_nip05 == nil {
FriendIcon(friend: friend)
}
if onlyzapper {