package com.discord.widgets.settings; import android.content.Context; import androidx.fragment.app.FragmentManager; import com.discord.models.domain.Harvest; import com.discord.utilities.rest.RestAPI; import com.discord.widgets.notice.WidgetNoticeDialog; import d0.z.d.m; import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: WidgetSettingsPrivacy.kt */ public final class WidgetSettingsPrivacy$onRequestDataClick$1 extends o implements Function1 { public final /* synthetic */ Context $context; public final /* synthetic */ WidgetSettingsPrivacy this$0; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public WidgetSettingsPrivacy$onRequestDataClick$1(WidgetSettingsPrivacy widgetSettingsPrivacy, Context context) { super(1); this.this$0 = widgetSettingsPrivacy; this.$context = context; } /* 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(Harvest harvest) { invoke(harvest); return Unit.a; } public final void invoke(Harvest harvest) { m.checkNotNullParameter(harvest, "requestedHarvest"); WidgetNoticeDialog.Builder positiveButton$default = WidgetNoticeDialog.Builder.setPositiveButton$default(new WidgetNoticeDialog.Builder(this.$context).setTitle(2131888032).setMessage(2131888031), 2131891735, (Function1) null, 2, (Object) null); FragmentManager parentFragmentManager = this.this$0.getParentFragmentManager(); m.checkNotNullExpressionValue(parentFragmentManager, "parentFragmentManager"); positiveButton$default.show(parentFragmentManager); WidgetSettingsPrivacy.access$configureRequestDataButton(this.this$0, true, new RestAPI.HarvestState.LastRequested(harvest)); } }