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:
@@ -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() {
|
||||
|
Reference in New Issue
Block a user