36 lines
1.4 KiB
Java
36 lines
1.4 KiB
Java
package com.discord.widgets.settings.account.mfa;
|
|
|
|
import android.content.Context;
|
|
import android.view.View;
|
|
import d0.z.d.m;
|
|
import d0.z.d.o;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function1;
|
|
/* compiled from: WidgetEnableMFAInput.kt */
|
|
public final class WidgetEnableMFAInput$onViewBound$1 extends o implements Function1<String, Unit> {
|
|
public final /* synthetic */ View $view;
|
|
public final /* synthetic */ WidgetEnableMFAInput this$0;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public WidgetEnableMFAInput$onViewBound$1(WidgetEnableMFAInput widgetEnableMFAInput, View view) {
|
|
super(1);
|
|
this.this$0 = widgetEnableMFAInput;
|
|
this.$view = view;
|
|
}
|
|
|
|
/* 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(String str) {
|
|
invoke(str);
|
|
return Unit.a;
|
|
}
|
|
|
|
public final void invoke(String str) {
|
|
m.checkNotNullParameter(str, "verificationCode");
|
|
WidgetEnableMFAViewModel access$getViewModel$p = WidgetEnableMFAInput.access$getViewModel$p(this.this$0);
|
|
Context context = this.$view.getContext();
|
|
m.checkNotNullExpressionValue(context, "view.context");
|
|
access$getViewModel$p.enableMFA(context, str);
|
|
}
|
|
}
|