package com.discord.widgets.servers; import android.view.View; import android.widget.LinearLayout; import android.widget.TextView; import com.discord.utilities.stateful.StatefulViews; import com.discord.widgets.servers.WidgetServerSettingsOverview; import d0.z.d.m; /* compiled from: WidgetServerSettingsOverview.kt */ public final class WidgetServerSettingsOverview$AfkBottomSheet$onViewCreated$$inlined$forEach$lambda$1 implements View.OnClickListener { public final /* synthetic */ CharSequence $afkTimeoutString; public final /* synthetic */ int $afkTimeoutValue; public final /* synthetic */ WidgetServerSettingsOverview $settingsFrag$inlined; public final /* synthetic */ WidgetServerSettingsOverview.AfkBottomSheet this$0; public WidgetServerSettingsOverview$AfkBottomSheet$onViewCreated$$inlined$forEach$lambda$1(CharSequence charSequence, int i, WidgetServerSettingsOverview.AfkBottomSheet afkBottomSheet, WidgetServerSettingsOverview widgetServerSettingsOverview) { this.$afkTimeoutString = charSequence; this.$afkTimeoutValue = i; this.this$0 = afkBottomSheet; this.$settingsFrag$inlined = widgetServerSettingsOverview; } @Override // android.view.View.OnClickListener public final void onClick(View view) { WidgetServerSettingsOverview widgetServerSettingsOverview = this.$settingsFrag$inlined; StatefulViews access$getState$p = WidgetServerSettingsOverview.access$getState$p(widgetServerSettingsOverview); TextView textView = WidgetServerSettingsOverview.access$getBinding$p(widgetServerSettingsOverview).b.d; m.checkNotNullExpressionValue(textView, "binding.afk.afkTimeout"); access$getState$p.put(textView.getId(), this.$afkTimeoutString); StatefulViews access$getState$p2 = WidgetServerSettingsOverview.access$getState$p(widgetServerSettingsOverview); LinearLayout linearLayout = WidgetServerSettingsOverview.access$getBinding$p(widgetServerSettingsOverview).b.e; m.checkNotNullExpressionValue(linearLayout, "binding.afk.afkTimeoutWrap"); access$getState$p2.put(linearLayout.getId(), Integer.valueOf(this.$afkTimeoutValue)); TextView textView2 = WidgetServerSettingsOverview.access$getBinding$p(widgetServerSettingsOverview).b.d; m.checkNotNullExpressionValue(textView2, "binding.afk.afkTimeout"); textView2.setText(this.$afkTimeoutString); LinearLayout linearLayout2 = WidgetServerSettingsOverview.access$getBinding$p(widgetServerSettingsOverview).b.e; m.checkNotNullExpressionValue(linearLayout2, "binding.afk.afkTimeoutWrap"); linearLayout2.setTag(this.$afkTimeoutString); this.this$0.dismiss(); } }