discord-jadx/app/src/main/java/com/discord/widgets/guildscheduledevent/WidgetGuildScheduledEventSe...

34 lines
1.3 KiB
Java

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<Intent, Unit> {
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();
}
}
}