forked from Juby210/discord-jadx
30 lines
1.3 KiB
Java
30 lines
1.3 KiB
Java
package com.discord.widgets.auth;
|
|
|
|
import c0.z.d.o;
|
|
import com.discord.views.phone.PhoneOrEmailInputView;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function1;
|
|
/* compiled from: WidgetAuthRegisterIdentity.kt */
|
|
public final class WidgetAuthRegisterIdentity$configureSegmentControl$1 extends o implements Function1<Integer, Unit> {
|
|
public final /* synthetic */ WidgetAuthRegisterIdentity this$0;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public WidgetAuthRegisterIdentity$configureSegmentControl$1(WidgetAuthRegisterIdentity widgetAuthRegisterIdentity) {
|
|
super(1);
|
|
this.this$0 = widgetAuthRegisterIdentity;
|
|
}
|
|
|
|
/* 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(Integer num) {
|
|
invoke(num.intValue());
|
|
return Unit.a;
|
|
}
|
|
|
|
public final void invoke(int i) {
|
|
WidgetAuthRegisterIdentity.access$setInputMode(this.this$0, i == 0 ? PhoneOrEmailInputView.Mode.PHONE : PhoneOrEmailInputView.Mode.EMAIL);
|
|
WidgetAuthRegisterIdentity.access$getBinding$p(this.this$0).g.setSelectedIndex(i);
|
|
}
|
|
}
|