2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Handle view resize/repaint requests for mainView.

This commit is contained in:
John Preston
2018-01-18 14:46:45 +03:00
parent d1a9d3992b
commit 91f369a0b3
19 changed files with 121 additions and 108 deletions

View File

@@ -94,7 +94,7 @@ DialogsInner::DialogsInner(QWidget *parent, not_null<Window::Controller*> contro
) | rpl::start_with_next(
[this](auto item) { itemRemoved(item); },
lifetime());
Auth().data().itemViewRepaintRequest(
Auth().data().itemRepaintRequest(
) | rpl::start_with_next([this](auto item) {
const auto history = item->history();
if (history->textCachedFor == item) {