discord-jadx/app/src/main/java/com/discord/widgets/guildscheduledevent/WidgetGuildScheduledEventSettings$previewLauncher$1.java

34 lines
1.3 KiB
Java
Raw Normal View History

2021-08-04 23:47:20 +00:00
package com.discord.widgets.guildscheduledevent;
2021-08-10 21:19:22 +00:00
import android.content.Intent;
2021-08-04 23:47:20 +00:00
import androidx.fragment.app.FragmentActivity;
2021-10-15 06:18:26 +00:00
import c0.z.d.o;
2021-08-04 23:47:20 +00:00
import kotlin.Unit;
2021-08-10 21:19:22 +00:00
import kotlin.jvm.functions.Function1;
2021-08-04 23:47:20 +00:00
/* compiled from: WidgetGuildScheduledEventSettings.kt */
2021-08-10 21:19:22 +00:00
public final class WidgetGuildScheduledEventSettings$previewLauncher$1 extends o implements Function1<Intent, Unit> {
2021-08-04 23:47:20 +00:00
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) {
2021-08-10 21:19:22 +00:00
super(1);
2021-08-04 23:47:20 +00:00
this.this$0 = widgetGuildScheduledEventSettings;
}
2021-08-10 21:19:22 +00:00
/* 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) {
2021-08-04 23:47:20 +00:00
FragmentActivity activity = this.this$0.getActivity();
if (activity != null) {
2021-08-18 06:27:30 +00:00
activity.setResult(-1);
2021-08-04 23:47:20 +00:00
activity.finish();
}
}
}