Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

update minor text when actively searching

KCaverly358e4e5ccf62
diff --git a/crates/search/src/project_search.rs b/crates/search/src/project_search.rs
index 264ca0bd46a..b8ff3d94c5a 100644
--- a/crates/search/src/project_search.rs
+++ b/crates/search/src/project_search.rs
@@ -419,7 +419,7 @@ impl View for ProjectSearchView {
};
let minor_text = if let Some(no_results) = model.no_results {
- if no_results {
+ if model.pending_search.is_none() && no_results {
vec!["No results found in this project for the provided query".to_owned()]
} else {
vec![]