36 lines
1.5 KiB
Java
36 lines
1.5 KiB
Java
package com.discord.widgets.chat.input.gifpicker;
|
|
|
|
import com.discord.widgets.chat.input.gifpicker.GifAdapterItem;
|
|
import d0.z.d.m;
|
|
import d0.z.d.o;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function0;
|
|
import kotlin.jvm.functions.Function1;
|
|
/* compiled from: WidgetGifPickerSearch.kt */
|
|
public final class WidgetGifPickerSearch$setUpGifRecycler$1 extends o implements Function1<GifAdapterItem.GifItem, Unit> {
|
|
public final /* synthetic */ WidgetGifPickerSearch this$0;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public WidgetGifPickerSearch$setUpGifRecycler$1(WidgetGifPickerSearch widgetGifPickerSearch) {
|
|
super(1);
|
|
this.this$0 = widgetGifPickerSearch;
|
|
}
|
|
|
|
/* 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(GifAdapterItem.GifItem gifItem) {
|
|
invoke(gifItem);
|
|
return Unit.a;
|
|
}
|
|
|
|
public final void invoke(GifAdapterItem.GifItem gifItem) {
|
|
m.checkNotNullParameter(gifItem, "gifItem");
|
|
WidgetGifPickerSearch.access$getGifPickerViewModel$p(this.this$0).selectGif(gifItem);
|
|
Function0 access$getOnGifSelected$p = WidgetGifPickerSearch.access$getOnGifSelected$p(this.this$0);
|
|
if (access$getOnGifSelected$p != null) {
|
|
Unit unit = (Unit) access$getOnGifSelected$p.mo1invoke();
|
|
}
|
|
}
|
|
}
|