Add Sign in button for an unregistered user
This commit is contained in:
parent
092cf93dae
commit
433c5d30f5
2 changed files with 2 additions and 1 deletions
|
@ -99,6 +99,7 @@ impl View for CollabTitlebarItem {
|
||||||
right_container.add_child(self.render_user_menu_button(&theme, avatar, cx));
|
right_container.add_child(self.render_user_menu_button(&theme, avatar, cx));
|
||||||
} else {
|
} else {
|
||||||
right_container.add_children(self.render_connection_status(status, cx));
|
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));
|
right_container.add_child(self.render_user_menu_button(&theme, None, cx));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -319,7 +320,6 @@ impl CollabTitlebarItem {
|
||||||
"Share Feedback",
|
"Share Feedback",
|
||||||
feedback::feedback_editor::GiveFeedback,
|
feedback::feedback_editor::GiveFeedback,
|
||||||
),
|
),
|
||||||
ContextMenuItem::action("Sign in", SignIn),
|
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
name = "zed-actions"
|
name = "zed-actions"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
publish = false
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue