2021-06-27 20:44:35 +00:00
|
|
|
package com.discord.widgets.user.email;
|
|
|
|
|
|
|
|
import android.view.View;
|
|
|
|
import c.a.l.b;
|
|
|
|
import com.discord.restapi.RestAPIParams;
|
|
|
|
import com.discord.utilities.rest.RestAPI;
|
|
|
|
import com.discord.utilities.rx.ObservableExtensionsKt;
|
|
|
|
import com.discord.widgets.user.email.WidgetUserEmailVerify;
|
|
|
|
import d0.z.d.o;
|
|
|
|
import kotlin.Unit;
|
|
|
|
import kotlin.jvm.functions.Function0;
|
|
|
|
import kotlin.jvm.functions.Function1;
|
|
|
|
/* compiled from: WidgetUserEmailVerify.kt */
|
|
|
|
public final class WidgetUserEmailVerify$configureUI$2 implements View.OnClickListener {
|
|
|
|
public final /* synthetic */ WidgetUserEmailVerify.Model $model;
|
|
|
|
public final /* synthetic */ WidgetUserEmailVerify this$0;
|
|
|
|
|
|
|
|
/* compiled from: WidgetUserEmailVerify.kt */
|
|
|
|
/* renamed from: com.discord.widgets.user.email.WidgetUserEmailVerify$configureUI$2$1 reason: invalid class name */
|
|
|
|
public static final class AnonymousClass1 extends o implements Function1<Void, Unit> {
|
|
|
|
public final /* synthetic */ WidgetUserEmailVerify$configureUI$2 this$0;
|
|
|
|
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
|
|
public AnonymousClass1(WidgetUserEmailVerify$configureUI$2 widgetUserEmailVerify$configureUI$2) {
|
|
|
|
super(1);
|
|
|
|
this.this$0 = widgetUserEmailVerify$configureUI$2;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* 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] */
|
|
|
|
@Override // kotlin.jvm.functions.Function1
|
|
|
|
public /* bridge */ /* synthetic */ Unit invoke(Void r1) {
|
|
|
|
invoke(r1);
|
|
|
|
return Unit.a;
|
|
|
|
}
|
|
|
|
|
|
|
|
public final void invoke(Void r6) {
|
|
|
|
WidgetUserEmailVerify$configureUI$2 widgetUserEmailVerify$configureUI$2 = this.this$0;
|
|
|
|
WidgetUserEmailVerify widgetUserEmailVerify = widgetUserEmailVerify$configureUI$2.this$0;
|
2021-07-13 20:23:20 +00:00
|
|
|
c.a.d.o.j(widgetUserEmailVerify, b.j(widgetUserEmailVerify, 2131894654, new Object[]{widgetUserEmailVerify$configureUI$2.$model.getEmail()}, null, 4), 0, 4);
|
2021-06-27 20:44:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
public WidgetUserEmailVerify$configureUI$2(WidgetUserEmailVerify widgetUserEmailVerify, WidgetUserEmailVerify.Model model) {
|
|
|
|
this.this$0 = widgetUserEmailVerify;
|
|
|
|
this.$model = model;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override // android.view.View.OnClickListener
|
|
|
|
public final void onClick(View view) {
|
|
|
|
ObservableExtensionsKt.appSubscribe$default(ObservableExtensionsKt.ui$default(ObservableExtensionsKt.restSubscribeOn$default(RestAPI.Companion.getApi().postAuthVerifyResend(new RestAPIParams.EmptyBody()), false, 1, null), this.this$0, null, 2, null), this.this$0.getClass(), this.this$0.getContext(), (Function1) null, (Function1) null, (Function0) null, (Function0) null, new AnonymousClass1(this), 60, (Object) null);
|
|
|
|
}
|
|
|
|
}
|