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

41 lines
2.1 KiB
Java

package com.discord.widgets.guildscheduledevent;
import androidx.fragment.app.FragmentActivity;
import androidx.fragment.app.FragmentManager;
import c0.z.d.m;
import c0.z.d.o;
import com.discord.stores.StoreNotices;
import com.discord.widgets.guildscheduledevent.WidgetGuildScheduledEventDetailsBottomSheet;
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;
public final /* synthetic */ String $noticeName;
public final /* synthetic */ StoreNotices $storeNotices;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public WidgetGuildScheduledEventDetailsBottomSheet$Companion$enqueue$guildScheduledEventDetailsNotice$1(long j, StoreNotices storeNotices, String str) {
super(1);
this.$guildScheduledEventId = j;
this.$storeNotices = storeNotices;
this.$noticeName = str;
}
/* 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);
StoreNotices.markSeen$default(this.$storeNotices, this.$noticeName, 0, 2, null);
return true;
}
}