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

35 lines
1.8 KiB
Java

package com.discord.widgets.guildscheduledevent;
import androidx.fragment.app.FragmentActivity;
import androidx.fragment.app.FragmentManager;
import com.discord.widgets.guildscheduledevent.WidgetGuildScheduledEventDetailsBottomSheet;
import d0.z.d.m;
import d0.z.d.o;
import kotlin.jvm.functions.Function1;
/* compiled from: WidgetGuildScheduledEventDetailsBottomSheet.kt */
public final class WidgetGuildScheduledEventDetailsBottomSheet$Companion$enqueue$guildScheduledEventDetailsNotice$1 extends o implements Function1<FragmentActivity, Boolean> {
public final /* synthetic */ long $guildScheduledEventId;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public WidgetGuildScheduledEventDetailsBottomSheet$Companion$enqueue$guildScheduledEventDetailsNotice$1(long j) {
super(1);
this.$guildScheduledEventId = j;
}
/* 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 */ Boolean invoke(FragmentActivity fragmentActivity) {
return Boolean.valueOf(invoke(fragmentActivity));
}
public final boolean invoke(FragmentActivity fragmentActivity) {
m.checkNotNullParameter(fragmentActivity, "appActivity");
WidgetGuildScheduledEventDetailsBottomSheet.Companion companion = WidgetGuildScheduledEventDetailsBottomSheet.Companion;
FragmentManager supportFragmentManager = fragmentActivity.getSupportFragmentManager();
m.checkNotNullExpressionValue(supportFragmentManager, "appActivity.supportFragmentManager");
companion.show(supportFragmentManager, this.$guildScheduledEventId);
return true;
}
}