35 lines
1.7 KiB
Java
35 lines
1.7 KiB
Java
package com.discord.widgets.notice;
|
|
|
|
import androidx.fragment.app.FragmentActivity;
|
|
import androidx.fragment.app.FragmentManager;
|
|
import com.discord.utilities.analytics.AnalyticsTracker;
|
|
import d0.z.d.a0;
|
|
import d0.z.d.m;
|
|
import d0.z.d.o;
|
|
import kotlin.jvm.functions.Function1;
|
|
/* compiled from: WidgetNoticeNuxOverlay.kt */
|
|
public final class WidgetNoticeNuxOverlay$Companion$enqueue$notice$1 extends o implements Function1<FragmentActivity, Boolean> {
|
|
public static final WidgetNoticeNuxOverlay$Companion$enqueue$notice$1 INSTANCE = new WidgetNoticeNuxOverlay$Companion$enqueue$notice$1();
|
|
|
|
public WidgetNoticeNuxOverlay$Companion$enqueue$notice$1() {
|
|
super(1);
|
|
}
|
|
|
|
/* 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, "it");
|
|
WidgetNoticeNuxOverlay widgetNoticeNuxOverlay = new WidgetNoticeNuxOverlay();
|
|
FragmentManager supportFragmentManager = fragmentActivity.getSupportFragmentManager();
|
|
m.checkNotNullExpressionValue(supportFragmentManager, "it.supportFragmentManager");
|
|
widgetNoticeNuxOverlay.show(supportFragmentManager, a0.getOrCreateKotlinClass(WidgetNoticeNuxOverlay.class).toString());
|
|
AnalyticsTracker.openModal$default("Mobile Voice Overlay Upsell", "", null, 4, null);
|
|
return true;
|
|
}
|
|
}
|