Fixed handling of language switch for theme names in intro settings.
This commit is contained in:
parent
52cd9f8cbf
commit
d46b9d024e
|
@ -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());
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue