2021-08-04 23:47:20 +00:00
|
|
|
package com.discord.widgets.guildscheduledevent;
|
|
|
|
|
|
|
|
import androidx.fragment.app.FragmentActivity;
|
2021-10-29 07:19:59 +00:00
|
|
|
import c0.z.d.m;
|
2021-10-15 06:18:26 +00:00
|
|
|
import c0.z.d.o;
|
2021-10-29 07:19:59 +00:00
|
|
|
import com.discord.widgets.guildscheduledevent.WidgetGuildScheduledEventCreateSuccess;
|
2021-08-04 23:47:20 +00:00
|
|
|
import kotlin.Unit;
|
2021-10-29 07:19:59 +00:00
|
|
|
import kotlin.jvm.functions.Function3;
|
2021-08-04 23:47:20 +00:00
|
|
|
/* compiled from: WidgetGuildScheduledEventSettings.kt */
|
2021-10-29 07:19:59 +00:00
|
|
|
public final class WidgetGuildScheduledEventSettings$previewLauncher$1 extends o implements Function3<Long, Long, Boolean, Unit> {
|
2021-08-04 23:47:20 +00:00
|
|
|
public final /* synthetic */ WidgetGuildScheduledEventSettings this$0;
|
|
|
|
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
|
|
public WidgetGuildScheduledEventSettings$previewLauncher$1(WidgetGuildScheduledEventSettings widgetGuildScheduledEventSettings) {
|
2021-10-29 07:19:59 +00:00
|
|
|
super(3);
|
2021-08-04 23:47:20 +00:00
|
|
|
this.this$0 = widgetGuildScheduledEventSettings;
|
|
|
|
}
|
|
|
|
|
2021-08-10 21:19:22 +00:00
|
|
|
/* Return type fixed from 'java.lang.Object' to match base method */
|
2021-10-29 07:19:59 +00:00
|
|
|
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object, java.lang.Object, java.lang.Object] */
|
|
|
|
@Override // kotlin.jvm.functions.Function3
|
|
|
|
public /* bridge */ /* synthetic */ Unit invoke(Long l, Long l2, Boolean bool) {
|
|
|
|
invoke(l, l2.longValue(), bool.booleanValue());
|
2021-08-10 21:19:22 +00:00
|
|
|
return Unit.a;
|
|
|
|
}
|
|
|
|
|
2021-10-29 07:19:59 +00:00
|
|
|
public final void invoke(Long l, long j, boolean z2) {
|
2021-08-04 23:47:20 +00:00
|
|
|
FragmentActivity activity = this.this$0.getActivity();
|
|
|
|
if (activity != null) {
|
2021-08-18 06:27:30 +00:00
|
|
|
activity.setResult(-1);
|
2021-10-29 07:19:59 +00:00
|
|
|
if (z2) {
|
|
|
|
WidgetGuildScheduledEventCreateSuccess.Companion companion = WidgetGuildScheduledEventCreateSuccess.Companion;
|
|
|
|
m.checkNotNullExpressionValue(activity, "this");
|
|
|
|
companion.launch(activity, l, WidgetGuildScheduledEventSettings.access$getGuildId$p(this.this$0), j);
|
|
|
|
}
|
2021-08-04 23:47:20 +00:00
|
|
|
activity.finish();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|