commit d5766253cf5271e723d220f3e16c2c78fc7b4d1b
parent 571ed39d52813488a978bb57ee0f74a978762897
Author: William Casarin <jb55@jb55.com>
Date: Sun, 16 Jul 2023 13:37:40 -0700
build: fix unused variable warning
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/damus/Views/Profile/EditMetadataView.swift b/damus/Views/Profile/EditMetadataView.swift
@@ -221,7 +221,7 @@ enum NIP05ValidationResult {
}
func validate_nostr_address(nip05: NIP05?, nip05_str: String) -> NIP05ValidationResult {
- guard let nip05 else {
+ guard nip05 != nil else {
// couldn't parse
if nip05_str.isEmpty {
return .empty