Remove unused captures

This commit is contained in:
Eric Kotato 2022-02-28 07:17:58 +03:00 committed by GitHub
parent 610e9fe2e6
commit 4df0c47145
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -677,12 +677,12 @@ bool ShareBox::showForwardMenu(not_null<Ui::IconButton*> button) {
}, _topMenu->lifetime());
noNames->checkedChanges(
) | rpl::start_with_next([=, this](bool value) {
) | rpl::start_with_next([=](bool value) {
onForwardOptionChange(1, value);
}, _topMenu->lifetime());
noCaptions->checkedChanges(
) | rpl::start_with_next([=, this](bool value) {
) | rpl::start_with_next([=](bool value) {
onForwardOptionChange(2, value);
}, _topMenu->lifetime());
@ -721,17 +721,17 @@ bool ShareBox::showForwardMenu(not_null<Ui::IconButton*> button) {
};
groupAsIs->checkedChanges(
) | rpl::start_with_next([=, this](bool value) {
) | rpl::start_with_next([=](bool value) {
onGroupOptionChange(0, value);
}, _topMenu->lifetime());
groupAll->checkedChanges(
) | rpl::start_with_next([=, this](bool value) {
) | rpl::start_with_next([=](bool value) {
onGroupOptionChange(1, value);
}, _topMenu->lifetime());
groupNone->checkedChanges(
) | rpl::start_with_next([=, this](bool value) {
) | rpl::start_with_next([=](bool value) {
onGroupOptionChange(2, value);
}, _topMenu->lifetime());
}