Remove completed TODOs

This commit is contained in:
Joseph T. Lyons 2023-12-13 21:35:30 -05:00
parent 0db62f0ceb
commit 435256ab0f

View File

@ -426,8 +426,6 @@ impl Render for FeedbackModal {
Button::new("send_feedback", submit_button_text) Button::new("send_feedback", submit_button_text)
.color(Color::Accent) .color(Color::Accent)
.style(ButtonStyle::Filled) .style(ButtonStyle::Filled)
// TODO: Ensure that while submitting, "Sending..." is shown and disable the button
// TODO: If submit errors: show popup with error, don't close modal, set text back to "Submit", and re-enable button
.on_click(cx.listener(|this, _, cx| { .on_click(cx.listener(|this, _, cx| {
this.submit(cx).detach(); this.submit(cx).detach();
})) }))