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.

Add Sign in button for an unregistered user

Piotr Osiewicz433c5d30f57c
diff --git a/crates/collab_ui/src/collab_titlebar_item.rs b/crates/collab_ui/src/collab_titlebar_item.rs
index d2a9dda4803..54caf9b26f3 100644
--- a/crates/collab_ui/src/collab_titlebar_item.rs
+++ b/crates/collab_ui/src/collab_titlebar_item.rs
@@ -99,6 +99,7 @@ impl View for CollabTitlebarItem {
right_container.add_child(self.render_user_menu_button(&theme, avatar, cx));
} else {
right_container.add_children(self.render_connection_status(status, cx));
+ right_container.add_child(self.render_sign_in_button(&theme, cx));
right_container.add_child(self.render_user_menu_button(&theme, None, cx));
}
@@ -319,7 +320,6 @@ impl CollabTitlebarItem {
"Share Feedback",
feedback::feedback_editor::GiveFeedback,
),
- ContextMenuItem::action("Sign in", SignIn),
]
};
diff --git a/crates/zed-actions/Cargo.toml b/crates/zed-actions/Cargo.toml
index c6868b1546f..b3fe3cbb53c 100644
--- a/crates/zed-actions/Cargo.toml
+++ b/crates/zed-actions/Cargo.toml
@@ -2,6 +2,7 @@
name = "zed-actions"
version = "0.1.0"
edition = "2021"
+publish = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html