package com.discord.widgets.channels.permissions; import android.widget.TextView; import com.discord.api.permission.PermissionOverwrite; import com.discord.utilities.view.extensions.ViewExtensions; import d0.z.d.m; import d0.z.d.o; import java.util.Map; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: WidgetChannelSettingsAddMemberSheet.kt */ public final class WidgetChannelSettingsAddMemberSheet$onResume$2 extends o implements Function1, Unit> { public final /* synthetic */ WidgetChannelSettingsAddMemberSheet this$0; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public WidgetChannelSettingsAddMemberSheet$onResume$2(WidgetChannelSettingsAddMemberSheet widgetChannelSettingsAddMemberSheet) { super(1); this.this$0 = widgetChannelSettingsAddMemberSheet; } /* 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(Map map) { invoke(map); return Unit.a; } public final void invoke(Map map) { TextView textView = WidgetChannelSettingsAddMemberSheet.access$getBinding$p(this.this$0).b; m.checkNotNullExpressionValue(textView, "binding.addButton"); m.checkNotNullExpressionValue(map, "selected"); ViewExtensions.setEnabledAndAlpha$default(textView, !map.isEmpty(), 0.0f, 2, null); } }