discord-jadx/app/src/main/java/com/discord/widgets/chat/input/WidgetChatInput$configureSe...

33 lines
1.6 KiB
Java

package com.discord.widgets.chat.input;
import com.discord.widgets.chat.input.models.ApplicationCommandData;
import d0.z.d.m;
import d0.z.d.o;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.functions.Function2;
/* compiled from: WidgetChatInput.kt */
public final class WidgetChatInput$configureSendListeners$1 extends o implements Function2<ApplicationCommandData, Function1<? super Boolean, ? extends Unit>, Unit> {
public final /* synthetic */ WidgetChatInput this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public WidgetChatInput$configureSendListeners$1(WidgetChatInput widgetChatInput) {
super(2);
this.this$0 = widgetChatInput;
}
/* 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] */
@Override // kotlin.jvm.functions.Function2
public /* bridge */ /* synthetic */ Unit invoke(ApplicationCommandData applicationCommandData, Function1<? super Boolean, ? extends Unit> function1) {
invoke(applicationCommandData, (Function1<? super Boolean, Unit>) function1);
return Unit.a;
}
public final void invoke(ApplicationCommandData applicationCommandData, Function1<? super Boolean, Unit> function1) {
m.checkNotNullParameter(applicationCommandData, "applicationCommandData");
m.checkNotNullParameter(function1, "onValidationResult");
function1.invoke(Boolean.valueOf(WidgetChatInput.access$getViewModel$p(this.this$0).sendCommand(applicationCommandData)));
}
}