2021-08-10 21:19:22 +00:00
|
|
|
package com.discord.widgets.guildscheduledevent;
|
|
|
|
|
2021-10-15 06:18:26 +00:00
|
|
|
import c0.z.d.m;
|
|
|
|
import c0.z.d.o;
|
2021-08-10 21:19:22 +00:00
|
|
|
import com.discord.api.stageinstance.StageInstance;
|
|
|
|
import kotlin.Unit;
|
|
|
|
import kotlin.jvm.functions.Function1;
|
|
|
|
/* compiled from: PreviewGuildScheduledEventViewModel.kt */
|
2021-09-09 06:47:34 +00:00
|
|
|
public final class PreviewGuildScheduledEventViewModel$startStageEvent$2 extends o implements Function1<StageInstance, Unit> {
|
2021-10-29 07:19:59 +00:00
|
|
|
public final /* synthetic */ Long $eventId;
|
|
|
|
public final /* synthetic */ Function1 $onRequestSuccess;
|
2021-08-10 21:19:22 +00:00
|
|
|
public final /* synthetic */ PreviewGuildScheduledEventViewModel this$0;
|
|
|
|
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
2021-10-29 07:19:59 +00:00
|
|
|
public PreviewGuildScheduledEventViewModel$startStageEvent$2(PreviewGuildScheduledEventViewModel previewGuildScheduledEventViewModel, Function1 function1, Long l) {
|
2021-08-10 21:19:22 +00:00
|
|
|
super(1);
|
|
|
|
this.this$0 = previewGuildScheduledEventViewModel;
|
2021-10-29 07:19:59 +00:00
|
|
|
this.$onRequestSuccess = function1;
|
|
|
|
this.$eventId = l;
|
2021-08-10 21:19:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* 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");
|
2021-09-09 06:47:34 +00:00
|
|
|
PreviewGuildScheduledEventViewModel.access$setRequestFinished(this.this$0);
|
2021-10-29 07:19:59 +00:00
|
|
|
this.$onRequestSuccess.invoke(this.$eventId);
|
2021-08-10 21:19:22 +00:00
|
|
|
}
|
|
|
|
}
|