Fixed predownload button's state updating
This commit is contained in:
parent
4b9eed3684
commit
a462583b7b
1 changed files with 2 additions and 1 deletions
|
@ -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| {
|
||||||
|
|
Loading…
Reference in a new issue