24 lines
1 KiB
Java
24 lines
1 KiB
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$2 implements View.OnClickListener {
|
||
|
public final /* synthetic */ WidgetHomeModel $model;
|
||
|
public final /* synthetic */ WidgetHomePanelNsfw this$0;
|
||
|
|
||
|
public WidgetHomePanelNsfw$configureUI$2(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.allow(channel != null ? channel.e() : 0);
|
||
|
WidgetHomePanelNsfw.access$setContainerViewHidden(this.this$0, true);
|
||
|
}
|
||
|
}
|