26 lines
1.1 KiB
Java
26 lines
1.1 KiB
Java
package com.discord.widgets.guildscheduledevent;
|
|
|
|
import com.discord.utilities.intent.IntentUtilsKt;
|
|
import d0.z.d.o;
|
|
import kotlin.jvm.functions.Function0;
|
|
/* compiled from: WidgetGuildScheduledEventSettings.kt */
|
|
/* loaded from: classes2.dex */
|
|
public final class WidgetGuildScheduledEventSettings$guildId$2 extends o implements Function0<Long> {
|
|
public final /* synthetic */ WidgetGuildScheduledEventSettings this$0;
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
public WidgetGuildScheduledEventSettings$guildId$2(WidgetGuildScheduledEventSettings widgetGuildScheduledEventSettings) {
|
|
super(0);
|
|
this.this$0 = widgetGuildScheduledEventSettings;
|
|
}
|
|
|
|
@Override // kotlin.jvm.functions.Function0
|
|
public final Long invoke() {
|
|
Long longExtraOrNull = IntentUtilsKt.getLongExtraOrNull(this.this$0.getMostRecentIntent(), "com.discord.intent.extra.EXTRA_GUILD_ID");
|
|
if (longExtraOrNull != null) {
|
|
return longExtraOrNull.longValue();
|
|
}
|
|
throw new IllegalStateException();
|
|
}
|
|
}
|