discord-jadx/app/src/main/java/com/discord/widgets/guildscheduledevent/WidgetGuildScheduledEventSe...

25 lines
1.5 KiB
Java

package com.discord.widgets.guildscheduledevent;
import com.discord.api.guildscheduledevent.GuildScheduledEventEntityType;
import com.discord.app.AppViewModel;
import com.discord.utilities.intent.IntentUtilsKt;
import com.discord.widgets.guildscheduledevent.GuildScheduledEventSettingsViewModel;
import d0.z.d.o;
import kotlin.jvm.functions.Function0;
/* compiled from: WidgetGuildScheduledEventSettings.kt */
public final class WidgetGuildScheduledEventSettings$viewModel$2 extends o implements Function0<AppViewModel<GuildScheduledEventSettingsViewModel.ViewState>> {
public final /* synthetic */ WidgetGuildScheduledEventSettings this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public WidgetGuildScheduledEventSettings$viewModel$2(WidgetGuildScheduledEventSettings widgetGuildScheduledEventSettings) {
super(0);
this.this$0 = widgetGuildScheduledEventSettings;
}
@Override // kotlin.jvm.functions.Function0
/* renamed from: invoke */
public final AppViewModel<GuildScheduledEventSettingsViewModel.ViewState> mo1invoke() {
return new GuildScheduledEventSettingsViewModel(WidgetGuildScheduledEventSettings.access$getGuildId$p(this.this$0), (GuildScheduledEventEntityType) this.this$0.getMostRecentIntent().getSerializableExtra("EXTRA_ENTITY_TYPE"), IntentUtilsKt.getLongExtraOrNull(this.this$0.getMostRecentIntent(), "com.discord.intent.extra.EXTRA_CHANNEL_ID"), this.this$0.getMostRecentIntent().getStringExtra("EXTRA_EXTERNAL_LOCATION"), null, null, 48, null);
}
}