discord-jadx/app/src/main/java/com/discord/widgets/settings/WidgetMuteSettingsSheet$con...

36 lines
1.6 KiB
Java

package com.discord.widgets.settings;
import android.widget.TextView;
import com.discord.R;
import com.discord.i18n.RenderContext;
import com.discord.utilities.color.ColorCompat;
import d0.z.d.m;
import d0.z.d.o;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
/* compiled from: WidgetMuteSettingsSheet.kt */
public final class WidgetMuteSettingsSheet$configureUnmuteButton$boldRenderContext$1 extends o implements Function1<RenderContext, Unit> {
public final /* synthetic */ WidgetMuteSettingsSheet this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public WidgetMuteSettingsSheet$configureUnmuteButton$boldRenderContext$1(WidgetMuteSettingsSheet widgetMuteSettingsSheet) {
super(1);
this.this$0 = widgetMuteSettingsSheet;
}
/* Return type fixed from 'java.lang.Object' to match base method */
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
@Override // kotlin.jvm.functions.Function1
public /* bridge */ /* synthetic */ Unit invoke(RenderContext renderContext) {
invoke(renderContext);
return Unit.a;
}
public final void invoke(RenderContext renderContext) {
m.checkNotNullParameter(renderContext, "$receiver");
TextView textView = WidgetMuteSettingsSheet.access$getBinding$p(this.this$0).q;
m.checkNotNullExpressionValue(textView, "binding.unmuteButtonLabel");
renderContext.d = Integer.valueOf(ColorCompat.getThemedColor(textView, (int) R.attr.colorHeaderPrimary));
}
}