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.

ssh: Remove server count from modal header (#19329)

Danilo Leala41e97378204
diff --git a/crates/recent_projects/src/dev_servers.rs b/crates/recent_projects/src/dev_servers.rs
index 1babc036271..75b78f1654f 100644
--- a/crates/recent_projects/src/dev_servers.rs
+++ b/crates/recent_projects/src/dev_servers.rs
@@ -1151,17 +1151,10 @@ impl DevServerProjects {
)
.into_any_element();
- let server_count = format!("Servers: {}", ssh_connections.len());
-
Modal::new("remote-projects", Some(self.scroll_handle.clone()))
.header(
- ModalHeader::new().child(
- h_flex()
- .items_center()
- .justify_between()
- .child(Headline::new("Remote Projects (alpha)").size(HeadlineSize::XSmall))
- .child(Label::new(server_count).size(LabelSize::Small)),
- ),
+ ModalHeader::new()
+ .child(Headline::new("Remote Projects (alpha)").size(HeadlineSize::XSmall)),
)
.section(
Section::new().padded(false).child(