mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Add emoji-status disclaimer for unknown peers.
This commit is contained in:
@@ -2367,13 +2367,12 @@ void InnerWidget::refreshEmptyLabel() {
|
||||
});
|
||||
_empty.create(this, std::move(full), st::dialogsEmptyLabel);
|
||||
resizeEmptyLabel();
|
||||
_empty->setClickHandlerFilter([=](const auto &...) {
|
||||
_empty->overrideLinkClickHandler([=] {
|
||||
if (_emptyState == EmptyState::NoContacts) {
|
||||
_controller->showAddContact();
|
||||
} else if (_emptyState == EmptyState::EmptyFolder) {
|
||||
editOpenedFilter();
|
||||
}
|
||||
return false;
|
||||
});
|
||||
_empty->setVisible(_state == WidgetState::Default);
|
||||
}
|
||||
|
Reference in New Issue
Block a user