mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-02 07:25:46 +00:00
Replaced mapping to rpl::empty_value with rpl::to_empty.
This commit is contained in:
@@ -425,9 +425,7 @@ void SessionsBox::Inner::showData(const Full &data) {
|
||||
}
|
||||
|
||||
rpl::producer<> SessionsBox::Inner::terminateAll() const {
|
||||
return _terminateAll->clicks() | rpl::map([] {
|
||||
return rpl::empty_value();
|
||||
});
|
||||
return _terminateAll->clicks() | rpl::to_empty;
|
||||
}
|
||||
|
||||
rpl::producer<uint64> SessionsBox::Inner::terminateOne() const {
|
||||
|
Reference in New Issue
Block a user