Fixed handling of language switch for theme names in intro settings.

This commit is contained in:
23rd 2020-07-19 22:01:06 +03:00
parent 52cd9f8cbf
commit d46b9d024e
1 changed files with 4 additions and 0 deletions

View File

@ -1052,6 +1052,10 @@ void SetupDefaultThemes(
scheme.name(tr::now),
st::settingsTheme,
std::move(check));
scheme.name(
) | rpl::start_with_next([=](const auto &themeName) {
result->setText(themeName);
}, result->lifetime());
result->addClickHandler([=] {
schemeClicked(scheme, result->clickModifiers());
});