Move feedback to overflow menu and help menu
This commit is contained in:
parent
bb721a08f5
commit
e45104a1c0
5 changed files with 17 additions and 7 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