nip05: remove clickable option

they're always clickable now
This commit is contained in:
William Casarin
2023-07-17 11:24:33 -07:00
parent 12febf9671
commit 5c87dd5bbb
2 changed files with 12 additions and 21 deletions

View File

@@ -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, clickable: true)
NIP05Badge(nip05: nip05, pubkey: pubkey, contacts: damus_state.contacts, show_domain: show_nip5_domain)
}
if let friend = friend_type, current_nip05 == nil {
FriendIcon(friend: friend)