32 lines
1.2 KiB
Java
32 lines
1.2 KiB
Java
package com.discord.stores;
|
|
|
|
import com.discord.api.channel.Channel;
|
|
import com.discord.utilities.channel.ChannelSelector;
|
|
import d0.z.d.o;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function1;
|
|
/* compiled from: StoreGuildsNsfw.kt */
|
|
public final class StoreGuildsNsfw$deny$1 extends o implements Function1<Channel, Unit> {
|
|
public static final StoreGuildsNsfw$deny$1 INSTANCE = new StoreGuildsNsfw$deny$1();
|
|
|
|
public StoreGuildsNsfw$deny$1() {
|
|
super(1);
|
|
}
|
|
|
|
/* 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) {
|
|
if (channel == null || channel.o()) {
|
|
ChannelSelector.selectChannel$default(ChannelSelector.Companion.getInstance(), 0, 0, null, null, 12, null);
|
|
} else {
|
|
ChannelSelector.selectChannel$default(ChannelSelector.Companion.getInstance(), channel, null, null, 6, null);
|
|
}
|
|
}
|
|
}
|