Merge pull request #2263 from zed-industries/language-status-bar
Language status bar
This commit is contained in:
commit
30a08467b0
12 changed files with 183 additions and 35 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue