damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit 0e55b08b6c9215757a3ade4691a4c4d94b6c4396
parent ff70cb7ebf37d3e48357b5d3052afd8caa70113d
Author: William Casarin <jb55@jb55.com>
Date:   Mon, 17 Jul 2023 10:51:27 -0700

Revert removing nip05 badges on profiles

Changelog-Added: Re-add nip05 badges to profiles

This partially reverts commit 7ae7584135d49121a15c386909f1c268359a6e72.

Diffstat:
Mdamus/Views/Profile/ProfileName.swift | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/damus/Views/Profile/ProfileName.swift b/damus/Views/Profile/ProfileName.swift @@ -84,12 +84,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 {