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

33 lines
1.4 KiB
Java
Raw Normal View History

2021-12-17 21:59:34 +00:00
package b.a.y;
2021-07-24 02:37:17 +00:00
import com.discord.widgets.user.search.WidgetGlobalSearchModel;
2021-11-02 06:38:17 +00:00
import d0.z.d.m;
import d0.z.d.o;
2021-08-10 21:19:22 +00:00
import java.util.List;
2021-07-24 02:37:17 +00:00
import kotlin.Unit;
2021-08-10 21:19:22 +00:00
import kotlin.jvm.functions.Function2;
2021-07-24 02:37:17 +00:00
/* compiled from: OverlayVoiceSelectorBubbleDialog.kt */
2022-03-07 09:34:54 +00:00
/* loaded from: classes2.dex */
2021-08-10 21:19:22 +00:00
public final class x extends o implements Function2<List<? extends WidgetGlobalSearchModel.ItemDataPayload>, List<? extends WidgetGlobalSearchModel.ItemDataPayload>, Unit> {
2021-07-24 02:37:17 +00:00
public final /* synthetic */ WidgetGlobalSearchModel $searchModel$inlined;
2021-08-10 21:19:22 +00:00
public final /* synthetic */ z this$0;
2021-07-24 02:37:17 +00:00
2022-03-07 09:34:54 +00:00
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
2021-08-10 21:19:22 +00:00
public x(z zVar, WidgetGlobalSearchModel widgetGlobalSearchModel) {
super(2);
this.this$0 = zVar;
2021-07-24 02:37:17 +00:00
this.$searchModel$inlined = widgetGlobalSearchModel;
}
2021-08-10 21:19:22 +00:00
@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>");
2021-12-02 18:53:44 +00:00
if (!m.areEqual(this.this$0.C, this.$searchModel$inlined.getFilter())) {
2022-03-28 08:10:50 +00:00
this.this$0.f317z.f.scrollToPosition(0);
2021-12-02 18:53:44 +00:00
this.this$0.C = this.$searchModel$inlined.getFilter();
2021-07-24 02:37:17 +00:00
}
return Unit.a;
}
}