forked from Juby210/discord-jadx
28 lines
1.3 KiB
Java
28 lines
1.3 KiB
Java
package com.discord.widgets.guilds.profile;
|
|
|
|
import com.discord.app.AppViewModel;
|
|
import com.discord.widgets.guilds.profile.WidgetChangeGuildIdentityViewModel;
|
|
import d0.z.d.o;
|
|
import kotlin.jvm.functions.Function0;
|
|
/* compiled from: WidgetChangeGuildIdentity.kt */
|
|
public final class WidgetChangeGuildIdentity$viewModel$2 extends o implements Function0<AppViewModel<WidgetChangeGuildIdentityViewModel.ViewState>> {
|
|
public final /* synthetic */ WidgetChangeGuildIdentity this$0;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public WidgetChangeGuildIdentity$viewModel$2(WidgetChangeGuildIdentity widgetChangeGuildIdentity) {
|
|
super(0);
|
|
this.this$0 = widgetChangeGuildIdentity;
|
|
}
|
|
|
|
@Override // kotlin.jvm.functions.Function0
|
|
/* renamed from: invoke */
|
|
public final AppViewModel<WidgetChangeGuildIdentityViewModel.ViewState> mo1invoke() {
|
|
long longExtra = this.this$0.getMostRecentIntent().getLongExtra("com.discord.intent.extra.EXTRA_GUILD_ID", -1);
|
|
String stringExtra = this.this$0.getMostRecentIntent().getStringExtra("com.discord.intent.extra.EXTRA_SOURCE");
|
|
if (stringExtra == null) {
|
|
stringExtra = "";
|
|
}
|
|
return new WidgetChangeGuildIdentityViewModel(longExtra, stringExtra, null, 4, null);
|
|
}
|
|
}
|