2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 22:16:14 +00:00

Remove base::Observable / base::Variable.

This commit is contained in:
John Preston
2022-11-11 11:21:40 +04:00
parent 73e2cc96d1
commit 644ec1f599
22 changed files with 112 additions and 108 deletions

View File

@@ -2508,9 +2508,8 @@ void InnerWidget::refresh(bool toTop) {
_mustScrollTo.fire({ 0, 0 });
loadPeerPhotos();
}
_controller->dialogsListDisplayForced().set(
_searchInChat || !_filter.isEmpty(),
true);
_controller->setDialogsListDisplayForced(
_searchInChat || !_filter.isEmpty());
update();
}
@@ -2648,9 +2647,8 @@ void InnerWidget::searchInChat(Key key, PeerData *from) {
}
moveCancelSearchButtons();
_controller->dialogsListDisplayForced().set(
_searchInChat || !_filter.isEmpty(),
true);
_controller->setDialogsListDisplayForced(
_searchInChat || !_filter.isEmpty());
}
void InnerWidget::refreshSearchInChatLabel() {