Add tooltip to submit feedback button

Joseph Lyons created

Change summary

crates/feedback/src/feedback_editor.rs | 7 +++++++
1 file changed, 7 insertions(+)

Detailed changes

crates/feedback/src/feedback_editor.rs 🔗

@@ -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()
     }
 }