31 lines
1.8 KiB
Java
31 lines
1.8 KiB
Java
package com.discord.widgets.user.usersheet;
|
|
|
|
import com.discord.app.AppViewModel;
|
|
import com.discord.widgets.user.usersheet.WidgetUserSheet;
|
|
import com.discord.widgets.user.usersheet.WidgetUserSheetViewModel;
|
|
import d0.z.d.o;
|
|
import java.io.Serializable;
|
|
import java.util.Objects;
|
|
import kotlin.jvm.functions.Function0;
|
|
/* compiled from: WidgetUserSheet.kt */
|
|
public final class WidgetUserSheet$viewModel$2 extends o implements Function0<AppViewModel<WidgetUserSheetViewModel.ViewState>> {
|
|
public final /* synthetic */ WidgetUserSheet this$0;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public WidgetUserSheet$viewModel$2(WidgetUserSheet widgetUserSheet) {
|
|
super(0);
|
|
this.this$0 = widgetUserSheet;
|
|
}
|
|
|
|
@Override // kotlin.jvm.functions.Function0
|
|
/* renamed from: invoke */
|
|
public final AppViewModel<WidgetUserSheetViewModel.ViewState> mo1invoke() {
|
|
long j = WidgetUserSheet.access$getArgumentsOrDefault$p(this.this$0).getLong("ARG_USER_ID");
|
|
long j2 = WidgetUserSheet.access$getArgumentsOrDefault$p(this.this$0).getLong("ARG_CHANNEL_ID");
|
|
boolean z2 = WidgetUserSheet.access$getArgumentsOrDefault$p(this.this$0).getBoolean("ARG_IS_VOICE_CONTEXT");
|
|
Serializable serializable = WidgetUserSheet.access$getArgumentsOrDefault$p(this.this$0).getSerializable("ARG_STREAM_PREVIEW_CLICK_BEHAVIOR");
|
|
Objects.requireNonNull(serializable, "null cannot be cast to non-null type com.discord.widgets.user.usersheet.WidgetUserSheet.StreamPreviewClickBehavior");
|
|
return new WidgetUserSheetViewModel(j, j2, WidgetUserSheet.access$getArgumentsOrDefault$p(this.this$0).getString("ARG_FRIEND_TOKEN"), z2, null, (WidgetUserSheet.StreamPreviewClickBehavior) serializable, null, null, null, null, null, null, null, 8144, null);
|
|
}
|
|
}
|