2020-05-17 12:40:10 +00:00
.class public final L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;
.super L com/discord/app/AppFragment ;
.source "WidgetPremiumGuildSubscriptionConfirmation.kt"
# annotations
.annotation system L dalvik/annotation/MemberClasses ;
value = {
L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation$Companion ;
}
.end annotation
# static fields
.field public static final synthetic $ $ delegatedProperties : [ L kotlin/reflect/KProperty ;
.field public static final Companion : L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation$Companion ;
.field public static final INTENT_EXTRA_GUILD_ID : L java/lang/String ; = "GUILD_ID"
.field public static final INTENT_EXTRA_SLOT_ID : L java/lang/String ; = "SLOT_ID"
# instance fields
.field public final confirmationView$delegate : L kotlin/properties/ReadOnlyProperty ;
.field public final dimmer$delegate : L kotlin/properties/ReadOnlyProperty ;
.field public final error$delegate : L kotlin/properties/ReadOnlyProperty ;
.field public guildId : J
.field public final select$delegate : L kotlin/properties/ReadOnlyProperty ;
.field public slotId : J
.field public viewModel : L com/discord/widgets/servers/premiumguild/PremiumGuildSubscriptionInProgressViewModel ;
.field public final warning$delegate : L kotlin/properties/ReadOnlyProperty ;
# direct methods
.method public static constructor <clinit> ( ) V
2020-07-08 16:44:49 +00:00
.locals 5
2020-05-17 12:40:10 +00:00
const/4 v0 , 0x5
new-array v0 , v0 , [ L kotlin/reflect/KProperty ;
2020-07-25 00:57:58 +00:00
new-instance v1 , L j0/n/c/q ;
2020-05-17 12:40:10 +00:00
const-class v2 , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;
2020-07-25 00:57:58 +00:00
invoke-static { v2 } , L j0/n/c/s ;-> getOrCreateKotlinClass ( L java/lang/Class ;) L j0/r/b ;
2020-05-17 12:40:10 +00:00
move-result-object v2
const-string v3 , "confirmationView"
const-string v4 , "getConfirmationView()Lcom/discord/views/premiumguild/PremiumGuildConfirmationView;"
2020-07-25 00:57:58 +00:00
invoke-direct { v1 , v2 , v3 , v4 } , L j0/n/c/q ;-> <init> ( L kotlin/reflect/KDeclarationContainer ;L java/lang/String ;L java/lang/String ;) V
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-static { v1 } , L j0/n/c/s ;-> property1 ( L j0/n/c/p ;) L j0/r/d ;
2020-05-17 12:40:10 +00:00
const/4 v2 , 0x0
aput-object v1 , v0 , v2
2020-07-25 00:57:58 +00:00
new-instance v1 , L j0/n/c/q ;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const-class v2 , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-static { v2 } , L j0/n/c/s ;-> getOrCreateKotlinClass ( L java/lang/Class ;) L j0/r/b ;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-result-object v2
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const-string v3 , "select"
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const-string v4 , "getSelect()Landroid/widget/Button;"
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-direct { v1 , v2 , v3 , v4 } , L j0/n/c/q ;-> <init> ( L kotlin/reflect/KDeclarationContainer ;L java/lang/String ;L java/lang/String ;) V
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-static { v1 } , L j0/n/c/s ;-> property1 ( L j0/n/c/p ;) L j0/r/d ;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const/4 v2 , 0x1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
aput-object v1 , v0 , v2
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
new-instance v1 , L j0/n/c/q ;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const-class v2 , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-static { v2 } , L j0/n/c/s ;-> getOrCreateKotlinClass ( L java/lang/Class ;) L j0/r/b ;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-result-object v2
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const-string v3 , "error"
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const-string v4 , "getError()Landroid/view/View;"
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-direct { v1 , v2 , v3 , v4 } , L j0/n/c/q ;-> <init> ( L kotlin/reflect/KDeclarationContainer ;L java/lang/String ;L java/lang/String ;) V
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-static { v1 } , L j0/n/c/s ;-> property1 ( L j0/n/c/p ;) L j0/r/d ;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const/4 v2 , 0x2
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
aput-object v1 , v0 , v2
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
new-instance v1 , L j0/n/c/q ;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const-class v2 , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-static { v2 } , L j0/n/c/s ;-> getOrCreateKotlinClass ( L java/lang/Class ;) L j0/r/b ;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-result-object v2
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
const-string/jumbo v3 , "warning"
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const-string v4 , "getWarning()Landroid/widget/TextView;"
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-direct { v1 , v2 , v3 , v4 } , L j0/n/c/q ;-> <init> ( L kotlin/reflect/KDeclarationContainer ;L java/lang/String ;L java/lang/String ;) V
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-static { v1 } , L j0/n/c/s ;-> property1 ( L j0/n/c/p ;) L j0/r/d ;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const/4 v2 , 0x3
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
aput-object v1 , v0 , v2
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
new-instance v1 , L j0/n/c/q ;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const-class v2 , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-static { v2 } , L j0/n/c/s ;-> getOrCreateKotlinClass ( L java/lang/Class ;) L j0/r/b ;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-result-object v2
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const-string v3 , "dimmer"
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const-string v4 , "getDimmer()Lcom/discord/utilities/dimmer/DimmerView;"
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-direct { v1 , v2 , v3 , v4 } , L j0/n/c/q ;-> <init> ( L kotlin/reflect/KDeclarationContainer ;L java/lang/String ;L java/lang/String ;) V
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-static { v1 } , L j0/n/c/s ;-> property1 ( L j0/n/c/p ;) L j0/r/d ;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const/4 v2 , 0x4
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
aput-object v1 , v0 , v2
2020-05-17 12:40:10 +00:00
sput-object v0 , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;-> $ $ delegatedProperties : [ L kotlin/reflect/KProperty ;
new-instance v0 , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation$Companion ;
const/4 v1 , 0x0
invoke-direct { v0 , v1 } , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation$Companion ;-> <init> ( L kotlin/jvm/internal/DefaultConstructorMarker ;) V
sput-object v0 , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;-> Companion : L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation$Companion ;
return-void
.end method
.method public constructor <init> ( ) V
.locals 2
invoke-direct { p0 } , L com/discord/app/AppFragment ;-> <init> ( ) V
2020-07-23 01:06:17 +00:00
const v0 , 0x7f0a0101
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
invoke-static { p0 , v0 } , L f/n/a/k/a ;-> j ( L androidx/fragment/app/Fragment ;I ) L kotlin/properties/ReadOnlyProperty ;
2020-05-17 12:40:10 +00:00
move-result-object v0
iput-object v0 , p0 , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;-> confirmationView$delegate : L kotlin/properties/ReadOnlyProperty ;
2020-07-23 01:06:17 +00:00
const v0 , 0x7f0a0104
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
invoke-static { p0 , v0 } , L f/n/a/k/a ;-> j ( L androidx/fragment/app/Fragment ;I ) L kotlin/properties/ReadOnlyProperty ;
2020-05-17 12:40:10 +00:00
move-result-object v0
iput-object v0 , p0 , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;-> select$delegate : L kotlin/properties/ReadOnlyProperty ;
2020-07-23 01:06:17 +00:00
const v0 , 0x7f0a0103
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
invoke-static { p0 , v0 } , L f/n/a/k/a ;-> j ( L androidx/fragment/app/Fragment ;I ) L kotlin/properties/ReadOnlyProperty ;
2020-05-17 12:40:10 +00:00
move-result-object v0
iput-object v0 , p0 , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;-> error$delegate : L kotlin/properties/ReadOnlyProperty ;
2020-07-23 01:06:17 +00:00
const v0 , 0x7f0a0102
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
invoke-static { p0 , v0 } , L f/n/a/k/a ;-> j ( L androidx/fragment/app/Fragment ;I ) L kotlin/properties/ReadOnlyProperty ;
2020-05-17 12:40:10 +00:00
move-result-object v0
iput-object v0 , p0 , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;-> warning$delegate : L kotlin/properties/ReadOnlyProperty ;
2020-08-08 01:54:49 +00:00
const v0 , 0x7f0a02e9
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
invoke-static { p0 , v0 } , L f/n/a/k/a ;-> j ( L androidx/fragment/app/Fragment ;I ) L kotlin/properties/ReadOnlyProperty ;
2020-05-17 12:40:10 +00:00
move-result-object v0
iput-object v0 , p0 , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;-> dimmer$delegate : L kotlin/properties/ReadOnlyProperty ;
const-wide/16 v0 , - 0x1
iput-wide v0 , p0 , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;-> guildId : J
iput-wide v0 , p0 , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;-> slotId : J
return-void
.end method
.method public static final synthetic access$configureUI ( L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;L com/discord/widgets/servers/premiumguild/PremiumGuildSubscriptionInProgressViewModel$ViewState ;) V
.locals 0
invoke-direct { p0 , p1 } , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;-> configureUI ( L com/discord/widgets/servers/premiumguild/PremiumGuildSubscriptionInProgressViewModel$ViewState ;) V
return-void
.end method
.method public static final synthetic access$getGuildId$p ( L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;) J
.locals 2
iget-wide v0 , p0 , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;-> guildId : J
return-wide v0
.end method
.method public static final synthetic access$getSlotId$p ( L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;) J
.locals 2
iget-wide v0 , p0 , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;-> slotId : J
return-wide v0
.end method
.method public static final synthetic access$getViewModel$p ( L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;) L com/discord/widgets/servers/premiumguild/PremiumGuildSubscriptionInProgressViewModel ;
.locals 0
iget-object p0 , p0 , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;-> viewModel : L com/discord/widgets/servers/premiumguild/PremiumGuildSubscriptionInProgressViewModel ;
if-eqz p0 , :cond_0
return-object p0
:cond_0
2020-07-23 01:06:17 +00:00
const-string/jumbo p0 , "viewModel"
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-static { p0 } , L j0/n/c/h ;-> throwUninitializedPropertyAccessException ( L java/lang/String ;) V
2020-05-17 12:40:10 +00:00
const/4 p0 , 0x0
throw p0
.end method
.method public static final synthetic access$setGuildId$p ( L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;J ) V
.locals 0
iput-wide p1 , p0 , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;-> guildId : J
return-void
.end method
.method public static final synthetic access$setSlotId$p ( L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;J ) V
.locals 0
iput-wide p1 , p0 , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;-> slotId : J
return-void
.end method
.method public static final synthetic access$setViewModel$p ( L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;L com/discord/widgets/servers/premiumguild/PremiumGuildSubscriptionInProgressViewModel ;) V
.locals 0
iput-object p1 , p0 , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;-> viewModel : L com/discord/widgets/servers/premiumguild/PremiumGuildSubscriptionInProgressViewModel ;
return-void
.end method
.method private final configureToolbar ( L java/lang/String ;) V
.locals 1
2020-08-08 01:54:49 +00:00
const v0 , 0x7f121194
2020-05-17 12:40:10 +00:00
invoke-virtual { p0 , v0 } , L com/discord/app/AppFragment ;-> setActionBarTitle ( I ) L kotlin/Unit ;
invoke-virtual { p0 , p1 } , L com/discord/app/AppFragment ;-> setActionBarSubtitle ( L java/lang/CharSequence ;) L kotlin/Unit ;
return-void
.end method
.method private final configureUI ( L com/discord/widgets/servers/premiumguild/PremiumGuildSubscriptionInProgressViewModel$ViewState ;) V
2020-07-08 16:44:49 +00:00
.locals 14
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
instance-of v0 , p1 , L com/discord/widgets/servers/premiumguild/PremiumGuildSubscriptionInProgressViewModel$ViewState$Uninitialized ;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
if-eqz v0 , :cond_0
2020-05-17 12:40:10 +00:00
return-void
:cond_0
2020-07-08 16:44:49 +00:00
if-eqz p1 , :cond_6
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
check-cast p1 , L com/discord/widgets/servers/premiumguild/PremiumGuildSubscriptionInProgressViewModel$ViewState$Loaded ;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-virtual { p1 } , L com/discord/widgets/servers/premiumguild/PremiumGuildSubscriptionInProgressViewModel$ViewState$Loaded ;-> getGuild ( ) L com/discord/models/domain/ModelGuild ;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-result-object v0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
if-nez v0 , :cond_1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-virtual { p0 } , L androidx/fragment/app/Fragment ;-> requireActivity ( ) L androidx/fragment/app/FragmentActivity ;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-result-object p1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-virtual { p1 } , L android/app/Activity ;-> finish ( ) V
2020-05-17 12:40:10 +00:00
return-void
:cond_1
2020-07-08 16:44:49 +00:00
invoke-virtual { p1 } , L com/discord/widgets/servers/premiumguild/PremiumGuildSubscriptionInProgressViewModel$ViewState$Loaded ;-> getGuild ( ) L com/discord/models/domain/ModelGuild ;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-result-object v0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-virtual { v0 } , L com/discord/models/domain/ModelGuild ;-> getName ( ) L java/lang/String ;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-result-object v0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const-string v1 , "state.guild.name"
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-static { v0 , v1 } , L j0/n/c/h ;-> checkExpressionValueIsNotNull ( L java/lang/Object ;L java/lang/String ;) V
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-direct { p0 , v0 } , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;-> configureToolbar ( L java/lang/String ;) V
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-direct { p0 } , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;-> getConfirmationView ( ) L com/discord/views/premiumguild/PremiumGuildConfirmationView ;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-result-object v0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-virtual { p1 } , L com/discord/widgets/servers/premiumguild/PremiumGuildSubscriptionInProgressViewModel$ViewState$Loaded ;-> getGuild ( ) L com/discord/models/domain/ModelGuild ;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-result-object v2
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const/4 v3 , 0x1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-virtual { v0 , v2 , v3 } , L com/discord/views/premiumguild/PremiumGuildConfirmationView ;-> a ( L com/discord/models/domain/ModelGuild ;I ) V
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-virtual { p1 } , L com/discord/widgets/servers/premiumguild/PremiumGuildSubscriptionInProgressViewModel$ViewState$Loaded ;-> getPremiumGuildSubscriptionState ( ) L com/discord/widgets/servers/premiumguild/PremiumGuildSubscriptionInProgressViewModel$PremiumGuildSubscriptionState ;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-result-object v0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-virtual { v0 } , L java/lang/Enum ;-> ordinal ( ) I
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-result v0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const/4 v2 , 0x4
2020-05-17 12:40:10 +00:00
const/4 v4 , 0x0
2020-07-08 16:44:49 +00:00
const/4 v5 , 0x2
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const/4 v6 , 0x0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
if-eqz v0 , :cond_5
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
if-eq v0 , v3 , :cond_4
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
if-eq v0 , v5 , :cond_3
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const/4 p1 , 0x3
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
if-eq v0 , p1 , :cond_2
2020-05-17 12:40:10 +00:00
goto :goto_0
:cond_2
2020-07-08 16:44:49 +00:00
invoke-direct { p0 } , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;-> getDimmer ( ) L com/discord/utilities/dimmer/DimmerView ;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-result-object p1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-static { p1 , v6 , v6 , v5 , v4 } , L com/discord/utilities/dimmer/DimmerView ;-> setDimmed$default ( L com/discord/utilities/dimmer/DimmerView ;ZZI L java/lang/Object ;) V
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-direct { p0 } , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;-> getError ( ) L android/view/View ;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-result-object p1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-virtual { p1 , v6 } , L android/view/View ;-> setVisibility ( I ) V
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
goto :goto_0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
:cond_3
sget-object v7 , L f/a/a/c/c ;-> k : L f/a/a/c/c$a ;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-virtual { p0 } , L androidx/fragment/app/Fragment ;-> getParentFragmentManager ( ) L androidx/fragment/app/FragmentManager ;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-result-object v8
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const-string v0 , "parentFragmentManager"
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-static { v8 , v0 } , L j0/n/c/h ;-> checkExpressionValueIsNotNull ( L java/lang/Object ;L java/lang/String ;) V
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-virtual { p0 } , L androidx/fragment/app/Fragment ;-> getResources ( ) L android/content/res/Resources ;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-result-object v9
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const-string v0 , "resources"
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-static { v9 , v0 } , L j0/n/c/h ;-> checkExpressionValueIsNotNull ( L java/lang/Object ;L java/lang/String ;) V
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-virtual { p1 } , L com/discord/widgets/servers/premiumguild/PremiumGuildSubscriptionInProgressViewModel$ViewState$Loaded ;-> getGuild ( ) L com/discord/models/domain/ModelGuild ;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-result-object v0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-virtual { v0 } , L com/discord/models/domain/ModelGuild ;-> getName ( ) L java/lang/String ;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-result-object v10
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-static { v10 , v1 } , L j0/n/c/h ;-> checkExpressionValueIsNotNull ( L java/lang/Object ;L java/lang/String ;) V
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-virtual { p1 } , L com/discord/widgets/servers/premiumguild/PremiumGuildSubscriptionInProgressViewModel$ViewState$Loaded ;-> getSubscriptionCount ( ) I
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-result p1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
add-int/lit8 v11 , p1 , 0x1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const/4 v12 , 0x0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
new-instance v13 , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation$configureUI$1 ;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-direct { v13 , p0 } , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation$configureUI$1 ;-> <init> ( L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;) V
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-virtual/range { v7 . . v13 } , L f/a/a/c/c$a ;-> a ( L androidx/fragment/app/FragmentManager ;L android/content/res/Resources ;L java/lang/String ;IZ L kotlin/jvm/functions/Function0 ;) V
2020-05-17 12:40:10 +00:00
goto :goto_0
:cond_4
2020-07-08 16:44:49 +00:00
invoke-direct { p0 } , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;-> getDimmer ( ) L com/discord/utilities/dimmer/DimmerView ;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-result-object p1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-static { p1 , v3 , v6 , v5 , v4 } , L com/discord/utilities/dimmer/DimmerView ;-> setDimmed$default ( L com/discord/utilities/dimmer/DimmerView ;ZZI L java/lang/Object ;) V
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-direct { p0 } , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;-> getError ( ) L android/view/View ;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-result-object p1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-virtual { p1 , v2 } , L android/view/View ;-> setVisibility ( I ) V
2020-05-17 12:40:10 +00:00
goto :goto_0
:cond_5
2020-07-08 16:44:49 +00:00
invoke-direct { p0 } , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;-> getDimmer ( ) L com/discord/utilities/dimmer/DimmerView ;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-result-object p1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-static { p1 , v6 , v6 , v5 , v4 } , L com/discord/utilities/dimmer/DimmerView ;-> setDimmed$default ( L com/discord/utilities/dimmer/DimmerView ;ZZI L java/lang/Object ;) V
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-direct { p0 } , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;-> getError ( ) L android/view/View ;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-result-object p1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-virtual { p1 , v2 } , L android/view/View ;-> setVisibility ( I ) V
2020-05-17 12:40:10 +00:00
:goto_0
return-void
:cond_6
2020-07-08 16:44:49 +00:00
new-instance p1 , L kotlin/TypeCastException ;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const-string v0 , "null cannot be cast to non-null type com.discord.widgets.servers.premiumguild.PremiumGuildSubscriptionInProgressViewModel.ViewState.Loaded"
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-direct { p1 , v0 } , L kotlin/TypeCastException ;-> <init> ( L java/lang/String ;) V
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
throw p1
2020-05-17 12:40:10 +00:00
.end method
.method public static final create ( L android/content/Context ;JJ ) V
.locals 6
sget-object v0 , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;-> Companion : L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation$Companion ;
move-object v1 , p0
move-wide v2 , p1
move-wide v4 , p3
invoke-virtual/range { v0 . . v5 } , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation$Companion ;-> create ( L android/content/Context ;JJ ) V
return-void
.end method
.method private final getConfirmationView ( ) L com/discord/views/premiumguild/PremiumGuildConfirmationView ;
.locals 3
iget-object v0 , p0 , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;-> confirmationView$delegate : L kotlin/properties/ReadOnlyProperty ;
sget-object v1 , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;-> $ $ delegatedProperties : [ L kotlin/reflect/KProperty ;
const/4 v2 , 0x0
aget-object v1 , v1 , v2
invoke-interface { v0 , p0 , v1 } , L kotlin/properties/ReadOnlyProperty ;-> getValue ( L java/lang/Object ;L kotlin/reflect/KProperty ;) L java/lang/Object ;
move-result-object v0
check-cast v0 , L com/discord/views/premiumguild/PremiumGuildConfirmationView ;
return-object v0
.end method
.method private final getDimmer ( ) L com/discord/utilities/dimmer/DimmerView ;
.locals 3
iget-object v0 , p0 , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;-> dimmer$delegate : L kotlin/properties/ReadOnlyProperty ;
sget-object v1 , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;-> $ $ delegatedProperties : [ L kotlin/reflect/KProperty ;
const/4 v2 , 0x4
aget-object v1 , v1 , v2
invoke-interface { v0 , p0 , v1 } , L kotlin/properties/ReadOnlyProperty ;-> getValue ( L java/lang/Object ;L kotlin/reflect/KProperty ;) L java/lang/Object ;
move-result-object v0
check-cast v0 , L com/discord/utilities/dimmer/DimmerView ;
return-object v0
.end method
.method private final getError ( ) L android/view/View ;
.locals 3
iget-object v0 , p0 , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;-> error$delegate : L kotlin/properties/ReadOnlyProperty ;
sget-object v1 , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;-> $ $ delegatedProperties : [ L kotlin/reflect/KProperty ;
const/4 v2 , 0x2
aget-object v1 , v1 , v2
invoke-interface { v0 , p0 , v1 } , L kotlin/properties/ReadOnlyProperty ;-> getValue ( L java/lang/Object ;L kotlin/reflect/KProperty ;) L java/lang/Object ;
move-result-object v0
check-cast v0 , L android/view/View ;
return-object v0
.end method
.method private final getSelect ( ) L android/widget/Button ;
.locals 3
iget-object v0 , p0 , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;-> select$delegate : L kotlin/properties/ReadOnlyProperty ;
sget-object v1 , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;-> $ $ delegatedProperties : [ L kotlin/reflect/KProperty ;
const/4 v2 , 0x1
aget-object v1 , v1 , v2
invoke-interface { v0 , p0 , v1 } , L kotlin/properties/ReadOnlyProperty ;-> getValue ( L java/lang/Object ;L kotlin/reflect/KProperty ;) L java/lang/Object ;
move-result-object v0
check-cast v0 , L android/widget/Button ;
return-object v0
.end method
.method private final getWarning ( ) L android/widget/TextView ;
.locals 3
iget-object v0 , p0 , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;-> warning$delegate : L kotlin/properties/ReadOnlyProperty ;
sget-object v1 , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;-> $ $ delegatedProperties : [ L kotlin/reflect/KProperty ;
const/4 v2 , 0x3
aget-object v1 , v1 , v2
invoke-interface { v0 , p0 , v1 } , L kotlin/properties/ReadOnlyProperty ;-> getValue ( L java/lang/Object ;L kotlin/reflect/KProperty ;) L java/lang/Object ;
move-result-object v0
check-cast v0 , L android/widget/TextView ;
return-object v0
.end method
# virtual methods
.method public getContentViewResId ( ) I
.locals 1
2020-08-08 01:54:49 +00:00
const v0 , 0x7f0d0229
2020-05-17 12:40:10 +00:00
return v0
.end method
.method public onActivityCreated ( L android/os/Bundle ;) V
2020-07-25 00:57:58 +00:00
.locals 2
2020-05-17 12:40:10 +00:00
invoke-super { p0 , p1 } , L androidx/fragment/app/Fragment ;-> onActivityCreated ( L android/os/Bundle ;) V
2020-07-25 00:57:58 +00:00
const/4 p1 , 0x0
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
const/4 v0 , 0x1
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
const/4 v1 , 0x0
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-static { p0 , p1 , v0 , v1 } , L com/discord/app/AppFragment ;-> setActionBarDisplayHomeAsUpEnabled$default ( L com/discord/app/AppFragment ;ZI L java/lang/Object ;) L androidx/appcompat/widget/Toolbar ;
2020-05-17 12:40:10 +00:00
return-void
.end method
.method public onCreate ( L android/os/Bundle ;) V
2020-07-08 16:44:49 +00:00
.locals 5
2020-05-17 12:40:10 +00:00
invoke-super { p0 , p1 } , L androidx/fragment/app/Fragment ;-> onCreate ( L android/os/Bundle ;) V
invoke-virtual { p0 } , L com/discord/app/AppFragment ;-> getMostRecentIntent ( ) L android/content/Intent ;
move-result-object p1
2020-07-08 16:44:49 +00:00
const-string v0 , "GUILD_ID"
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const-wide/16 v1 , - 0x1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-virtual { p1 , v0 , v1 , v2 } , L android/content/Intent ;-> getLongExtra ( L java/lang/String ;J ) J
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-result-wide v3
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iput-wide v3 , p0 , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;-> guildId : J
2020-05-17 12:40:10 +00:00
invoke-virtual { p0 } , L com/discord/app/AppFragment ;-> getMostRecentIntent ( ) L android/content/Intent ;
move-result-object p1
2020-07-08 16:44:49 +00:00
const-string v0 , "SLOT_ID"
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-virtual { p1 , v0 , v1 , v2 } , L android/content/Intent ;-> getLongExtra ( L java/lang/String ;J ) J
2020-05-17 12:40:10 +00:00
move-result-wide v0
iput-wide v0 , p0 , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;-> slotId : J
return-void
.end method
.method public onResume ( ) V
.locals 10
invoke-super { p0 } , L com/discord/app/AppFragment ;-> onResume ( ) V
iget-wide v0 , p0 , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;-> guildId : J
const-wide/16 v2 , 0x0
cmp-long v4 , v0 , v2
if-eqz v4 , :cond_0
const-wide/16 v2 , - 0x1
cmp-long v4 , v0 , v2
if-nez v4 , :cond_1
:cond_0
invoke-virtual { p0 } , L com/discord/app/AppFragment ;-> getAppActivity ( ) L com/discord/app/AppActivity ;
move-result-object v0
if-eqz v0 , :cond_1
invoke-virtual { v0 } , L android/app/Activity ;-> finish ( ) V
:cond_1
2020-07-08 16:44:49 +00:00
new-instance v0 , L androidx/lifecycle/ViewModelProvider ;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-virtual { p0 } , L androidx/fragment/app/Fragment ;-> requireActivity ( ) L androidx/fragment/app/FragmentActivity ;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-result-object v1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
new-instance v2 , L com/discord/widgets/servers/premiumguild/PremiumGuildSubscriptionInProgressViewModel$Factory ;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iget-wide v3 , p0 , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;-> guildId : J
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-direct { v2 , v3 , v4 } , L com/discord/widgets/servers/premiumguild/PremiumGuildSubscriptionInProgressViewModel$Factory ;-> <init> ( J ) V
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-direct { v0 , v1 , v2 } , L androidx/lifecycle/ViewModelProvider ;-> <init> ( L androidx/lifecycle/ViewModelStoreOwner ;L androidx/lifecycle/ViewModelProvider$Factory ;) V
2020-05-17 12:40:10 +00:00
const-class v1 , L com/discord/widgets/servers/premiumguild/PremiumGuildSubscriptionInProgressViewModel ;
invoke-virtual { v0 , v1 } , L androidx/lifecycle/ViewModelProvider ;-> get ( L java/lang/Class ;) L androidx/lifecycle/ViewModel ;
move-result-object v0
2020-07-08 16:44:49 +00:00
const-string v1 , "ViewModelProvider(\n \u2026essViewModel::class.java)"
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-static { v0 , v1 } , L j0/n/c/h ;-> checkExpressionValueIsNotNull ( L java/lang/Object ;L java/lang/String ;) V
2020-05-17 12:40:10 +00:00
check-cast v0 , L com/discord/widgets/servers/premiumguild/PremiumGuildSubscriptionInProgressViewModel ;
iput-object v0 , p0 , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;-> viewModel : L com/discord/widgets/servers/premiumguild/PremiumGuildSubscriptionInProgressViewModel ;
if-eqz v0 , :cond_2
2020-07-25 00:57:58 +00:00
invoke-virtual { v0 } , L f/a/b/o0 ;-> observeViewState ( ) L rx/Observable ;
2020-05-17 12:40:10 +00:00
move-result-object v0
invoke-static { v0 , p0 } , L com/discord/utilities/rx/ObservableExtensionsKt ;-> bindToComponentLifecycle ( L rx/Observable ;L com/discord/app/AppComponent ;) L rx/Observable ;
move-result-object v0
2020-07-08 16:44:49 +00:00
invoke-virtual { v0 } , L rx/Observable ;-> q ( ) L rx/Observable ;
2020-05-17 12:40:10 +00:00
move-result-object v1
2020-07-23 01:06:17 +00:00
const-string/jumbo v0 , "viewModel\n .obser\u2026 .distinctUntilChanged()"
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-static { v1 , v0 } , L j0/n/c/h ;-> checkExpressionValueIsNotNull ( L java/lang/Object ;L java/lang/String ;) V
2020-05-17 12:40:10 +00:00
const-class v2 , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;
const/4 v3 , 0x0
const/4 v4 , 0x0
const/4 v5 , 0x0
const/4 v6 , 0x0
new-instance v7 , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation$onResume$1 ;
invoke-direct { v7 , p0 } , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation$onResume$1 ;-> <init> ( L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;) V
const/16 v8 , 0x1e
const/4 v9 , 0x0
invoke-static/range { v1 . . v9 } , L com/discord/utilities/rx/ObservableExtensionsKt ;-> appSubscribe$default ( L rx/Observable ;L java/lang/Class ;L android/content/Context ;L kotlin/jvm/functions/Function1 ;L kotlin/jvm/functions/Function1 ;L kotlin/jvm/functions/Function0 ;L kotlin/jvm/functions/Function1 ;I L java/lang/Object ;) V
return-void
:cond_2
2020-07-23 01:06:17 +00:00
const-string/jumbo v0 , "viewModel"
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-static { v0 } , L j0/n/c/h ;-> throwUninitializedPropertyAccessException ( L java/lang/String ;) V
2020-05-17 12:40:10 +00:00
const/4 v0 , 0x0
throw v0
.end method
.method public onViewBound ( L android/view/View ;) V
.locals 9
if-eqz p1 , :cond_0
invoke-super { p0 , p1 } , L com/discord/app/AppFragment ;-> onViewBound ( L android/view/View ;) V
invoke-direct { p0 } , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;-> getSelect ( ) L android/widget/Button ;
move-result-object p1
new-instance v0 , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation$onViewBound$1 ;
invoke-direct { v0 , p0 } , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation$onViewBound$1 ;-> <init> ( L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;) V
invoke-virtual { p1 , v0 } , L android/widget/Button ;-> setOnClickListener ( L android/view/View$OnClickListener ;) V
invoke-direct { p0 } , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;-> getSelect ( ) L android/widget/Button ;
move-result-object p1
2020-08-08 01:54:49 +00:00
const v0 , 0x7f1211a4
2020-05-17 12:40:10 +00:00
const/4 v1 , 0x1
new-array v2 , v1 , [ L java/lang/Object ;
invoke-virtual { p0 } , L androidx/fragment/app/Fragment ;-> requireContext ( ) L android/content/Context ;
move-result-object v3
const-string v4 , "requireContext()"
2020-07-25 00:57:58 +00:00
invoke-static { v3 , v4 } , L j0/n/c/h ;-> checkExpressionValueIsNotNull ( L java/lang/Object ;L java/lang/String ;) V
2020-05-17 12:40:10 +00:00
invoke-virtual { v3 } , L android/content/Context ;-> getResources ( ) L android/content/res/Resources ;
move-result-object v3
2020-08-08 01:54:49 +00:00
const v5 , 0x7f1000ce
2020-05-17 12:40:10 +00:00
new-array v6 , v1 , [ L java/lang/Object ;
invoke-static { v1 } , L java/lang/Integer ;-> valueOf ( I ) L java/lang/Integer ;
move-result-object v7
const/4 v8 , 0x0
aput-object v7 , v6 , v8
invoke-virtual { v3 , v5 , v1 , v6 } , L android/content/res/Resources ;-> getQuantityString ( II[ L java/lang/Object ;) L java/lang/String ;
move-result-object v3
aput-object v3 , v2 , v8
invoke-virtual { p0 , v0 , v2 } , L androidx/fragment/app/Fragment ;-> getString ( I[ L java/lang/Object ;) L java/lang/String ;
move-result-object v0
invoke-virtual { p1 , v0 } , L android/widget/Button ;-> setText ( L java/lang/CharSequence ;) V
invoke-virtual { p0 } , L androidx/fragment/app/Fragment ;-> requireContext ( ) L android/content/Context ;
move-result-object p1
2020-07-25 00:57:58 +00:00
invoke-static { p1 , v4 } , L j0/n/c/h ;-> checkExpressionValueIsNotNull ( L java/lang/Object ;L java/lang/String ;) V
2020-05-17 12:40:10 +00:00
invoke-virtual { p1 } , L android/content/Context ;-> getResources ( ) L android/content/res/Resources ;
move-result-object p1
2020-08-08 01:54:49 +00:00
const v0 , 0x7f1000cf
2020-05-17 12:40:10 +00:00
new-array v2 , v1 , [ L java/lang/Object ;
const/4 v3 , 0x7
invoke-static { v3 } , L java/lang/Integer ;-> valueOf ( I ) L java/lang/Integer ;
move-result-object v5
aput-object v5 , v2 , v8
invoke-virtual { p1 , v0 , v3 , v2 } , L android/content/res/Resources ;-> getQuantityString ( II[ L java/lang/Object ;) L java/lang/String ;
move-result-object p1
const-string v0 , "requireContext().resourc\u2026PTION_COOLDOWN_DAYS\n )"
2020-07-25 00:57:58 +00:00
invoke-static { p1 , v0 } , L j0/n/c/h ;-> checkExpressionValueIsNotNull ( L java/lang/Object ;L java/lang/String ;) V
2020-05-17 12:40:10 +00:00
invoke-virtual { p0 } , L androidx/fragment/app/Fragment ;-> requireContext ( ) L android/content/Context ;
move-result-object v0
2020-07-25 00:57:58 +00:00
invoke-static { v0 , v4 } , L j0/n/c/h ;-> checkExpressionValueIsNotNull ( L java/lang/Object ;L java/lang/String ;) V
2020-05-17 12:40:10 +00:00
invoke-virtual { v0 } , L android/content/Context ;-> getResources ( ) L android/content/res/Resources ;
move-result-object v0
2020-08-08 01:54:49 +00:00
const v2 , 0x7f1000d0
2020-05-17 12:40:10 +00:00
new-array v3 , v1 , [ L java/lang/Object ;
invoke-static { v1 } , L java/lang/Integer ;-> valueOf ( I ) L java/lang/Integer ;
move-result-object v4
aput-object v4 , v3 , v8
invoke-virtual { v0 , v2 , v1 , v3 } , L android/content/res/Resources ;-> getQuantityString ( II[ L java/lang/Object ;) L java/lang/String ;
move-result-object v0
const-string v2 , "requireContext().resourc\u2026CRIPTION_SLOT_COUNT\n )"
2020-07-25 00:57:58 +00:00
invoke-static { v0 , v2 } , L j0/n/c/h ;-> checkExpressionValueIsNotNull ( L java/lang/Object ;L java/lang/String ;) V
2020-05-17 12:40:10 +00:00
invoke-direct { p0 } , L com/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscriptionConfirmation ;-> getWarning ( ) L android/widget/TextView ;
move-result-object v2
2020-08-08 01:54:49 +00:00
const v3 , 0x7f1211a6
2020-05-17 12:40:10 +00:00
const/4 v4 , 0x2
new-array v4 , v4 , [ L java/lang/Object ;
aput-object v0 , v4 , v8
aput-object p1 , v4 , v1
invoke-virtual { p0 , v3 , v4 } , L androidx/fragment/app/Fragment ;-> getString ( I[ L java/lang/Object ;) L java/lang/String ;
move-result-object p1
invoke-virtual { v2 , p1 } , L android/widget/TextView ;-> setText ( L java/lang/CharSequence ;) V
return-void
:cond_0
2020-07-23 01:06:17 +00:00
const-string/jumbo p1 , "view"
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-static { p1 } , L j0/n/c/h ;-> c ( L java/lang/String ;) V
2020-05-17 12:40:10 +00:00
const/4 p1 , 0x0
throw p1
.end method