package com.discord.widgets.chat.input; import com.discord.models.domain.emoji.Emoji; import com.discord.widgets.chat.input.emoji.EmojiPickerListener; import com.lytefast.flexinput.fragment.FlexInputFragment; import com.lytefast.flexinput.viewmodel.FlexInputViewModel; import d0.z.d.m; import java.util.Objects; /* compiled from: WidgetChatInputAttachments.kt */ public final class WidgetChatInputAttachments$createAndConfigureExpressionFragment$emojiPickerListener$1 implements EmojiPickerListener { public final /* synthetic */ WidgetChatInputAttachments this$0; public WidgetChatInputAttachments$createAndConfigureExpressionFragment$emojiPickerListener$1(WidgetChatInputAttachments widgetChatInputAttachments) { this.this$0 = widgetChatInputAttachments; } @Override // com.discord.widgets.chat.input.emoji.EmojiPickerListener public void onEmojiPicked(Emoji emoji) { m.checkNotNullParameter(emoji, "emoji"); FlexInputFragment access$getFlexInputFragment$p = WidgetChatInputAttachments.access$getFlexInputFragment$p(this.this$0); String chatInputText = emoji.getChatInputText(); m.checkNotNullExpressionValue(chatInputText, "emoji.chatInputText"); Objects.requireNonNull(access$getFlexInputFragment$p); m.checkNotNullParameter(chatInputText, "emojiText"); FlexInputViewModel flexInputViewModel = access$getFlexInputFragment$p.r; if (flexInputViewModel != null) { flexInputViewModel.onInputTextAppended(chatInputText + ' '); } } }