Use rpl::empty instead of rpl::empty_value().
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user