From 00da97307e880a45345b5b672f362045cf03c890 Mon Sep 17 00:00:00 2001 From: ericholguin Date: Sat, 25 Mar 2023 14:34:48 -0600 Subject: [PATCH] remove unused nip05 color function --- damus/Views/Profile/ProfileName.swift | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/damus/Views/Profile/ProfileName.swift b/damus/Views/Profile/ProfileName.swift index 4c6de5a7..4dc495d8 100644 --- a/damus/Views/Profile/ProfileName.swift +++ b/damus/Views/Profile/ProfileName.swift @@ -60,11 +60,7 @@ struct ProfileName: View { var current_nip05: NIP05? { nip05 ?? damus_state.profiles.is_validated(pubkey) } - - var nip05_color: Color { - return get_nip05_color(pubkey: pubkey, contacts: damus_state.contacts) - } - + var current_display_name: DisplayName { return display_name ?? Profile.displayName(profile: profile, pubkey: pubkey) }