package com.discord.widgets.channels; import android.view.View; import com.airbnb.lottie.parser.AnimatableValueParser; import com.discord.widgets.channels.WidgetTextChannelSettings; /* compiled from: WidgetTextChannelSettings.kt */ public final class WidgetTextChannelSettings$configureUI$8 implements View.OnClickListener { public final /* synthetic */ WidgetTextChannelSettings.Model $this_configureUI; public final /* synthetic */ WidgetTextChannelSettings this$0; public WidgetTextChannelSettings$configureUI$8(WidgetTextChannelSettings widgetTextChannelSettings, WidgetTextChannelSettings.Model model) { this.this$0 = widgetTextChannelSettings; this.$this_configureUI = model; } @Override // android.view.View.OnClickListener public final void onClick(View view) { if (AnimatableValueParser.d1(this.$this_configureUI.getChannel())) { WidgetTextChannelSettings.saveChannel$default(this.this$0, this.$this_configureUI.getChannel().h(), null, 0, null, null, null, null, 122, null); } else { WidgetTextChannelSettings.saveChannel$default(this.this$0, this.$this_configureUI.getChannel().h(), null, 5, null, null, null, null, 122, null); } } }