34 lines
1.3 KiB
Java
34 lines
1.3 KiB
Java
package com.discord.widgets.chat.input.emoji;
|
|
|
|
import com.discord.models.domain.emoji.Emoji;
|
|
import d0.z.d.m;
|
|
import d0.z.d.o;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function1;
|
|
/* compiled from: WidgetEmojiPicker.kt */
|
|
public final class WidgetEmojiPicker$onEmojiSelected$1 extends o implements Function1<Emoji, Unit> {
|
|
public final /* synthetic */ WidgetEmojiPicker this$0;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public WidgetEmojiPicker$onEmojiSelected$1(WidgetEmojiPicker widgetEmojiPicker) {
|
|
super(1);
|
|
this.this$0 = widgetEmojiPicker;
|
|
}
|
|
|
|
/* 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(Emoji emoji) {
|
|
invoke(emoji);
|
|
return Unit.a;
|
|
}
|
|
|
|
public final void invoke(Emoji emoji) {
|
|
m.checkNotNullParameter(emoji, "validEmoji");
|
|
EmojiPickerListener access$getEmojiPickerListener$p = WidgetEmojiPicker.access$getEmojiPickerListener$p(this.this$0);
|
|
if (access$getEmojiPickerListener$p != null) {
|
|
access$getEmojiPickerListener$p.onEmojiPicked(emoji);
|
|
}
|
|
}
|
|
}
|