forked from Juby210/discord-jadx
25 lines
1.9 KiB
Java
25 lines
1.9 KiB
Java
package com.discord.widgets.guildscheduledevent;
|
|
|
|
import android.content.Context;
|
|
import android.view.View;
|
|
import c0.z.d.m;
|
|
import com.discord.widgets.guildscheduledevent.GuildScheduledEventDetailsViewModel;
|
|
import com.discord.widgets.guildscheduledevent.WidgetPreviewGuildScheduledEvent;
|
|
/* compiled from: WidgetGuildScheduledEventDetailsExtrasBottomSheet.kt */
|
|
public final class WidgetGuildScheduledEventDetailsExtrasBottomSheet$configureUi$2 implements View.OnClickListener {
|
|
public final /* synthetic */ GuildScheduledEventDetailsViewModel.ViewState $viewState;
|
|
public final /* synthetic */ WidgetGuildScheduledEventDetailsExtrasBottomSheet this$0;
|
|
|
|
public WidgetGuildScheduledEventDetailsExtrasBottomSheet$configureUi$2(WidgetGuildScheduledEventDetailsExtrasBottomSheet widgetGuildScheduledEventDetailsExtrasBottomSheet, GuildScheduledEventDetailsViewModel.ViewState viewState) {
|
|
this.this$0 = widgetGuildScheduledEventDetailsExtrasBottomSheet;
|
|
this.$viewState = viewState;
|
|
}
|
|
|
|
@Override // android.view.View.OnClickListener
|
|
public final void onClick(View view) {
|
|
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), WidgetGuildScheduledEventDetailsExtrasBottomSheet.access$getPreviewLauncher$p(this.this$0), false, 16, null);
|
|
}
|
|
}
|