2021-08-03 07:33:18 +00:00
|
|
|
package com.discord.widgets.mobile_reports;
|
|
|
|
|
2021-10-15 06:18:26 +00:00
|
|
|
import c0.z.d.m;
|
2021-08-03 07:33:18 +00:00
|
|
|
import com.discord.api.report.ReportNodeElementData;
|
|
|
|
import com.discord.widgets.mobile_reports.MobileReportsViewModel;
|
|
|
|
import rx.functions.Action1;
|
|
|
|
/* compiled from: ReportsMenuNode.kt */
|
|
|
|
public final class ReportsMenuNode$setupCheckbox$$inlined$forEach$lambda$1<T> implements Action1<Boolean> {
|
|
|
|
public final /* synthetic */ MobileReportsViewModel.CheckboxElement $checkboxData$inlined;
|
|
|
|
public final /* synthetic */ ReportNodeElementData $entry$inlined;
|
|
|
|
public final /* synthetic */ ReportsMenuNode this$0;
|
|
|
|
|
|
|
|
public ReportsMenuNode$setupCheckbox$$inlined$forEach$lambda$1(ReportNodeElementData reportNodeElementData, ReportsMenuNode reportsMenuNode, MobileReportsViewModel.CheckboxElement checkboxElement) {
|
|
|
|
this.$entry$inlined = reportNodeElementData;
|
|
|
|
this.this$0 = reportsMenuNode;
|
|
|
|
this.$checkboxData$inlined = checkboxElement;
|
|
|
|
}
|
|
|
|
|
|
|
|
public final void call(Boolean bool) {
|
|
|
|
m.checkNotNullExpressionValue(bool, "isChecked");
|
|
|
|
if (bool.booleanValue()) {
|
|
|
|
this.$checkboxData$inlined.getSelections().add(this.$entry$inlined);
|
|
|
|
} else {
|
|
|
|
this.$checkboxData$inlined.getSelections().remove(this.$entry$inlined);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|