mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Improve new settings design.
This commit is contained in:
@@ -81,10 +81,12 @@ public:
|
||||
void setError(bool error);
|
||||
|
||||
rpl::producer<> deleteClicks() const {
|
||||
return _delete->entity()->clicks();
|
||||
return _delete->entity()->clicks(
|
||||
) | rpl::map([] { return rpl::empty_value(); });
|
||||
}
|
||||
rpl::producer<> restoreClicks() const {
|
||||
return _restore->entity()->clicks();
|
||||
return _restore->entity()->clicks(
|
||||
) | rpl::map([] { return rpl::empty_value(); });
|
||||
}
|
||||
|
||||
protected:
|
||||
|
Reference in New Issue
Block a user