Fixed predownload button's state updating

This commit is contained in:
Observer KRypt0n_ 2022-10-31 15:30:23 +02:00
parent 4b9eed3684
commit a462583b7b
No known key found for this signature in database
GPG key ID: 844DA47BA25FE1E2

View file

@ -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| { receiver.attach(None, clone!(@strong this => move |state| {