Add tooltip to submit feedback button

This commit is contained in:
Joseph Lyons 2023-02-08 10:37:04 -05:00
parent ef16963772
commit 654ee48feb

View File

@ -481,6 +481,13 @@ impl View for SubmitFeedbackButton {
.aligned()
.contained()
.with_margin_left(theme.feedback.button_margin)
.with_tooltip::<Self, _>(
0,
"cmd-s".into(),
Some(Box::new(SubmitFeedback)),
theme.tooltip.clone(),
cx,
)
.boxed()
}
}