ShowWidget: When unsub notification expires, remove show from the ignore list.

This should not make any difference regarding the behaviour since
the Show id is eq to the sqlite rowid which means that even
if the same show was removed and readded it would have diff id.
This commit is contained in:
Jordan Petridis 2018-03-27 11:09:53 +03:00
parent 822a72efde
commit 7e2640e2d0
No known key found for this signature in database
GPG Key ID: CEABAD9F5683B9A6

View File

@ -209,6 +209,11 @@ impl App {
}
let callback = clone!(pd => move || {
if let Err(err) = utils::uningore_show(pd.id()) {
error!("Could not insert {} to the ignore list.", pd.title());
error!("Error: {}", err);
}
// Spawn a thread so it won't block the ui.
thread::spawn(clone!(pd => move || {
if let Err(err) = delete_show(&pd) {