28 lines
1.1 KiB
Java
28 lines
1.1 KiB
Java
package com.discord.widgets.chat.input;
|
|
|
|
import com.discord.widgets.chat.input.ChatInputViewModel;
|
|
import d0.z.d.o;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function0;
|
|
/* compiled from: WidgetChatInput.kt */
|
|
public final class WidgetChatInput$handleEvent$1 extends o implements Function0<Unit> {
|
|
public final /* synthetic */ ChatInputViewModel.Event $event;
|
|
public final /* synthetic */ WidgetChatInput this$0;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public WidgetChatInput$handleEvent$1(WidgetChatInput widgetChatInput, ChatInputViewModel.Event event) {
|
|
super(0);
|
|
this.this$0 = widgetChatInput;
|
|
this.$event = event;
|
|
}
|
|
|
|
@Override // kotlin.jvm.functions.Function0
|
|
/* renamed from: invoke */
|
|
public final void mo1invoke() {
|
|
Function0<Unit> onResendCompressed = ((ChatInputViewModel.Event.FilesTooLarge) this.$event).getOnResendCompressed();
|
|
if (onResendCompressed != null) {
|
|
onResendCompressed.mo1invoke();
|
|
}
|
|
WidgetChatInput.clearInput$default(this.this$0, null, true, 1, null);
|
|
}
|
|
}
|