40 lines
2.0 KiB
Java
40 lines
2.0 KiB
Java
package com.discord.widgets.settings.billing;
|
|
|
|
import android.view.KeyEvent;
|
|
import android.widget.TextView;
|
|
import com.discord.widgets.settings.billing.WidgetPaymentSourceEditDialog;
|
|
import d0.z.d.m;
|
|
import d0.z.d.o;
|
|
import kotlin.jvm.functions.Function3;
|
|
/* compiled from: WidgetPaymentSourceEditDialog.kt */
|
|
public final class WidgetPaymentSourceEditDialog$initPaymentSourceInfo$6 extends o implements Function3<TextView, Integer, KeyEvent, Boolean> {
|
|
public final /* synthetic */ WidgetPaymentSourceEditDialog.StateEntry[] $states;
|
|
public final /* synthetic */ WidgetPaymentSourceEditDialog this$0;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public WidgetPaymentSourceEditDialog$initPaymentSourceInfo$6(WidgetPaymentSourceEditDialog widgetPaymentSourceEditDialog, WidgetPaymentSourceEditDialog.StateEntry[] stateEntryArr) {
|
|
super(3);
|
|
this.this$0 = widgetPaymentSourceEditDialog;
|
|
this.$states = stateEntryArr;
|
|
}
|
|
|
|
/* 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, java.lang.Object, java.lang.Object] */
|
|
@Override // kotlin.jvm.functions.Function3
|
|
public /* bridge */ /* synthetic */ Boolean invoke(TextView textView, Integer num, KeyEvent keyEvent) {
|
|
return Boolean.valueOf(invoke(textView, num.intValue(), keyEvent));
|
|
}
|
|
|
|
public final boolean invoke(TextView textView, int i, KeyEvent keyEvent) {
|
|
m.checkNotNullParameter(textView, "<anonymous parameter 0>");
|
|
if (i != 2 && i != 6) {
|
|
return false;
|
|
}
|
|
WidgetPaymentSourceEditDialog widgetPaymentSourceEditDialog = this.this$0;
|
|
WidgetPaymentSourceEditDialog.StateEntry[] stateEntryArr = this.$states;
|
|
m.checkNotNullExpressionValue(stateEntryArr, "states");
|
|
WidgetPaymentSourceEditDialog.access$selectState(widgetPaymentSourceEditDialog, stateEntryArr);
|
|
return true;
|
|
}
|
|
}
|