package com.discord.widgets.bugreports; import android.view.View; import androidx.fragment.app.FragmentManager; import c.a.y.a0; import com.discord.app.AppFragment; import d0.z.d.m; import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: WidgetBugReport.kt */ public final class WidgetBugReport$onViewBound$5 implements View.OnClickListener { public final /* synthetic */ WidgetBugReport this$0; /* compiled from: WidgetBugReport.kt */ /* renamed from: com.discord.widgets.bugreports.WidgetBugReport$onViewBound$5$1 reason: invalid class name */ public static final class AnonymousClass1 extends o implements Function1 { public final /* synthetic */ WidgetBugReport$onViewBound$5 this$0; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public AnonymousClass1(WidgetBugReport$onViewBound$5 widgetBugReport$onViewBound$5) { super(1); this.this$0 = widgetBugReport$onViewBound$5; } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Integer num) { invoke(num.intValue()); return Unit.a; } public final void invoke(int i) { WidgetBugReport.access$getViewModel$p(this.this$0.this$0).updatePriority(i); } } public WidgetBugReport$onViewBound$5(WidgetBugReport widgetBugReport) { this.this$0 = widgetBugReport; } @Override // android.view.View.OnClickListener public final void onClick(View view) { AppFragment.hideKeyboard$default(this.this$0, null, 1, null); a0.a aVar = a0.j; FragmentManager childFragmentManager = this.this$0.getChildFragmentManager(); m.checkNotNullExpressionValue(childFragmentManager, "childFragmentManager"); String string = this.this$0.getString(2131887081); m.checkNotNullExpressionValue(string, "getString(R.string.bug_report_priority)"); a0.a.b(aVar, childFragmentManager, string, this.this$0.getItems(), false, new AnonymousClass1(this), 8); } }