discord-jadx/app/src/main/java/com/discord/widgets/guildscheduledevent/PreviewGuildScheduledEventV...

36 lines
1.6 KiB
Java

package com.discord.widgets.guildscheduledevent;
import c0.z.d.m;
import c0.z.d.o;
import com.discord.api.stageinstance.StageInstance;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
/* compiled from: PreviewGuildScheduledEventViewModel.kt */
public final class PreviewGuildScheduledEventViewModel$startStageEvent$2 extends o implements Function1<StageInstance, Unit> {
public final /* synthetic */ Long $eventId;
public final /* synthetic */ Function1 $onRequestSuccess;
public final /* synthetic */ PreviewGuildScheduledEventViewModel this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public PreviewGuildScheduledEventViewModel$startStageEvent$2(PreviewGuildScheduledEventViewModel previewGuildScheduledEventViewModel, Function1 function1, Long l) {
super(1);
this.this$0 = previewGuildScheduledEventViewModel;
this.$onRequestSuccess = function1;
this.$eventId = l;
}
/* 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(StageInstance stageInstance) {
invoke(stageInstance);
return Unit.a;
}
public final void invoke(StageInstance stageInstance) {
m.checkNotNullParameter(stageInstance, "it");
PreviewGuildScheduledEventViewModel.access$setRequestFinished(this.this$0);
this.$onRequestSuccess.invoke(this.$eventId);
}
}