29 lines
1.5 KiB
Java
29 lines
1.5 KiB
Java
package com.discord.widgets.voice.fullscreen;
|
|
|
|
import com.discord.api.guildscheduledevent.GuildScheduledEvent;
|
|
import com.discord.widgets.guildscheduledevent.GuildScheduledEventModelKt;
|
|
import com.discord.widgets.guildscheduledevent.WidgetPreviewGuildScheduledEvent;
|
|
import d0.z.d.o;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function0;
|
|
/* compiled from: WidgetCallFullscreen.kt */
|
|
public final class WidgetCallFullscreen$configureEventPrompt$onStartEvent$1 extends o implements Function0<Unit> {
|
|
public final /* synthetic */ GuildScheduledEvent $startableEvent;
|
|
public final /* synthetic */ WidgetCallFullscreen this$0;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public WidgetCallFullscreen$configureEventPrompt$onStartEvent$1(WidgetCallFullscreen widgetCallFullscreen, GuildScheduledEvent guildScheduledEvent) {
|
|
super(0);
|
|
this.this$0 = widgetCallFullscreen;
|
|
this.$startableEvent = guildScheduledEvent;
|
|
}
|
|
|
|
@Override // kotlin.jvm.functions.Function0
|
|
/* renamed from: invoke */
|
|
public final void mo1invoke() {
|
|
if (this.$startableEvent != null) {
|
|
WidgetPreviewGuildScheduledEvent.Companion.launch$default(WidgetPreviewGuildScheduledEvent.Companion, this.this$0.requireContext(), GuildScheduledEventModelKt.toModel(this.$startableEvent), new WidgetPreviewGuildScheduledEvent.Companion.ExistingEventData(this.$startableEvent.g(), WidgetPreviewGuildScheduledEvent.Companion.Action.START_EVENT), null, false, 24, null);
|
|
}
|
|
}
|
|
}
|