2021-08-03 07:33:18 +00:00
|
|
|
package com.discord.widgets.auth;
|
|
|
|
|
|
|
|
import android.text.Editable;
|
2021-10-15 06:18:26 +00:00
|
|
|
import c0.z.d.m;
|
|
|
|
import c0.z.d.o;
|
2021-08-03 07:33:18 +00:00
|
|
|
import com.discord.utilities.auth.RegistrationFlowRepo;
|
|
|
|
import com.discord.utilities.view.extensions.ViewExtensions;
|
|
|
|
import com.google.android.material.textfield.TextInputLayout;
|
|
|
|
import kotlin.Unit;
|
|
|
|
import kotlin.jvm.functions.Function1;
|
|
|
|
/* compiled from: WidgetAuthRegisterAccountInformation.kt */
|
|
|
|
public final class WidgetAuthRegisterAccountInformation$onViewBound$1 extends o implements Function1<Editable, Unit> {
|
|
|
|
public final /* synthetic */ WidgetAuthRegisterAccountInformation this$0;
|
|
|
|
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
|
|
public WidgetAuthRegisterAccountInformation$onViewBound$1(WidgetAuthRegisterAccountInformation widgetAuthRegisterAccountInformation) {
|
|
|
|
super(1);
|
|
|
|
this.this$0 = widgetAuthRegisterAccountInformation;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* 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(Editable editable) {
|
|
|
|
invoke(editable);
|
|
|
|
return Unit.a;
|
|
|
|
}
|
|
|
|
|
|
|
|
public final void invoke(Editable editable) {
|
|
|
|
m.checkNotNullParameter(editable, "it");
|
|
|
|
RegistrationFlowRepo instance = RegistrationFlowRepo.Companion.getINSTANCE();
|
|
|
|
TextInputLayout textInputLayout = WidgetAuthRegisterAccountInformation.access$getBinding$p(this.this$0).e;
|
|
|
|
m.checkNotNullExpressionValue(textInputLayout, "binding.authRegisterAccountInformationUsernameWrap");
|
|
|
|
instance.setUsername(ViewExtensions.getTextOrEmpty(textInputLayout));
|
|
|
|
}
|
|
|
|
}
|