2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 05:58:38 +00:00

Fixed incorrect display of no-chats label in dialogs while search mode.

This commit is contained in:
23rd 2025-07-22 15:55:01 +03:00 committed by John Preston
parent 9149792846
commit 2a15faf12e

View File

@ -4083,7 +4083,7 @@ void InnerWidget::refreshEmpty() {
_empty->setVisible(_state == WidgetState::Default);
if (_emptyList) {
_emptyList->setVisible(_state == WidgetState::Default);
_empty->setVisible(!_emptyList->isVisible());
_empty->setVisible(false);
}
if (_emptyButton) {
_emptyButton->setVisible(_state == WidgetState::Default);