Hook up submit

This commit is contained in:
Joseph T. Lyons
2023-12-06 19:10:45 -05:00
parent 110612bf26
commit 0885fa67fc
+2 -5
View File
@@ -307,11 +307,8 @@ impl Render for FeedbackModal {
Button::new("send_feedback", "Send Feedback") Button::new("send_feedback", "Send Feedback")
.color(Color::Accent) .color(Color::Accent)
.style(ButtonStyle::Filled) .style(ButtonStyle::Filled)
// .on_click(|_, cx| { // TODO - error handling - show modal on error
// cx.build_view(|cx, this| { .on_click(cx.listener(|this, _, cx| {let _ = this.submit(cx);}))
// FeedbackModal::submit(cx)
// })
// })
.tooltip(|cx| { .tooltip(|cx| {
Tooltip::with_meta( Tooltip::with_meta(
"Submit feedback to the Zed team.", "Submit feedback to the Zed team.",