discord-jadx/app/src/main/java/com/discord/widgets/stickers/WidgetStickerSheet$viewMode...

28 lines
1.4 KiB
Java

package com.discord.widgets.stickers;
import com.discord.api.sticker.Sticker;
import com.discord.app.AppViewModel;
import com.discord.widgets.stickers.StickerSheetViewModel;
import d0.z.d.o;
import java.io.Serializable;
import java.util.Objects;
import kotlin.jvm.functions.Function0;
/* compiled from: WidgetStickerSheet.kt */
public final class WidgetStickerSheet$viewModel$2 extends o implements Function0<AppViewModel<StickerSheetViewModel.ViewState>> {
public final /* synthetic */ WidgetStickerSheet this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public WidgetStickerSheet$viewModel$2(WidgetStickerSheet widgetStickerSheet) {
super(0);
this.this$0 = widgetStickerSheet;
}
@Override // kotlin.jvm.functions.Function0
/* renamed from: invoke */
public final AppViewModel<StickerSheetViewModel.ViewState> mo1invoke() {
Serializable serializable = WidgetStickerSheet.access$getArgumentsOrDefault$p(this.this$0).getSerializable("com.discord.intent.extra.EXTRA_STICKER");
Objects.requireNonNull(serializable, "null cannot be cast to non-null type com.discord.api.sticker.Sticker");
return new StickerSheetViewModel((Sticker) serializable, null, null, WidgetStickerSheet.access$getArgumentsOrDefault$p(this.this$0).getString("widget_sticker_sheet_analytics_location"), null, 22, null);
}
}