discord-jadx/app/src/main/java/com/discord/widgets/channels/WidgetTextChannelSettings$o...

30 lines
1.5 KiB
Java

package com.discord.widgets.channels;
import android.widget.SeekBar;
import android.widget.TextView;
import c.a.z.i;
import d0.z.d.m;
/* compiled from: WidgetTextChannelSettings.kt */
public final class WidgetTextChannelSettings$onViewBound$1 extends i {
public final /* synthetic */ WidgetTextChannelSettings this$0;
public WidgetTextChannelSettings$onViewBound$1(WidgetTextChannelSettings widgetTextChannelSettings) {
this.this$0 = widgetTextChannelSettings;
}
@Override // c.a.z.i, android.widget.SeekBar.OnSeekBarChangeListener
public void onProgressChanged(SeekBar seekBar, int i, boolean z2) {
m.checkNotNullParameter(seekBar, "seekBar");
super.onProgressChanged(seekBar, i, z2);
if (z2) {
int intValue = ((Number) WidgetTextChannelSettings.access$getSLOWMODE_COOLDOWN_VALUES$cp().get(i)).intValue();
WidgetTextChannelSettings.access$setSlowmodeLabel(this.this$0, intValue);
WidgetTextChannelSettings.access$getState$p(this.this$0).put(2131362367, Integer.valueOf(intValue));
WidgetTextChannelSettings.access$getState$p(this.this$0).configureSaveActionView(WidgetTextChannelSettings.access$getBinding$p(this.this$0).m);
TextView textView = WidgetTextChannelSettings.access$getBinding$p(this.this$0).r;
m.checkNotNullExpressionValue(textView, "binding.channelSettingsSlowModeCooldownLabel");
seekBar.setContentDescription(textView.getText());
}
}
}