forked from Juby210/discord-jadx
31 lines
1.3 KiB
Java
31 lines
1.3 KiB
Java
package com.discord.widgets.bugreports;
|
|
|
|
import android.net.Uri;
|
|
import c0.z.d.m;
|
|
import c0.z.d.o;
|
|
import com.discord.app.AppViewModel;
|
|
import com.discord.widgets.bugreports.BugReportViewModel;
|
|
import kotlin.jvm.functions.Function0;
|
|
/* compiled from: WidgetBugReport.kt */
|
|
public final class WidgetBugReport$viewModel$2 extends o implements Function0<AppViewModel<BugReportViewModel.ViewState>> {
|
|
public final /* synthetic */ WidgetBugReport this$0;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public WidgetBugReport$viewModel$2(WidgetBugReport widgetBugReport) {
|
|
super(0);
|
|
this.this$0 = widgetBugReport;
|
|
}
|
|
|
|
@Override // kotlin.jvm.functions.Function0
|
|
/* renamed from: invoke */
|
|
public final AppViewModel<BugReportViewModel.ViewState> mo17invoke() {
|
|
Uri parse = Uri.parse(this.this$0.getMostRecentIntent().getStringExtra(WidgetBugReport.INTENT_EXTRA_SCREENSHOT_URI));
|
|
String stringExtra = this.this$0.getMostRecentIntent().getStringExtra(WidgetBugReport.INTENT_EXTRA_SCREENSHOT_FILENAME);
|
|
if (stringExtra == null) {
|
|
stringExtra = "";
|
|
}
|
|
m.checkNotNullExpressionValue(parse, "screenshotUri");
|
|
return new BugReportViewModel(parse, stringExtra, null, 4, null);
|
|
}
|
|
}
|