forked from Juby210/discord-jadx
35 lines
1.5 KiB
Java
35 lines
1.5 KiB
Java
package com.discord.widgets.guildscheduledevent;
|
|
|
|
import c0.z.d.m;
|
|
import c0.z.d.o;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function1;
|
|
/* compiled from: PreviewGuildScheduledEventViewModel.kt */
|
|
public final class PreviewGuildScheduledEventViewModel$startEvent$2 extends o implements Function1<Unit, 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$startEvent$2(PreviewGuildScheduledEventViewModel previewGuildScheduledEventViewModel, Function1 function1, long j) {
|
|
super(1);
|
|
this.this$0 = previewGuildScheduledEventViewModel;
|
|
this.$onRequestSuccess = function1;
|
|
this.$eventId = 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(Unit unit) {
|
|
invoke(unit);
|
|
return Unit.a;
|
|
}
|
|
|
|
public final void invoke(Unit unit) {
|
|
m.checkNotNullParameter(unit, "it");
|
|
PreviewGuildScheduledEventViewModel.access$setRequestFinished(this.this$0);
|
|
this.$onRequestSuccess.invoke(Long.valueOf(this.$eventId));
|
|
}
|
|
}
|