mirror of https://github.com/procxx/kepka.git
Add a separate string for empty channel admin log.
This commit is contained in:
parent
1f16ac59ca
commit
3260e9e752
|
@ -488,7 +488,9 @@ void InnerWidget::updateEmptyText() {
|
|||
TextUtilities::Clean(_searchQuery))
|
||||
: hasFilter
|
||||
? 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);
|
||||
_emptyText.setMarkedText(st::defaultTextStyle, text, options);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue