mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Use improved rpl::start().
This commit is contained in:
@@ -288,9 +288,9 @@ void EditPrivacyBox::createWidgets() {
|
||||
auto createExceptionLink = [this](Exception exception) {
|
||||
exceptionLink(exception).create(this, object_ptr<Ui::LinkButton>(this, exceptionLinkText(exception)), exceptionLinkMargins());
|
||||
exceptionLink(exception)->heightValue()
|
||||
| rpl::start(
|
||||
[this](int) { resizeToWidth(width()); },
|
||||
lifetime());
|
||||
| rpl::start([this](int) {
|
||||
resizeToWidth(width());
|
||||
}, lifetime());
|
||||
exceptionLink(exception)->entity()->setClickedCallback([this, exception] { editExceptionUsers(exception); });
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user