damus

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

commit 7ae7584135d49121a15c386909f1c268359a6e72
parent 139be9eef260010c4a418762df941276492fb4ff
Author: William Casarin <jb55@jb55.com>
Date:   Tue, 20 Jun 2023 16:45:30 +0200

ui: remove nip05 badge on events

Changelog-Changed: Remove nip05 on events

Diffstat:
Mdamus/Views/Profile/EventProfileName.swift | 5++++-
Mdamus/Views/Profile/ProfileName.swift | 4+++-
2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/damus/Views/Profile/EventProfileName.swift b/damus/Views/Profile/EventProfileName.swift @@ -72,11 +72,14 @@ 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 current_nip05 == nil, let frend = friend_type { + + if let frend = friend_type { FriendIcon(friend: frend) } diff --git a/damus/Views/Profile/ProfileName.swift b/damus/Views/Profile/ProfileName.swift @@ -92,10 +92,12 @@ 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, current_nip05 == nil { + */ + if let friend = friend_type { FriendIcon(friend: friend) } if onlyzapper {