26 lines
1.3 KiB
Java
26 lines
1.3 KiB
Java
package com.discord.widgets.channels.settings;
|
|
|
|
import android.view.View;
|
|
import com.discord.views.CheckedSetting;
|
|
import com.discord.widgets.channels.settings.WidgetTextChannelSettings;
|
|
import d0.z.d.m;
|
|
/* compiled from: WidgetTextChannelSettings.kt */
|
|
public final class WidgetTextChannelSettings$configureUI$9 implements View.OnClickListener {
|
|
public final /* synthetic */ WidgetTextChannelSettings.Model $this_configureUI;
|
|
public final /* synthetic */ WidgetTextChannelSettings this$0;
|
|
|
|
public WidgetTextChannelSettings$configureUI$9(WidgetTextChannelSettings widgetTextChannelSettings, WidgetTextChannelSettings.Model model) {
|
|
this.this$0 = widgetTextChannelSettings;
|
|
this.$this_configureUI = model;
|
|
}
|
|
|
|
@Override // android.view.View.OnClickListener
|
|
public final void onClick(View view) {
|
|
WidgetTextChannelSettings widgetTextChannelSettings = this.this$0;
|
|
long h = this.$this_configureUI.getChannel().h();
|
|
CheckedSetting checkedSetting = WidgetTextChannelSettings.access$getBinding$p(this.this$0).h;
|
|
m.checkNotNullExpressionValue(checkedSetting, "binding.channelSettingsNsfw");
|
|
WidgetTextChannelSettings.saveChannel$default(widgetTextChannelSettings, h, null, null, null, Boolean.valueOf(!checkedSetting.isChecked()), null, null, 110, null);
|
|
}
|
|
}
|