rpl::type_erased() -> rpl::type_erased.

This commit is contained in:
John Preston
2025-12-10 14:27:05 +04:00
parent 03e1e5cca9
commit 03df5b8546
55 changed files with 93 additions and 93 deletions

View File

@@ -545,7 +545,7 @@ void MainMenu::setupArchive() {
const auto now = folder();
auto folderValue = now
? (rpl::single(now) | rpl::type_erased())
? (rpl::single(now) | rpl::type_erased)
: controller->session().data().chatsListChanges(
) | rpl::filter([](Data::Folder *folder) {
return folder && (folder->id() == Data::Folder::kId);

View File

@@ -3406,7 +3406,7 @@ void SessionController::cacheChatThemeDone(
rpl::merge(
session().downloaderTaskFinished(),
((giftSymbol && !giftSymbol->ready())
? (_giftSymbolLoaded.events() | rpl::type_erased())
? (_giftSymbolLoaded.events() | rpl::type_erased)
: rpl::never<rpl::empty_value>())
) | rpl::filter([=] {
const auto i = _customChatThemes.find(key);