2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Add a separate string for empty channel admin log.

This commit is contained in:
John Preston
2020-05-04 19:15:10 +04:00
parent 1f16ac59ca
commit 3260e9e752

View File

@@ -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);
} }