27 lines
1.2 KiB
Java
27 lines
1.2 KiB
Java
package com.discord.widgets.user.search;
|
|
|
|
import com.discord.api.channel.Channel;
|
|
import com.discord.widgets.user.search.WidgetGlobalSearchModel;
|
|
import d0.z.d.o;
|
|
import kotlin.jvm.functions.Function1;
|
|
/* compiled from: WidgetGlobalSearchModel.kt */
|
|
public final class WidgetGlobalSearchModel$Companion$create$filteredResults$9 extends o implements Function1<Long, Channel> {
|
|
public final /* synthetic */ WidgetGlobalSearchModel.ChannelContext $channelContext;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public WidgetGlobalSearchModel$Companion$create$filteredResults$9(WidgetGlobalSearchModel.ChannelContext channelContext) {
|
|
super(1);
|
|
this.$channelContext = channelContext;
|
|
}
|
|
|
|
public final Channel invoke(long j) {
|
|
return this.$channelContext.getChannels().get(Long.valueOf(j));
|
|
}
|
|
|
|
/* 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 */ Channel invoke(Long l) {
|
|
return invoke(l.longValue());
|
|
}
|
|
}
|