discord-jadx/app/src/main/java/b/a/y/x.java

34 lines
1.6 KiB
Java

package b.a.y;
import com.discord.widgets.user.search.WidgetGlobalSearchModel;
import d0.z.d.m;
import d0.z.d.o;
import java.util.List;
import kotlin.Unit;
import kotlin.jvm.functions.Function2;
/* compiled from: OverlayVoiceSelectorBubbleDialog.kt */
public final class x extends o implements Function2<List<? extends WidgetGlobalSearchModel.ItemDataPayload>, List<? extends WidgetGlobalSearchModel.ItemDataPayload>, Unit> {
public final /* synthetic */ WidgetGlobalSearchModel $searchModel$inlined;
public final /* synthetic */ z this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public x(z zVar, WidgetGlobalSearchModel widgetGlobalSearchModel) {
super(2);
this.this$0 = zVar;
this.$searchModel$inlined = widgetGlobalSearchModel;
}
/* Return type fixed from 'java.lang.Object' to match base method */
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object, java.lang.Object] */
@Override // kotlin.jvm.functions.Function2
public Unit invoke(List<? extends WidgetGlobalSearchModel.ItemDataPayload> list, List<? extends WidgetGlobalSearchModel.ItemDataPayload> list2) {
m.checkNotNullParameter(list, "<anonymous parameter 0>");
m.checkNotNullParameter(list2, "<anonymous parameter 1>");
if (!m.areEqual(this.this$0.C, this.$searchModel$inlined.getFilter())) {
this.this$0.f313z.f.scrollToPosition(0);
this.this$0.C = this.$searchModel$inlined.getFilter();
}
return Unit.a;
}
}