2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Use rpl::empty instead of rpl::empty_value().

This commit is contained in:
John Preston
2022-03-11 09:55:21 +04:00
parent 437fe4ba82
commit 32d09f189b
33 changed files with 57 additions and 119 deletions

View File

@@ -364,9 +364,7 @@ void Row::setupContent(const Set &set) {
) | rpl::map([=](Loader *loader) {
return (loader && loader->id() == _id)
? loader->state()
: rpl::single(
rpl::empty_value()
) | rpl::then(
: rpl::single(rpl::empty) | rpl::then(
Updated()
) | rpl::map([=] {
return ComputeState(_id);