Move feedback to overflow menu and help menu

This commit is contained in:
Mikayla Maki 2023-03-10 12:48:11 -08:00
parent bb721a08f5
commit e45104a1c0
5 changed files with 17 additions and 7 deletions

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(