60 lines
2.4 KiB
Java
60 lines
2.4 KiB
Java
package com.discord.widgets.hubs;
|
|
|
|
import android.content.Context;
|
|
import android.view.View;
|
|
import androidx.fragment.app.FragmentManager;
|
|
import b.a.d.j;
|
|
import com.discord.i18n.RenderContext;
|
|
import d0.z.d.m;
|
|
import d0.z.d.o;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function1;
|
|
/* compiled from: WidgetHubDomainSearch.kt */
|
|
/* loaded from: classes2.dex */
|
|
public final class WidgetHubDomainSearch$onViewBound$5 extends o implements Function1<RenderContext, Unit> {
|
|
public final /* synthetic */ WidgetHubDomainSearch this$0;
|
|
|
|
/* compiled from: WidgetHubDomainSearch.kt */
|
|
/* renamed from: com.discord.widgets.hubs.WidgetHubDomainSearch$onViewBound$5$1 reason: invalid class name */
|
|
/* loaded from: classes2.dex */
|
|
public static final class AnonymousClass1 extends o implements Function1<View, Unit> {
|
|
public AnonymousClass1() {
|
|
super(1);
|
|
}
|
|
|
|
@Override // kotlin.jvm.functions.Function1
|
|
public /* bridge */ /* synthetic */ Unit invoke(View view) {
|
|
invoke2(view);
|
|
return Unit.a;
|
|
}
|
|
|
|
/* renamed from: invoke reason: avoid collision after fix types in other method */
|
|
public final void invoke2(View view) {
|
|
m.checkNotNullParameter(view, "it");
|
|
j jVar = j.g;
|
|
FragmentManager parentFragmentManager = WidgetHubDomainSearch$onViewBound$5.this.this$0.getParentFragmentManager();
|
|
Context context = view.getContext();
|
|
m.checkNotNullExpressionValue(context, "it.context");
|
|
j.g(jVar, parentFragmentManager, context, WidgetHubWaitlist.class, 0, true, null, new HubWaitlistArgs(WidgetHubDomainSearch$onViewBound$5.this.this$0.getArgs().getEmail()), 40);
|
|
}
|
|
}
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
public WidgetHubDomainSearch$onViewBound$5(WidgetHubDomainSearch widgetHubDomainSearch) {
|
|
super(1);
|
|
this.this$0 = widgetHubDomainSearch;
|
|
}
|
|
|
|
@Override // kotlin.jvm.functions.Function1
|
|
public /* bridge */ /* synthetic */ Unit invoke(RenderContext renderContext) {
|
|
invoke2(renderContext);
|
|
return Unit.a;
|
|
}
|
|
|
|
/* renamed from: invoke reason: avoid collision after fix types in other method */
|
|
public final void invoke2(RenderContext renderContext) {
|
|
m.checkNotNullParameter(renderContext, "$receiver");
|
|
renderContext.b("onJoinWaitlist", new AnonymousClass1());
|
|
}
|
|
}
|