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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user