2021-06-27 20:44:35 +00:00
|
|
|
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())) {
|
2021-07-03 23:36:06 +00:00
|
|
|
WidgetTextChannelSettings.saveChannel$default(this.this$0, this.$this_configureUI.getChannel().h(), null, 0, null, null, null, null, 122, null);
|
2021-06-27 20:44:35 +00:00
|
|
|
} else {
|
2021-07-03 23:36:06 +00:00
|
|
|
WidgetTextChannelSettings.saveChannel$default(this.this$0, this.$this_configureUI.getChannel().h(), null, 5, null, null, null, null, 122, null);
|
2021-06-27 20:44:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|