2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-01 06:55:58 +00:00

Replaced observable in Lang::CloudManager with rpl.

This commit is contained in:
23rd
2021-05-25 17:12:10 +03:00
parent aad38c2809
commit daa14466e5
6 changed files with 33 additions and 24 deletions

View File

@@ -107,9 +107,10 @@ Widget::Widget(
fixOrder();
subscribe(Lang::CurrentCloudManager().firstLanguageSuggestion(), [=] {
Lang::CurrentCloudManager().firstLanguageSuggestion(
) | rpl::start_with_next([=] {
createLanguageLink();
});
}, lifetime());
_account->mtpUpdates(
) | rpl::start_with_next([=](const MTPUpdates &updates) {