discord-jadx/app/src/main/java/com/discord/widgets/guilds/profile/WidgetGuildProfileSheet$con...

43 lines
1.9 KiB
Java

package com.discord.widgets.guilds.profile;
import android.content.Context;
import android.view.View;
import android.widget.TextView;
import com.discord.widgets.channels.WidgetCreateChannel;
import d0.z.d.m;
import d0.z.d.o;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
/* compiled from: WidgetGuildProfileSheet.kt */
public final class WidgetGuildProfileSheet$configureGuildActions$$inlined$apply$lambda$1 extends o implements Function1<View, Unit> {
public final /* synthetic */ boolean $canManageChannels$inlined;
public final /* synthetic */ long $guildId$inlined;
public final /* synthetic */ TextView $this_apply;
public final /* synthetic */ WidgetGuildProfileSheet this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public WidgetGuildProfileSheet$configureGuildActions$$inlined$apply$lambda$1(TextView textView, WidgetGuildProfileSheet widgetGuildProfileSheet, boolean z2, long j) {
super(1);
this.$this_apply = textView;
this.this$0 = widgetGuildProfileSheet;
this.$canManageChannels$inlined = z2;
this.$guildId$inlined = j;
}
/* 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(View view) {
invoke(view);
return Unit.a;
}
public final void invoke(View view) {
m.checkNotNullParameter(view, "it");
WidgetCreateChannel.Companion companion = WidgetCreateChannel.Companion;
Context context = this.$this_apply.getContext();
m.checkNotNullExpressionValue(context, "context");
WidgetCreateChannel.Companion.show$default(companion, context, this.$guildId$inlined, 4, null, 8, null);
}
}