58 lines
2.2 KiB
Java
58 lines
2.2 KiB
Java
package com.discord.widgets.stickers;
|
|
|
|
import android.content.Context;
|
|
import android.view.View;
|
|
import com.discord.i18n.RenderContext;
|
|
import com.discord.widgets.settings.premium.WidgetSettingsPremium;
|
|
import d0.z.d.m;
|
|
import d0.z.d.o;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function1;
|
|
/* compiled from: WidgetStickerSheet.kt */
|
|
/* loaded from: classes2.dex */
|
|
public final class WidgetStickerSheet$configureUI$2 extends o implements Function1<RenderContext, Unit> {
|
|
public static final WidgetStickerSheet$configureUI$2 INSTANCE = new WidgetStickerSheet$configureUI$2();
|
|
|
|
/* compiled from: WidgetStickerSheet.kt */
|
|
/* renamed from: com.discord.widgets.stickers.WidgetStickerSheet$configureUI$2$1 reason: invalid class name */
|
|
/* loaded from: classes2.dex */
|
|
public static final class AnonymousClass1 extends o implements Function1<View, Unit> {
|
|
public static final AnonymousClass1 INSTANCE = new AnonymousClass1();
|
|
|
|
public AnonymousClass1() {
|
|
super(1);
|
|
}
|
|
|
|
@Override // kotlin.jvm.functions.Function1
|
|
public /* bridge */ /* synthetic */ Unit invoke(View view) {
|
|
invoke2(view);
|
|
return Unit.a;
|
|
}
|
|
|
|
/* renamed from: invoke reason: avoid collision after fix types in other method */
|
|
public final void invoke2(View view) {
|
|
m.checkNotNullParameter(view, "view");
|
|
WidgetSettingsPremium.Companion companion = WidgetSettingsPremium.Companion;
|
|
Context context = view.getContext();
|
|
m.checkNotNullExpressionValue(context, "view.context");
|
|
WidgetSettingsPremium.Companion.launch$default(companion, context, null, "Sticker Nitro Upsell Popout", 2, null);
|
|
}
|
|
}
|
|
|
|
public WidgetStickerSheet$configureUI$2() {
|
|
super(1);
|
|
}
|
|
|
|
@Override // kotlin.jvm.functions.Function1
|
|
public /* bridge */ /* synthetic */ Unit invoke(RenderContext renderContext) {
|
|
invoke2(renderContext);
|
|
return Unit.a;
|
|
}
|
|
|
|
/* renamed from: invoke reason: avoid collision after fix types in other method */
|
|
public final void invoke2(RenderContext renderContext) {
|
|
m.checkNotNullParameter(renderContext, "$receiver");
|
|
renderContext.b("onClick", AnonymousClass1.INSTANCE);
|
|
}
|
|
}
|