31 lines
2.2 KiB
Java
31 lines
2.2 KiB
Java
|
package com.discord.widgets.guildscheduledevent;
|
||
|
|
||
|
import android.view.View;
|
||
|
import com.discord.widgets.channels.WidgetChannelSelector;
|
||
|
import com.discord.widgets.guildscheduledevent.WidgetGuildScheduledEventLocationSelectViewModal;
|
||
|
/* compiled from: WidgetGuildScheduledEventLocationSelect.kt */
|
||
|
public final class WidgetGuildScheduledEventLocationSelect$onViewBound$3 implements View.OnClickListener {
|
||
|
public final /* synthetic */ WidgetGuildScheduledEventLocationSelect this$0;
|
||
|
|
||
|
public WidgetGuildScheduledEventLocationSelect$onViewBound$3(WidgetGuildScheduledEventLocationSelect widgetGuildScheduledEventLocationSelect) {
|
||
|
this.this$0 = widgetGuildScheduledEventLocationSelect;
|
||
|
}
|
||
|
|
||
|
@Override // android.view.View.OnClickListener
|
||
|
public final void onClick(View view) {
|
||
|
WidgetGuildScheduledEventLocationSelectViewModal.ViewState.Valid access$getCurrentViewState$p = WidgetGuildScheduledEventLocationSelect.access$getCurrentViewState$p(this.this$0);
|
||
|
if (access$getCurrentViewState$p != null) {
|
||
|
int ordinal = access$getCurrentViewState$p.getSelectedLocationOption().ordinal();
|
||
|
if (ordinal == 1) {
|
||
|
WidgetChannelSelector.Companion companion = WidgetChannelSelector.Companion;
|
||
|
WidgetGuildScheduledEventLocationSelect widgetGuildScheduledEventLocationSelect = this.this$0;
|
||
|
WidgetChannelSelector.Companion.launchForInactiveStages$default(companion, widgetGuildScheduledEventLocationSelect, WidgetGuildScheduledEventLocationSelect.access$getGuildId$p(widgetGuildScheduledEventLocationSelect), "GUILD_SCHEDULED_EVENT_LOCATION_SELECT_REQUEST_KEY", false, 0, 24, null);
|
||
|
} else if (ordinal == 2) {
|
||
|
WidgetChannelSelector.Companion companion2 = WidgetChannelSelector.Companion;
|
||
|
WidgetGuildScheduledEventLocationSelect widgetGuildScheduledEventLocationSelect2 = this.this$0;
|
||
|
WidgetChannelSelector.Companion.launchForVoice$default(companion2, widgetGuildScheduledEventLocationSelect2, WidgetGuildScheduledEventLocationSelect.access$getGuildId$p(widgetGuildScheduledEventLocationSelect2), "GUILD_SCHEDULED_EVENT_LOCATION_SELECT_REQUEST_KEY", false, 0, 24, null);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|