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

Replaced mapping to rpl::empty_value with rpl::to_empty.

This commit is contained in:
23rd
2020-06-21 19:25:29 +03:00
committed by John Preston
parent e318a7d65f
commit 0696a2d5c0
29 changed files with 60 additions and 111 deletions

View File

@@ -335,7 +335,7 @@ TabbedSelector::TabbedSelector(
rpl::merge(
(full()
? stickers()->scrollUpdated() | rpl::map([] { return 0; })
? stickers()->scrollUpdated() | rpl::map_to(0)
: rpl::never<int>() | rpl::type_erased()),
_scroll->scrollTopChanges()
) | rpl::start_with_next([=] {