2020-11-12 02:11:44 +00:00
|
|
|
.class public final Lcom/discord/widgets/settings/premium/WidgetChoosePlan$setUpRecycler$2$4;
|
2020-11-16 01:00:50 +00:00
|
|
|
.super Lz/n/c/k;
|
2020-11-12 02:11:44 +00:00
|
|
|
.source "WidgetChoosePlan.kt"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Lkotlin/jvm/functions/Function0;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
|
|
value = Lcom/discord/widgets/settings/premium/WidgetChoosePlan$setUpRecycler$2;->invoke(Lcom/discord/utilities/billing/GooglePlaySku;Ljava/lang/String;Lcom/android/billingclient/api/SkuDetails;)V
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x19
|
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2020-11-16 01:00:50 +00:00
|
|
|
"Lz/n/c/k;",
|
2020-11-12 02:11:44 +00:00
|
|
|
"Lkotlin/jvm/functions/Function0<",
|
|
|
|
"Lkotlin/Unit;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public final synthetic $oldSkuName:Ljava/lang/String;
|
|
|
|
|
|
|
|
.field public final synthetic $sku:Lcom/discord/utilities/billing/GooglePlaySku;
|
|
|
|
|
|
|
|
.field public final synthetic this$0:Lcom/discord/widgets/settings/premium/WidgetChoosePlan$setUpRecycler$2;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(Lcom/discord/widgets/settings/premium/WidgetChoosePlan$setUpRecycler$2;Lcom/discord/utilities/billing/GooglePlaySku;Ljava/lang/String;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/settings/premium/WidgetChoosePlan$setUpRecycler$2$4;->this$0:Lcom/discord/widgets/settings/premium/WidgetChoosePlan$setUpRecycler$2;
|
|
|
|
|
|
|
|
iput-object p2, p0, Lcom/discord/widgets/settings/premium/WidgetChoosePlan$setUpRecycler$2$4;->$sku:Lcom/discord/utilities/billing/GooglePlaySku;
|
|
|
|
|
|
|
|
iput-object p3, p0, Lcom/discord/widgets/settings/premium/WidgetChoosePlan$setUpRecycler$2$4;->$oldSkuName:Ljava/lang/String;
|
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-direct {p0, p1}, Lz/n/c/k;-><init>(I)V
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public bridge synthetic invoke()Ljava/lang/Object;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/discord/widgets/settings/premium/WidgetChoosePlan$setUpRecycler$2$4;->invoke()V
|
|
|
|
|
|
|
|
sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final invoke()V
|
|
|
|
.locals 9
|
|
|
|
|
|
|
|
new-instance v8, Lcom/discord/utilities/analytics/Traits$Location;
|
|
|
|
|
|
|
|
const-string v1, "Yearly Upsell Modal"
|
|
|
|
|
|
|
|
const-string v2, "Yearly Upsell Modal"
|
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
const/4 v4, 0x0
|
|
|
|
|
|
|
|
const/4 v5, 0x0
|
|
|
|
|
|
|
|
const/16 v6, 0x1c
|
|
|
|
|
|
|
|
const/4 v7, 0x0
|
|
|
|
|
|
|
|
move-object v0, v8
|
|
|
|
|
|
|
|
invoke-direct/range {v0 .. v7}, Lcom/discord/utilities/analytics/Traits$Location;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
|
|
|
|
sget-object v0, Lcom/discord/utilities/analytics/AnalyticsTracker;->INSTANCE:Lcom/discord/utilities/analytics/AnalyticsTracker;
|
|
|
|
|
|
|
|
sget-object v1, Lcom/discord/utilities/analytics/Traits$Subscription;->Companion:Lcom/discord/utilities/analytics/Traits$Subscription$Companion;
|
|
|
|
|
|
|
|
iget-object v2, p0, Lcom/discord/widgets/settings/premium/WidgetChoosePlan$setUpRecycler$2$4;->$sku:Lcom/discord/utilities/billing/GooglePlaySku;
|
|
|
|
|
|
|
|
invoke-virtual {v2}, Lcom/discord/utilities/billing/GooglePlaySku;->getUpgrade()Lcom/discord/utilities/billing/GooglePlaySku;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
invoke-virtual {v2}, Lcom/discord/utilities/billing/GooglePlaySku;->getSkuName()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
invoke-virtual {v1, v2}, Lcom/discord/utilities/analytics/Traits$Subscription$Companion;->withGatewayPlanId(Ljava/lang/String;)Lcom/discord/utilities/analytics/Traits$Subscription;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-virtual {v0, v8, v1}, Lcom/discord/utilities/analytics/AnalyticsTracker;->paymentFlowStarted(Lcom/discord/utilities/analytics/Traits$Location;Lcom/discord/utilities/analytics/Traits$Subscription;)V
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/settings/premium/WidgetChoosePlan$setUpRecycler$2$4;->this$0:Lcom/discord/widgets/settings/premium/WidgetChoosePlan$setUpRecycler$2;
|
|
|
|
|
|
|
|
iget-object v0, v0, Lcom/discord/widgets/settings/premium/WidgetChoosePlan$setUpRecycler$2;->this$0:Lcom/discord/widgets/settings/premium/WidgetChoosePlan;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/discord/widgets/settings/premium/WidgetChoosePlan;->access$getViewModel$p(Lcom/discord/widgets/settings/premium/WidgetChoosePlan;)Lcom/discord/widgets/settings/premium/ChoosePlanViewModel;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/settings/premium/WidgetChoosePlan$setUpRecycler$2$4;->$sku:Lcom/discord/utilities/billing/GooglePlaySku;
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Lcom/discord/utilities/billing/GooglePlaySku;->getUpgrade()Lcom/discord/utilities/billing/GooglePlaySku;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
iget-object v2, p0, Lcom/discord/widgets/settings/premium/WidgetChoosePlan$setUpRecycler$2$4;->$oldSkuName:Ljava/lang/String;
|
|
|
|
|
|
|
|
const-string v3, "yearly_upsell"
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1, v2, v8, v3}, Lcom/discord/widgets/settings/premium/ChoosePlanViewModel;->buy(Lcom/discord/utilities/billing/GooglePlaySku;Ljava/lang/String;Lcom/discord/utilities/analytics/Traits$Location;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|