Fixed blurred display of scheduled photos that were downloaded too fast.

This commit is contained in:
23rd 2020-06-04 19:53:37 +03:00
parent 69b2030c71
commit 456244cdec
1 changed files with 6 additions and 0 deletions

View File

@ -285,6 +285,12 @@ ListWidget::ListWidget(
}
}
}, lifetime());
session().downloaderTaskFinished(
) | rpl::start_with_next([=] {
update();
}, lifetime());
session().data().itemRemoved(
) | rpl::start_with_next(
[this](auto item) { itemRemoved(item); },