mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Add a separate string for empty channel admin log.
This commit is contained in:
@@ -488,7 +488,9 @@ void InnerWidget::updateEmptyText() {
|
|||||||
TextUtilities::Clean(_searchQuery))
|
TextUtilities::Clean(_searchQuery))
|
||||||
: hasFilter
|
: hasFilter
|
||||||
? tr::lng_admin_log_no_results_text(tr::now)
|
? tr::lng_admin_log_no_results_text(tr::now)
|
||||||
: tr::lng_admin_log_no_events_text(tr::now);
|
: _channel->isMegagroup()
|
||||||
|
? tr::lng_admin_log_no_events_text(tr::now)
|
||||||
|
: tr::lng_admin_log_no_events_text_channel(tr::now);
|
||||||
text.text.append(qstr("\n\n") + description);
|
text.text.append(qstr("\n\n") + description);
|
||||||
_emptyText.setMarkedText(st::defaultTextStyle, text, options);
|
_emptyText.setMarkedText(st::defaultTextStyle, text, options);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user