commit 72a060c7b31bc5e97d7ad498ff6d4a88f3e5021f
parent 9db81fd6b89bf0c8de051761e563f09d2fc4b80e
Author: William Casarin <jb55@jb55.com>
Date: Fri, 14 Jul 2023 17:05:01 -0700
nip05: rename nip05 to Nostr Address in search
Forgot this one
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/damus/Views/Search/SearchingEventView.swift b/damus/Views/Search/SearchingEventView.swift
@@ -30,11 +30,11 @@ struct SearchingEventView: View {
var search_name: String {
switch search_type {
case .nip05:
- return "nip05"
+ return "Nostr Address"
case .profile:
- return "profile"
+ return "Profile"
case .event:
- return "note"
+ return "Note"
}
}
@@ -110,7 +110,7 @@ struct SearchingEventView: View {
}
.buttonStyle(PlainButtonStyle())
case .not_found:
- Text("\(search_name.capitalized) not found", comment: "When a note or profile is not found when searching for it via its note id")
+ Text("\(search_name) not found", comment: "When a note or profile is not found when searching for it via its note id")
}
}
.onChange(of: evid, debounceTime: 0.5) { evid in