2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-04 00:25:17 +00:00

Use tr:: instead of Lang::Viewer.

This commit is contained in:
John Preston
2019-06-18 14:16:43 +02:00
parent f35085800a
commit 7af0dd105e
43 changed files with 483 additions and 511 deletions

View File

@@ -350,9 +350,7 @@ void ChangePhoneBox::prepare() {
const auto label = Ui::CreateChild<Ui::FlatLabel>(
this,
Lang::Viewer(
lng_change_phone_about
) | Ui::Text::ToRichLangValue(),
tr::lng_change_phone_about(Ui::Text::RichLangValue),
st::changePhoneDescription);
label->moveToLeft((st::boxWideWidth - label->width()) / 2, st::changePhoneDescriptionTop);