mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Use "Open" non-upper-case.
This commit is contained in:
parent
18d9484ab1
commit
0bccb35cb0
2 changed files with 2 additions and 3 deletions
|
@ -1220,8 +1220,7 @@ void InnerWidget::paintEvent(QPaintEvent *e) {
|
||||||
const auto it = _rightButtons.find(user->id);
|
const auto it = _rightButtons.find(user->id);
|
||||||
if (it == _rightButtons.end()) {
|
if (it == _rightButtons.end()) {
|
||||||
auto rightButton = RightButton();
|
auto rightButton = RightButton();
|
||||||
const auto text
|
const auto text = tr::lng_profile_open_app_short(tr::now);
|
||||||
= tr::lng_profile_open_app_short(tr::now).toUpper();
|
|
||||||
rightButton.text.setText(st::dialogRowOpenBotTextStyle, text);
|
rightButton.text.setText(st::dialogRowOpenBotTextStyle, text);
|
||||||
const auto size = QSize(
|
const auto size = QSize(
|
||||||
rightButton.text.maxWidth()
|
rightButton.text.maxWidth()
|
||||||
|
|
|
@ -194,7 +194,7 @@ RecentRow::RecentRow(not_null<PeerData*> peer)
|
||||||
if (user->botInfo && user->botInfo->hasMainApp) {
|
if (user->botInfo && user->botInfo->hasMainApp) {
|
||||||
return std::make_unique<Ui::Text::String>(
|
return std::make_unique<Ui::Text::String>(
|
||||||
st::dialogRowOpenBotTextStyle,
|
st::dialogRowOpenBotTextStyle,
|
||||||
tr::lng_profile_open_app_short(tr::now).toUpper());
|
tr::lng_profile_open_app_short(tr::now));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return nullptr;
|
return nullptr;
|
||||||
|
|
Loading…
Add table
Reference in a new issue