Merge pull request #2263 from zed-industries/language-status-bar

Language status bar
This commit is contained in:
Mikayla Maki
2023-03-10 16:26:42 -08:00
committed by GitHub
12 changed files with 183 additions and 35 deletions
+14 -4
View File
@@ -304,12 +304,22 @@ impl CollabTitlebarItem {
label: "Sign out".into(),
action: Box::new(SignOut),
},
ContextMenuItem::Item {
label: "Give Feedback".into(),
action: Box::new(feedback::feedback_editor::GiveFeedback),
},
]
} else {
vec![ContextMenuItem::Item {
label: "Sign in".into(),
action: Box::new(Authenticate),
}]
vec![
ContextMenuItem::Item {
label: "Sign in".into(),
action: Box::new(Authenticate),
},
ContextMenuItem::Item {
label: "Give Feedback".into(),
action: Box::new(feedback::feedback_editor::GiveFeedback),
},
]
};
user_menu.show(