diff --git a/src/widgets/window.rs b/src/widgets/window.rs index c233608..4196305 100644 --- a/src/widgets/window.rs +++ b/src/widgets/window.rs @@ -221,8 +221,10 @@ impl NotifyWindow { ..models::Message::default() }); + let e = entry.clone(); entry.error_boundary().spawn(async move { p.await?; + e.set_text(""); Ok(()) }); };