discord-jadx/app/src/main/java/com/discord/utilities/gifting/GiftingUtils$buyGift$2.java

36 lines
1.5 KiB
Java

package com.discord.utilities.gifting;
import android.view.View;
import com.discord.stores.StoreStream;
import com.discord.utilities.billing.GooglePlayInAppSku;
import d0.z.d.m;
import d0.z.d.o;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
/* compiled from: GiftingUtils.kt */
public final class GiftingUtils$buyGift$2 extends o implements Function1<View, Unit> {
public final /* synthetic */ GooglePlayInAppSku $inAppSku;
public final /* synthetic */ GiftingUtils$buyGift$1 $launchBillingFlow$1;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public GiftingUtils$buyGift$2(GooglePlayInAppSku googlePlayInAppSku, GiftingUtils$buyGift$1 giftingUtils$buyGift$1) {
super(1);
this.$inAppSku = googlePlayInAppSku;
this.$launchBillingFlow$1 = giftingUtils$buyGift$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 */ Unit invoke(View view) {
invoke(view);
return Unit.a;
}
public final void invoke(View view) {
m.checkNotNullParameter(view, "it");
StoreStream.Companion.getGooglePlayPurchases().trackPaymentFlowStep(this.$inAppSku.getPaymentGatewaySkuId(), "warning_dialog", "");
this.$launchBillingFlow$1.mo1invoke();
}
}