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

32 lines
1.6 KiB
Java

package com.discord.widgets.chat.input;
import com.discord.api.sticker.Sticker;
import com.discord.stores.StoreStream;
import com.discord.widgets.chat.input.models.AutocompleteInputSelectionModel;
import d0.z.d.o;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
/* compiled from: WidgetChatInputAutocomplete.kt */
public final class WidgetChatInputAutocomplete$onClickStickerItem$1 extends o implements Function1<AutocompleteInputSelectionModel, Unit> {
public final /* synthetic */ Sticker $sticker;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public WidgetChatInputAutocomplete$onClickStickerItem$1(Sticker sticker) {
super(1);
this.$sticker = sticker;
}
/* 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(AutocompleteInputSelectionModel autocompleteInputSelectionModel) {
invoke(autocompleteInputSelectionModel);
return Unit.a;
}
public final void invoke(AutocompleteInputSelectionModel autocompleteInputSelectionModel) {
StoreStream.Companion companion = StoreStream.Companion;
companion.getAnalytics().trackAutocompleteSelect(companion.getChannelsSelected().getId(), autocompleteInputSelectionModel.getAutocompleteType(), autocompleteInputSelectionModel.getEmojiNumCount(), autocompleteInputSelectionModel.getStickerNumCount(), "STICKER", "sticker", Long.valueOf(this.$sticker.getId()));
}
}