2021-08-10 21:19:22 +00:00
|
|
|
package com.discord.widgets.guildscheduledevent;
|
|
|
|
|
|
|
|
import com.discord.api.stageinstance.StageInstance;
|
|
|
|
import d0.z.d.m;
|
|
|
|
import d0.z.d.o;
|
|
|
|
import kotlin.Unit;
|
|
|
|
import kotlin.jvm.functions.Function0;
|
|
|
|
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-08-10 21:19:22 +00:00
|
|
|
public final /* synthetic */ Function0 $onRequestSuccess;
|
|
|
|
public final /* synthetic */ PreviewGuildScheduledEventViewModel this$0;
|
|
|
|
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
2021-09-09 06:47:34 +00:00
|
|
|
public PreviewGuildScheduledEventViewModel$startStageEvent$2(PreviewGuildScheduledEventViewModel previewGuildScheduledEventViewModel, Function0 function0) {
|
2021-08-10 21:19:22 +00:00
|
|
|
super(1);
|
|
|
|
this.this$0 = previewGuildScheduledEventViewModel;
|
|
|
|
this.$onRequestSuccess = function0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* 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-08-10 21:19:22 +00:00
|
|
|
this.$onRequestSuccess.mo1invoke();
|
|
|
|
}
|
|
|
|
}
|