discord-jadx/app/src/main/java/com/discord/widgets/home/WidgetHomePanelNsfw$configu...

23 lines
951 B
Java

package com.discord.widgets.home;
import android.view.View;
import com.discord.api.channel.Channel;
import com.discord.stores.StoreGuildsNsfw;
/* compiled from: WidgetHomePanelNsfw.kt */
public final class WidgetHomePanelNsfw$configureUI$1 implements View.OnClickListener {
public final /* synthetic */ WidgetHomeModel $model;
public final /* synthetic */ WidgetHomePanelNsfw this$0;
public WidgetHomePanelNsfw$configureUI$1(WidgetHomePanelNsfw widgetHomePanelNsfw, WidgetHomeModel widgetHomeModel) {
this.this$0 = widgetHomePanelNsfw;
this.$model = widgetHomeModel;
}
@Override // android.view.View.OnClickListener
public final void onClick(View view) {
StoreGuildsNsfw access$getGuildsNsfwStore$p = WidgetHomePanelNsfw.access$getGuildsNsfwStore$p(this.this$0);
Channel channel = this.$model.getChannel();
access$getGuildsNsfwStore$p.deny(channel != null ? channel.f() : 0);
}
}