mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-07 18:06:04 +00:00
Move lang keys to td_lang library.
This commit is contained in:
@@ -89,7 +89,10 @@ CodeWidget::CodeWidget(
|
||||
, _callTimeout(getData()->callTimeout)
|
||||
, _callLabel(this, st::introDescription)
|
||||
, _checkRequestTimer([=] { checkRequest(); }) {
|
||||
subscribe(Lang::Current().updated(), [this] { refreshLang(); });
|
||||
Lang::Updated(
|
||||
) | rpl::start_with_next([=] {
|
||||
refreshLang();
|
||||
}, lifetime());
|
||||
|
||||
connect(_code, &CodeInput::changed, [=] { codeChanged(); });
|
||||
_noTelegramCode->addClickHandler([=] { noTelegramCode(); });
|
||||
|
Reference in New Issue
Block a user