forked from Juby210/discord-jadx
30 lines
2 KiB
Java
30 lines
2 KiB
Java
package com.discord.widgets.guildscheduledevent;
|
|
|
|
import android.content.Context;
|
|
import c0.z.d.m;
|
|
import c0.z.d.o;
|
|
import com.discord.widgets.guildscheduledevent.GuildScheduledEventDetailsViewModel;
|
|
import com.discord.widgets.guildscheduledevent.WidgetPreviewGuildScheduledEvent;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function0;
|
|
/* compiled from: WidgetGuildScheduledEventDetailsBottomSheet.kt */
|
|
public final class WidgetGuildScheduledEventDetailsBottomSheet$configureUi$2 extends o implements Function0<Unit> {
|
|
public final /* synthetic */ GuildScheduledEventDetailsViewModel.ViewState $viewState;
|
|
public final /* synthetic */ WidgetGuildScheduledEventDetailsBottomSheet this$0;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public WidgetGuildScheduledEventDetailsBottomSheet$configureUi$2(WidgetGuildScheduledEventDetailsBottomSheet widgetGuildScheduledEventDetailsBottomSheet, GuildScheduledEventDetailsViewModel.ViewState viewState) {
|
|
super(0);
|
|
this.this$0 = widgetGuildScheduledEventDetailsBottomSheet;
|
|
this.$viewState = viewState;
|
|
}
|
|
|
|
@Override // kotlin.jvm.functions.Function0
|
|
/* renamed from: invoke */
|
|
public final void mo17invoke() {
|
|
WidgetPreviewGuildScheduledEvent.Companion companion = WidgetPreviewGuildScheduledEvent.Companion;
|
|
Context requireContext = this.this$0.requireContext();
|
|
m.checkNotNullExpressionValue(requireContext, "requireContext()");
|
|
WidgetPreviewGuildScheduledEvent.Companion.launch$default(companion, requireContext, GuildScheduledEventModelKt.toModel(((GuildScheduledEventDetailsViewModel.ViewState.Initialized) this.$viewState).getGuildScheduledEvent()), new WidgetPreviewGuildScheduledEvent.Companion.ExistingEventData(((GuildScheduledEventDetailsViewModel.ViewState.Initialized) this.$viewState).getGuildScheduledEvent().g(), WidgetPreviewGuildScheduledEvent.Companion.Action.START_EVENT), WidgetGuildScheduledEventDetailsBottomSheet.access$getPreviewLauncher$p(this.this$0), false, 16, null);
|
|
}
|
|
}
|