34 lines
1.6 KiB
Java
34 lines
1.6 KiB
Java
package c.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 w extends o implements Function2<List<? extends WidgetGlobalSearchModel.ItemDataPayload>, List<? extends WidgetGlobalSearchModel.ItemDataPayload>, Unit> {
|
|
public final /* synthetic */ WidgetGlobalSearchModel $searchModel$inlined;
|
|
public final /* synthetic */ y this$0;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public w(y yVar, WidgetGlobalSearchModel widgetGlobalSearchModel) {
|
|
super(2);
|
|
this.this$0 = yVar;
|
|
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.B, this.$searchModel$inlined.getFilter())) {
|
|
this.this$0.f242y.f.scrollToPosition(0);
|
|
this.this$0.B = this.$searchModel$inlined.getFilter();
|
|
}
|
|
return Unit.a;
|
|
}
|
|
}
|