Removed uppercase from admin log section.

This commit is contained in:
23rd 2022-07-07 03:28:43 +03:00 committed by John Preston
parent 6450c213e6
commit 6cc0d4f7d5
2 changed files with 4 additions and 3 deletions

View File

@ -124,6 +124,7 @@ FixedBar::FixedBar(
_search->setClickedCallback([=] { showSearch(); });
_cancel->setClickedCallback([=] { cancelSearch(); });
_field->hide();
_filter->setTextTransform(Ui::RoundButton::TextTransform::NoTransform);
connect(_field, &Ui::FlatInput::cancelled, [=] { cancelSearch(); });
connect(_field, &Ui::FlatInput::changed, [=] { searchUpdated(); });
connect(_field, &Ui::FlatInput::submitted, [=] { applySearch(); });
@ -281,7 +282,7 @@ Widget::Widget(
, _fixedBarShadow(this)
, _whatIsThis(
this,
tr::lng_admin_log_about(tr::now).toUpper(),
tr::lng_admin_log_about(tr::now),
st::historyComposeButton) {
_fixedBar->move(0, 0);
_fixedBar->resizeToWidth(width());

View File

@ -24,7 +24,7 @@ BackButton::BackButton(
rpl::producer<bool> oneColumnValue)
: Ui::AbstractButton(parent)
, _session(session)
, _text(text.toUpper()) {
, _text(text) {
setCursor(style::cur_pointer);
std::move(
@ -46,7 +46,7 @@ BackButton::BackButton(
}
void BackButton::setText(const QString &text) {
_text = text.toUpper();
_text = text;
update();
}