discord-jadx/app/src/main/java/com/discord/widgets/guilds/profile/WidgetGuildProfileSheet$configureGuildActions$$inlined$apply$lambda$3.java
2021-11-02 07:38:17 +01:00

43 lines
2 KiB
Java

package com.discord.widgets.guilds.profile;
import android.content.Context;
import android.view.View;
import androidx.constraintlayout.widget.ConstraintLayout;
import com.discord.widgets.guildscheduledevent.WidgetGuildScheduledEventLocationSelect;
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$3 extends o implements Function1<View, Unit> {
public final /* synthetic */ boolean $canManageEvents$inlined;
public final /* synthetic */ long $guildId$inlined;
public final /* synthetic */ ConstraintLayout $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$3(ConstraintLayout constraintLayout, WidgetGuildProfileSheet widgetGuildProfileSheet, boolean z2, long j) {
super(1);
this.$this_apply = constraintLayout;
this.this$0 = widgetGuildProfileSheet;
this.$canManageEvents$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");
WidgetGuildScheduledEventLocationSelect.Companion companion = WidgetGuildScheduledEventLocationSelect.Companion;
Context context = this.$this_apply.getContext();
m.checkNotNullExpressionValue(context, "context");
WidgetGuildScheduledEventLocationSelect.Companion.launch$default(companion, context, this.$guildId$inlined, null, 4, null);
}
}