From a462583b7b6c5ce9f778a2034f2512a938693b1f Mon Sep 17 00:00:00 2001 From: Observer KRypt0n_ Date: Mon, 31 Oct 2022 15:30:23 +0200 Subject: [PATCH] Fixed predownload button's state updating --- src/ui/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ui/main.rs b/src/ui/main.rs index b3d1939..a851e56 100644 --- a/src/ui/main.rs +++ b/src/ui/main.rs @@ -641,7 +641,8 @@ impl App { } } - this.update(Actions::HideProgressBar).unwrap(); + // Update button from "predownload available" to "update predownloaded" + this.update_state(); })); receiver.attach(None, clone!(@strong this => move |state| {