mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Use rpl::empty instead of rpl::empty_value().
This commit is contained in:
@@ -269,9 +269,7 @@ void EditPrivacyBox::setupContent() {
|
||||
};
|
||||
const auto addExceptionLink = [=](Exception exception) {
|
||||
const auto update = Ui::CreateChild<rpl::event_stream<>>(content);
|
||||
auto label = update->events_starting_with(
|
||||
rpl::empty_value()
|
||||
) | rpl::map([=] {
|
||||
auto label = update->events_starting_with({}) | rpl::map([=] {
|
||||
return Settings::ExceptionUsersCount(exceptions(exception));
|
||||
}) | rpl::map([](int count) {
|
||||
return count
|
||||
|
Reference in New Issue
Block a user