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

52 lines
2.3 KiB
Java

package com.discord.widgets.chat.input;
import d0.t.n;
import d0.z.d.o;
import kotlin.Unit;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.functions.Function1;
/* compiled from: WidgetChatInput.kt */
public final class WidgetChatInput$configureSendListeners$5 extends o implements Function0<Unit> {
public final /* synthetic */ WidgetChatInput$configureSendListeners$3 $trySend$3;
public final /* synthetic */ WidgetChatInput this$0;
/* compiled from: WidgetChatInput.kt */
/* renamed from: com.discord.widgets.chat.input.WidgetChatInput$configureSendListeners$5$1 reason: invalid class name */
public static final class AnonymousClass1 extends o implements Function1<Boolean, Unit> {
public final /* synthetic */ WidgetChatInput$configureSendListeners$5 this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public AnonymousClass1(WidgetChatInput$configureSendListeners$5 widgetChatInput$configureSendListeners$5) {
super(1);
this.this$0 = widgetChatInput$configureSendListeners$5;
}
/* 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(Boolean bool) {
invoke(bool.booleanValue());
return Unit.a;
}
public final void invoke(boolean z2) {
if (z2) {
WidgetChatInput.clearInput$default(this.this$0.this$0, null, false, 3, null);
}
}
}
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public WidgetChatInput$configureSendListeners$5(WidgetChatInput widgetChatInput, WidgetChatInput$configureSendListeners$3 widgetChatInput$configureSendListeners$3) {
super(0);
this.this$0 = widgetChatInput;
this.$trySend$3 = widgetChatInput$configureSendListeners$3;
}
@Override // kotlin.jvm.functions.Function0
/* renamed from: invoke */
public final void mo1invoke() {
this.$trySend$3.invoke(n.emptyList(), (Function1<? super Boolean, Unit>) new AnonymousClass1(this));
}
}