2021-08-03 07:33:18 +00:00
|
|
|
package com.discord.widgets.guilds.invite;
|
|
|
|
|
2021-10-15 06:18:26 +00:00
|
|
|
import c0.z.d.o;
|
2021-08-03 07:33:18 +00:00
|
|
|
import com.discord.app.AppViewModel;
|
|
|
|
import com.discord.widgets.guilds.invite.GuildInviteSettingsViewModel;
|
|
|
|
import kotlin.jvm.functions.Function0;
|
|
|
|
/* compiled from: WidgetGuildInviteSettings.kt */
|
|
|
|
public final class WidgetGuildInviteSettings$viewModel$2 extends o implements Function0<AppViewModel<GuildInviteSettingsViewModel.ViewState>> {
|
|
|
|
public final /* synthetic */ WidgetGuildInviteSettings this$0;
|
|
|
|
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
|
|
public WidgetGuildInviteSettings$viewModel$2(WidgetGuildInviteSettings widgetGuildInviteSettings) {
|
|
|
|
super(0);
|
|
|
|
this.this$0 = widgetGuildInviteSettings;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override // kotlin.jvm.functions.Function0
|
|
|
|
/* renamed from: invoke */
|
2021-10-15 06:18:26 +00:00
|
|
|
public final AppViewModel<GuildInviteSettingsViewModel.ViewState> mo17invoke() {
|
2021-08-03 07:33:18 +00:00
|
|
|
long longExtra = this.this$0.getMostRecentIntent().getLongExtra("com.discord.intent.extra.EXTRA_CHANNEL_ID", 0);
|
|
|
|
return new GuildInviteSettingsViewModel(longExtra != 0 ? Long.valueOf(longExtra) : null, this.this$0.getMostRecentIntent().getLongExtra("com.discord.intent.extra.EXTRA_GUILD_ID", 0), null, null, null, 28, null);
|
|
|
|
}
|
|
|
|
}
|