nip05: rename nip05 to Nostr Address in search
Forgot this one
This commit is contained in:
@@ -30,11 +30,11 @@ struct SearchingEventView: View {
|
|||||||
var search_name: String {
|
var search_name: String {
|
||||||
switch search_type {
|
switch search_type {
|
||||||
case .nip05:
|
case .nip05:
|
||||||
return "nip05"
|
return "Nostr Address"
|
||||||
case .profile:
|
case .profile:
|
||||||
return "profile"
|
return "Profile"
|
||||||
case .event:
|
case .event:
|
||||||
return "note"
|
return "Note"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -110,7 +110,7 @@ struct SearchingEventView: View {
|
|||||||
}
|
}
|
||||||
.buttonStyle(PlainButtonStyle())
|
.buttonStyle(PlainButtonStyle())
|
||||||
case .not_found:
|
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
|
.onChange(of: evid, debounceTime: 0.5) { evid in
|
||||||
|
|||||||
Reference in New Issue
Block a user