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

@@ -352,9 +352,9 @@ PhotoEditorControls::PhotoEditorControls(
}, _stickersButton->lifetime());
}
rpl::single(
rpl::empty_value()
) | rpl::skip(modifications.flipped ? 0 : 1) | rpl::then(
rpl::single(rpl::empty) | rpl::skip(
modifications.flipped ? 0 : 1
) | rpl::then(
_flipButton->clicks() | rpl::to_empty
) | rpl::start_with_next([=] {
_flipped = !_flipped;