33 lines
1.4 KiB
Java
33 lines
1.4 KiB
Java
package com.discord.widgets.channels.list;
|
|
|
|
import com.discord.api.channel.Channel;
|
|
import com.discord.widgets.guild_role_subscriptions.entrypoint.WidgetGuildRoleSubscriptionEntryPoint;
|
|
import d0.z.d.o;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function1;
|
|
/* compiled from: WidgetChannelsList.kt */
|
|
public final class WidgetChannelsList$onViewBound$4 extends o implements Function1<Channel, Unit> {
|
|
public final /* synthetic */ WidgetChannelsList this$0;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public WidgetChannelsList$onViewBound$4(WidgetChannelsList widgetChannelsList) {
|
|
super(1);
|
|
this.this$0 = widgetChannelsList;
|
|
}
|
|
|
|
/* 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(Channel channel) {
|
|
invoke(channel);
|
|
return Unit.a;
|
|
}
|
|
|
|
public final void invoke(Channel channel) {
|
|
Long access$getSelectedGuildId$p = WidgetChannelsList.access$getSelectedGuildId$p(this.this$0);
|
|
if (access$getSelectedGuildId$p != null) {
|
|
WidgetGuildRoleSubscriptionEntryPoint.Companion.launch(this.this$0.requireContext(), access$getSelectedGuildId$p.longValue(), "Role Subscription Gated Channel");
|
|
}
|
|
}
|
|
}
|