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

35 lines
1.9 KiB
Java

package com.discord.widgets.chat.input;
import android.content.Context;
import androidx.core.view.inputmethod.InputContentInfoCompat;
import d0.z.d.m;
import d0.z.d.o;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
/* compiled from: WidgetChatInputAttachments.kt */
public final class WidgetChatInputAttachments$configureFlexInputFragment$1$$special$$inlined$apply$lambda$2 extends o implements Function1<InputContentInfoCompat, Unit> {
public final /* synthetic */ WidgetChatInputAttachments$configureFlexInputFragment$1 this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public WidgetChatInputAttachments$configureFlexInputFragment$1$$special$$inlined$apply$lambda$2(WidgetChatInputAttachments$configureFlexInputFragment$1 widgetChatInputAttachments$configureFlexInputFragment$1) {
super(1);
this.this$0 = widgetChatInputAttachments$configureFlexInputFragment$1;
}
/* 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(InputContentInfoCompat inputContentInfoCompat) {
invoke(inputContentInfoCompat);
return Unit.a;
}
public final void invoke(InputContentInfoCompat inputContentInfoCompat) {
m.checkNotNullParameter(inputContentInfoCompat, "it");
WidgetChatInputAttachments widgetChatInputAttachments = this.this$0.this$0;
Context context = WidgetChatInputAttachments.access$getFlexInputFragment$p(widgetChatInputAttachments).k().getContext();
m.checkNotNullExpressionValue(context, "flexInputFragment.getTextInput().context");
WidgetChatInputAttachments.access$setAttachmentFromPicker(widgetChatInputAttachments, context, inputContentInfoCompat);
}
}