2021-08-03 07:33:18 +00:00
|
|
|
package com.discord.widgets.notice;
|
|
|
|
|
|
|
|
import androidx.fragment.app.FragmentActivity;
|
|
|
|
import androidx.fragment.app.FragmentManager;
|
2021-10-15 06:18:26 +00:00
|
|
|
import c0.z.d.a0;
|
|
|
|
import c0.z.d.m;
|
|
|
|
import c0.z.d.o;
|
2021-08-03 07:33:18 +00:00
|
|
|
import com.discord.utilities.analytics.AnalyticsTracker;
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|