2021-08-03 07:33:18 +00:00
|
|
|
package com.discord.widgets.guilds.contextmenu;
|
|
|
|
|
|
|
|
import android.os.Bundle;
|
|
|
|
import com.discord.app.AppViewModel;
|
|
|
|
import com.discord.widgets.guilds.contextmenu.FolderContextMenuViewModel;
|
2021-11-02 06:38:17 +00:00
|
|
|
import d0.z.d.o;
|
2021-08-03 07:33:18 +00:00
|
|
|
import kotlin.jvm.functions.Function0;
|
|
|
|
/* compiled from: WidgetFolderContextMenu.kt */
|
|
|
|
public final class WidgetFolderContextMenu$viewModel$2 extends o implements Function0<AppViewModel<FolderContextMenuViewModel.ViewState>> {
|
|
|
|
public final /* synthetic */ WidgetFolderContextMenu this$0;
|
|
|
|
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
|
|
public WidgetFolderContextMenu$viewModel$2(WidgetFolderContextMenu widgetFolderContextMenu) {
|
|
|
|
super(0);
|
|
|
|
this.this$0 = widgetFolderContextMenu;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override // kotlin.jvm.functions.Function0
|
|
|
|
/* renamed from: invoke */
|
2021-11-02 06:38:17 +00:00
|
|
|
public final AppViewModel<FolderContextMenuViewModel.ViewState> mo1invoke() {
|
2021-08-03 07:33:18 +00:00
|
|
|
Bundle arguments = this.this$0.getArguments();
|
|
|
|
if (arguments != null) {
|
|
|
|
return new FolderContextMenuViewModel(arguments.getLong("com.discord.intent.extra.EXTRA_GUILD_FOLDER_ID"), null, null, 6, null);
|
|
|
|
}
|
|
|
|
throw new IllegalStateException("missing folder id");
|
|
|
|
}
|
|
|
|
}
|