38 lines
2.0 KiB
Java
38 lines
2.0 KiB
Java
package com.discord.widgets.guildscheduledevent;
|
|
|
|
import android.os.Bundle;
|
|
import androidx.fragment.app.FragmentActivity;
|
|
import androidx.fragment.app.FragmentManager;
|
|
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 widgetGuildScheduledEventDetailsBottomSheet = new WidgetGuildScheduledEventDetailsBottomSheet();
|
|
Bundle bundle = new Bundle();
|
|
bundle.putLong("com.discord.intent.extra.EXTRA_GUILD_SCHEDULED_EVENT_ID", this.$guildScheduledEventId);
|
|
widgetGuildScheduledEventDetailsBottomSheet.setArguments(bundle);
|
|
FragmentManager supportFragmentManager = fragmentActivity.getSupportFragmentManager();
|
|
m.checkNotNullExpressionValue(supportFragmentManager, "appActivity.supportFragmentManager");
|
|
widgetGuildScheduledEventDetailsBottomSheet.show(supportFragmentManager, WidgetGuildScheduledEventDetailsBottomSheet.class.getName());
|
|
return true;
|
|
}
|
|
}
|