28 lines
1.2 KiB
Java
28 lines
1.2 KiB
Java
package com.discord.widgets.share;
|
|
|
|
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: WidgetIncomingShare.kt */
|
|
public final class WidgetIncomingShare$onSendClicked$filter$3 extends o implements Function1<Channel, Boolean> {
|
|
public final /* synthetic */ WidgetGlobalSearchModel.ItemDataPayload $receiver;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public WidgetIncomingShare$onSendClicked$filter$3(WidgetGlobalSearchModel.ItemDataPayload itemDataPayload) {
|
|
super(1);
|
|
this.$receiver = itemDataPayload;
|
|
}
|
|
|
|
/* 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 */ Boolean invoke(Channel channel) {
|
|
return Boolean.valueOf(invoke(channel));
|
|
}
|
|
|
|
public final boolean invoke(Channel channel) {
|
|
return channel != null && channel.f() == ((WidgetGlobalSearchModel.ItemGuild) this.$receiver).getGuild().getId();
|
|
}
|
|
}
|