package com.discord.widgets.guildscheduledevent; import android.content.Intent; import androidx.fragment.app.FragmentActivity; import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: WidgetGuildScheduledEventSettings.kt */ public final class WidgetGuildScheduledEventSettings$previewLauncher$1 extends o implements Function1 { public final /* synthetic */ WidgetGuildScheduledEventSettings this$0; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public WidgetGuildScheduledEventSettings$previewLauncher$1(WidgetGuildScheduledEventSettings widgetGuildScheduledEventSettings) { super(1); this.this$0 = widgetGuildScheduledEventSettings; } /* 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(Intent intent) { invoke(intent); return Unit.a; } public final void invoke(Intent intent) { FragmentActivity activity = this.this$0.getActivity(); if (activity != null) { activity.setResult(-1); activity.finish(); } } }