nip05: rename nip05 to Nostr Address in search

Forgot this one
This commit is contained in:
William Casarin
2023-07-14 17:05:01 -07:00
parent 9db81fd6b8
commit 72a060c7b3

View File

@@ -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