2019-10-01 14:15:45 +00:00
|
|
|
.class public final Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;
|
2019-07-24 11:27:29 +00:00
|
|
|
.super Lcom/discord/app/AppFragment;
|
2019-10-01 14:15:45 +00:00
|
|
|
.source "WidgetPremiumGuildSubscription.kt"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
|
|
value = {
|
2019-10-01 14:15:45 +00:00
|
|
|
Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription$PerksPagerAdapter;,
|
|
|
|
Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription$Model;,
|
|
|
|
Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription$Companion;
|
2019-07-24 11:27:29 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# static fields
|
|
|
|
.field static final synthetic $$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
.field public static final Companion:Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription$Companion;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
.field private static final INTENT_EXTRA_GUILD_ID:Ljava/lang/String; = "GUILD_ID"
|
|
|
|
|
|
|
|
.field private static final VIEW_INDEX_BUTTON_BOOST:I = 0x0
|
|
|
|
|
|
|
|
.field private static final VIEW_INDEX_BUTTON_MANAGE:I = 0x2
|
|
|
|
|
|
|
|
.field private static final VIEW_INDEX_BUTTON_UPGRADE:I = 0x1
|
|
|
|
|
|
|
|
.field private static final VIEW_INDEX_LOADED:I = 0x2
|
|
|
|
|
|
|
|
.field private static final VIEW_INDEX_LOADING:I = 0x0
|
|
|
|
|
|
|
|
.field private static final VIEW_INDEX_LOAD_FAILED:I = 0x1
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field private final boostButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
.field private final boostInfo$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
.field private final boostNumber$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
.field private final boostProgressBar$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
.field private final boostTier0Iv$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
.field private final boostTier1Iv$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
.field private final boostTier1Tv$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
.field private final boostTier2Iv$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
.field private final boostTier2Tv$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
.field private final boostTier3Iv$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
.field private final boostTier3Tv$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
.field private final buttonFlipper$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
.field private final buttonInfo$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
.field private final flipper$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
.field private final guildId$delegate:Lkotlin/Lazy;
|
|
|
|
|
|
|
|
.field private levelBackgrounds:Ljava/util/List;
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"+",
|
|
|
|
"Landroid/widget/ImageView;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
|
|
|
.field private levelText:Ljava/util/List;
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"+",
|
|
|
|
"Landroid/widget/TextView;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
|
|
|
.field private final manageButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
.field private pagerAdapter:Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription$PerksPagerAdapter;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
.field private final retry$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
.field private final upgradeButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
.field private final viewPager$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
.field private wasPagerPageSet:Z
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method static constructor <clinit>()V
|
2019-08-30 20:04:20 +00:00
|
|
|
.locals 6
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
const-class v0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const/16 v1, 0x13
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
new-array v1, v1, [Lkotlin/reflect/KProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
new-instance v2, Lkotlin/jvm/internal/x;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v0}, Lkotlin/jvm/internal/y;->getOrCreateKotlinClass(Ljava/lang/Class;)Lkotlin/reflect/b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
move-result-object v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v4, "boostNumber"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v5, "getBoostNumber()Landroid/widget/TextView;"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Lkotlin/jvm/internal/x;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v2}, Lkotlin/jvm/internal/y;->property1(Lkotlin/jvm/internal/w;)Lkotlin/reflect/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
move-result-object v2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
check-cast v2, Lkotlin/reflect/KProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const/4 v3, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
aput-object v2, v1, v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
new-instance v2, Lkotlin/jvm/internal/x;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v0}, Lkotlin/jvm/internal/y;->getOrCreateKotlinClass(Ljava/lang/Class;)Lkotlin/reflect/b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
move-result-object v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v4, "boostInfo"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v5, "getBoostInfo()Landroid/widget/TextView;"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Lkotlin/jvm/internal/x;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v2}, Lkotlin/jvm/internal/y;->property1(Lkotlin/jvm/internal/w;)Lkotlin/reflect/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
move-result-object v2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
check-cast v2, Lkotlin/reflect/KProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const/4 v3, 0x1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
aput-object v2, v1, v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
new-instance v2, Lkotlin/jvm/internal/x;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v0}, Lkotlin/jvm/internal/y;->getOrCreateKotlinClass(Ljava/lang/Class;)Lkotlin/reflect/b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
move-result-object v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v4, "boostProgressBar"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v5, "getBoostProgressBar()Landroid/widget/ProgressBar;"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Lkotlin/jvm/internal/x;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v2}, Lkotlin/jvm/internal/y;->property1(Lkotlin/jvm/internal/w;)Lkotlin/reflect/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
move-result-object v2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
check-cast v2, Lkotlin/reflect/KProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const/4 v3, 0x2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
aput-object v2, v1, v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
new-instance v2, Lkotlin/jvm/internal/x;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v0}, Lkotlin/jvm/internal/y;->getOrCreateKotlinClass(Ljava/lang/Class;)Lkotlin/reflect/b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
move-result-object v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v4, "boostTier0Iv"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v5, "getBoostTier0Iv()Landroid/widget/ImageView;"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Lkotlin/jvm/internal/x;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v2}, Lkotlin/jvm/internal/y;->property1(Lkotlin/jvm/internal/w;)Lkotlin/reflect/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
move-result-object v2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
check-cast v2, Lkotlin/reflect/KProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const/4 v3, 0x3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
aput-object v2, v1, v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
new-instance v2, Lkotlin/jvm/internal/x;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v0}, Lkotlin/jvm/internal/y;->getOrCreateKotlinClass(Ljava/lang/Class;)Lkotlin/reflect/b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
move-result-object v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v4, "boostTier1Iv"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v5, "getBoostTier1Iv()Landroid/widget/ImageView;"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Lkotlin/jvm/internal/x;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v2}, Lkotlin/jvm/internal/y;->property1(Lkotlin/jvm/internal/w;)Lkotlin/reflect/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
move-result-object v2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
check-cast v2, Lkotlin/reflect/KProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const/4 v3, 0x4
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
aput-object v2, v1, v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
new-instance v2, Lkotlin/jvm/internal/x;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v0}, Lkotlin/jvm/internal/y;->getOrCreateKotlinClass(Ljava/lang/Class;)Lkotlin/reflect/b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
move-result-object v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v4, "boostTier1Tv"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v5, "getBoostTier1Tv()Landroid/widget/TextView;"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Lkotlin/jvm/internal/x;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v2}, Lkotlin/jvm/internal/y;->property1(Lkotlin/jvm/internal/w;)Lkotlin/reflect/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
check-cast v2, Lkotlin/reflect/KProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const/4 v3, 0x5
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
aput-object v2, v1, v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
new-instance v2, Lkotlin/jvm/internal/x;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v0}, Lkotlin/jvm/internal/y;->getOrCreateKotlinClass(Ljava/lang/Class;)Lkotlin/reflect/b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
move-result-object v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v4, "boostTier2Iv"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v5, "getBoostTier2Iv()Landroid/widget/ImageView;"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Lkotlin/jvm/internal/x;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v2}, Lkotlin/jvm/internal/y;->property1(Lkotlin/jvm/internal/w;)Lkotlin/reflect/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
check-cast v2, Lkotlin/reflect/KProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const/4 v3, 0x6
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
aput-object v2, v1, v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
new-instance v2, Lkotlin/jvm/internal/x;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v0}, Lkotlin/jvm/internal/y;->getOrCreateKotlinClass(Ljava/lang/Class;)Lkotlin/reflect/b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
move-result-object v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v4, "boostTier2Tv"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v5, "getBoostTier2Tv()Landroid/widget/TextView;"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Lkotlin/jvm/internal/x;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v2}, Lkotlin/jvm/internal/y;->property1(Lkotlin/jvm/internal/w;)Lkotlin/reflect/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
check-cast v2, Lkotlin/reflect/KProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const/4 v3, 0x7
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
aput-object v2, v1, v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
new-instance v2, Lkotlin/jvm/internal/x;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v0}, Lkotlin/jvm/internal/y;->getOrCreateKotlinClass(Ljava/lang/Class;)Lkotlin/reflect/b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
move-result-object v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v4, "boostTier3Iv"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v5, "getBoostTier3Iv()Landroid/widget/ImageView;"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Lkotlin/jvm/internal/x;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v2}, Lkotlin/jvm/internal/y;->property1(Lkotlin/jvm/internal/w;)Lkotlin/reflect/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
check-cast v2, Lkotlin/reflect/KProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const/16 v3, 0x8
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
aput-object v2, v1, v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
new-instance v2, Lkotlin/jvm/internal/x;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v0}, Lkotlin/jvm/internal/y;->getOrCreateKotlinClass(Ljava/lang/Class;)Lkotlin/reflect/b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
move-result-object v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v4, "boostTier3Tv"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v5, "getBoostTier3Tv()Landroid/widget/TextView;"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Lkotlin/jvm/internal/x;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v2}, Lkotlin/jvm/internal/y;->property1(Lkotlin/jvm/internal/w;)Lkotlin/reflect/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
check-cast v2, Lkotlin/reflect/KProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const/16 v3, 0x9
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
aput-object v2, v1, v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
new-instance v2, Lkotlin/jvm/internal/x;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v0}, Lkotlin/jvm/internal/y;->getOrCreateKotlinClass(Ljava/lang/Class;)Lkotlin/reflect/b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
move-result-object v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v4, "flipper"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v5, "getFlipper()Lcom/discord/app/AppViewFlipper;"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Lkotlin/jvm/internal/x;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v2}, Lkotlin/jvm/internal/y;->property1(Lkotlin/jvm/internal/w;)Lkotlin/reflect/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
check-cast v2, Lkotlin/reflect/KProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const/16 v3, 0xa
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
aput-object v2, v1, v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
new-instance v2, Lkotlin/jvm/internal/x;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v0}, Lkotlin/jvm/internal/y;->getOrCreateKotlinClass(Ljava/lang/Class;)Lkotlin/reflect/b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
move-result-object v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v4, "retry"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v5, "getRetry()Landroid/widget/Button;"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Lkotlin/jvm/internal/x;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v2}, Lkotlin/jvm/internal/y;->property1(Lkotlin/jvm/internal/w;)Lkotlin/reflect/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
check-cast v2, Lkotlin/reflect/KProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const/16 v3, 0xb
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
aput-object v2, v1, v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
new-instance v2, Lkotlin/jvm/internal/x;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v0}, Lkotlin/jvm/internal/y;->getOrCreateKotlinClass(Ljava/lang/Class;)Lkotlin/reflect/b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
move-result-object v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v4, "buttonFlipper"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v5, "getButtonFlipper()Lcom/discord/app/AppViewFlipper;"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Lkotlin/jvm/internal/x;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v2}, Lkotlin/jvm/internal/y;->property1(Lkotlin/jvm/internal/w;)Lkotlin/reflect/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
check-cast v2, Lkotlin/reflect/KProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const/16 v3, 0xc
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
aput-object v2, v1, v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
new-instance v2, Lkotlin/jvm/internal/x;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v0}, Lkotlin/jvm/internal/y;->getOrCreateKotlinClass(Ljava/lang/Class;)Lkotlin/reflect/b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
move-result-object v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v4, "boostButton"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v5, "getBoostButton()Landroid/widget/Button;"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Lkotlin/jvm/internal/x;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v2}, Lkotlin/jvm/internal/y;->property1(Lkotlin/jvm/internal/w;)Lkotlin/reflect/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
check-cast v2, Lkotlin/reflect/KProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const/16 v3, 0xd
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
aput-object v2, v1, v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
new-instance v2, Lkotlin/jvm/internal/x;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v0}, Lkotlin/jvm/internal/y;->getOrCreateKotlinClass(Ljava/lang/Class;)Lkotlin/reflect/b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
move-result-object v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v4, "upgradeButton"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v5, "getUpgradeButton()Landroid/widget/Button;"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Lkotlin/jvm/internal/x;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v2}, Lkotlin/jvm/internal/y;->property1(Lkotlin/jvm/internal/w;)Lkotlin/reflect/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
check-cast v2, Lkotlin/reflect/KProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const/16 v3, 0xe
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
aput-object v2, v1, v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
new-instance v2, Lkotlin/jvm/internal/x;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v0}, Lkotlin/jvm/internal/y;->getOrCreateKotlinClass(Ljava/lang/Class;)Lkotlin/reflect/b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
move-result-object v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v4, "manageButton"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v5, "getManageButton()Landroid/widget/Button;"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Lkotlin/jvm/internal/x;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v2}, Lkotlin/jvm/internal/y;->property1(Lkotlin/jvm/internal/w;)Lkotlin/reflect/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
check-cast v2, Lkotlin/reflect/KProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const/16 v3, 0xf
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
aput-object v2, v1, v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
new-instance v2, Lkotlin/jvm/internal/x;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v0}, Lkotlin/jvm/internal/y;->getOrCreateKotlinClass(Ljava/lang/Class;)Lkotlin/reflect/b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
move-result-object v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v4, "buttonInfo"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v5, "getButtonInfo()Landroid/widget/TextView;"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Lkotlin/jvm/internal/x;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v2}, Lkotlin/jvm/internal/y;->property1(Lkotlin/jvm/internal/w;)Lkotlin/reflect/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
check-cast v2, Lkotlin/reflect/KProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const/16 v3, 0x10
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
aput-object v2, v1, v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
new-instance v2, Lkotlin/jvm/internal/x;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v0}, Lkotlin/jvm/internal/y;->getOrCreateKotlinClass(Ljava/lang/Class;)Lkotlin/reflect/b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
move-result-object v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v4, "viewPager"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v5, "getViewPager()Lcom/discord/utilities/simple_pager/SimplePager;"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Lkotlin/jvm/internal/x;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v2}, Lkotlin/jvm/internal/y;->property1(Lkotlin/jvm/internal/w;)Lkotlin/reflect/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
check-cast v2, Lkotlin/reflect/KProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const/16 v3, 0x11
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
aput-object v2, v1, v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
new-instance v2, Lkotlin/jvm/internal/x;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v0}, Lkotlin/jvm/internal/y;->getOrCreateKotlinClass(Ljava/lang/Class;)Lkotlin/reflect/b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
move-result-object v0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const-string v3, "guildId"
|
|
|
|
|
|
|
|
const-string v4, "getGuildId()J"
|
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-direct {v2, v0, v3, v4}, Lkotlin/jvm/internal/x;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v2}, Lkotlin/jvm/internal/y;->property1(Lkotlin/jvm/internal/w;)Lkotlin/reflect/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
move-result-object v0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
check-cast v0, Lkotlin/reflect/KProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/16 v2, 0x12
|
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
aput-object v0, v1, v2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
sput-object v1, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
new-instance v0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription$Companion;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-direct {v0, v1}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
sput-object v0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->Companion:Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription$Companion;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public constructor <init>()V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/app/AppFragment;-><init>()V
|
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
const v0, 0x7f0a00f8
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {p0, v0}, Lkotterknife/b;->c(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iput-object v0, p0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->boostNumber$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
const v0, 0x7f0a00f7
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {p0, v0}, Lkotterknife/b;->c(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iput-object v0, p0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->boostInfo$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
const v0, 0x7f0a00d1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {p0, v0}, Lkotterknife/b;->c(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iput-object v0, p0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->boostProgressBar$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
const v0, 0x7f0a00d3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {p0, v0}, Lkotterknife/b;->c(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iput-object v0, p0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->boostTier0Iv$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
const v0, 0x7f0a00d5
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {p0, v0}, Lkotterknife/b;->c(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iput-object v0, p0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->boostTier1Iv$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
const v0, 0x7f0a00d6
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {p0, v0}, Lkotterknife/b;->c(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iput-object v0, p0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->boostTier1Tv$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
const v0, 0x7f0a00d8
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {p0, v0}, Lkotterknife/b;->c(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iput-object v0, p0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->boostTier2Iv$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
const v0, 0x7f0a00d9
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {p0, v0}, Lkotterknife/b;->c(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iput-object v0, p0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->boostTier2Tv$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
const v0, 0x7f0a00db
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {p0, v0}, Lkotterknife/b;->c(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iput-object v0, p0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->boostTier3Iv$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
const v0, 0x7f0a00dc
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {p0, v0}, Lkotterknife/b;->c(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iput-object v0, p0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->boostTier3Tv$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
const v0, 0x7f0a00f6
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {p0, v0}, Lkotterknife/b;->c(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iput-object v0, p0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->flipper$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
const v0, 0x7f0a00f9
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {p0, v0}, Lkotterknife/b;->c(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iput-object v0, p0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->retry$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
const v0, 0x7f0a00f2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {p0, v0}, Lkotterknife/b;->c(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iput-object v0, p0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->buttonFlipper$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
const v0, 0x7f0a00f0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {p0, v0}, Lkotterknife/b;->c(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iput-object v0, p0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->boostButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
const v0, 0x7f0a00f5
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {p0, v0}, Lkotterknife/b;->c(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iput-object v0, p0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->upgradeButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
const v0, 0x7f0a00f4
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {p0, v0}, Lkotterknife/b;->c(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iput-object v0, p0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->manageButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
const v0, 0x7f0a00f3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {p0, v0}, Lkotterknife/b;->c(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iput-object v0, p0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->buttonInfo$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
const v0, 0x7f0a00fa
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {p0, v0}, Lkotterknife/b;->c(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iput-object v0, p0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->viewPager$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
new-instance v0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription$guildId$2;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-direct {v0, p0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription$guildId$2;-><init>(Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
check-cast v0, Lkotlin/jvm/functions/Function0;
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {v0}, Lkotlin/f;->lazy(Lkotlin/jvm/functions/Function0;)Lkotlin/Lazy;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iput-object v0, p0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->guildId$delegate:Lkotlin/Lazy;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
.method public static final synthetic access$configureLevelBubbles(Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;I)V
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 0
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-direct {p0, p1}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->configureLevelBubbles(I)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
.method public static final synthetic access$configureUI(Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription$Model;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 0
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-direct {p0, p1}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->configureUI(Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription$Model;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
.method public static final synthetic access$fetchData(Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 0
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->fetchData()V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
.method public static final synthetic access$getGuildId$p(Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;)J
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 2
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->getGuildId()J
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-wide v0
|
|
|
|
|
|
|
|
return-wide v0
|
|
|
|
.end method
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
.method public static final synthetic access$getMostRecentIntent$p(Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;)Landroid/content/Intent;
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 0
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-virtual {p0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->getMostRecentIntent()Landroid/content/Intent;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final configureLevelBubbles(I)V
|
|
|
|
.locals 6
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
const/4 v1, 0x3
|
|
|
|
|
|
|
|
if-gt v0, v1, :cond_6
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iget-object v1, p0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->levelBackgrounds:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
|
|
|
|
const-string v2, "levelBackgrounds"
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {v2}, Lkotlin/jvm/internal/l;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:cond_0
|
|
|
|
invoke-interface {v1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
check-cast v1, Landroid/widget/ImageView;
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Landroid/widget/ImageView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
const/16 v3, 0x20
|
|
|
|
|
|
|
|
const/16 v4, 0x14
|
|
|
|
|
|
|
|
if-ne p1, v0, :cond_1
|
|
|
|
|
|
|
|
const/16 v5, 0x20
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const/16 v5, 0x14
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
invoke-static {v5}, Lcom/discord/utilities/dimen/DimenUtils;->dpToPixels(I)I
|
|
|
|
|
|
|
|
move-result v5
|
|
|
|
|
|
|
|
iput v5, v2, Landroid/view/ViewGroup$LayoutParams;->height:I
|
|
|
|
|
|
|
|
if-ne p1, v0, :cond_2
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const/16 v3, 0x14
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
invoke-static {v3}, Lcom/discord/utilities/dimen/DimenUtils;->dpToPixels(I)I
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
iput v3, v2, Landroid/view/ViewGroup$LayoutParams;->width:I
|
|
|
|
|
|
|
|
invoke-virtual {v1, v2}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iget-object v1, p0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->levelText:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-nez v1, :cond_3
|
|
|
|
|
|
|
|
const-string v2, "levelText"
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {v2}, Lkotlin/jvm/internal/l;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:cond_3
|
|
|
|
invoke-interface {v1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
check-cast v1, Landroid/widget/TextView;
|
|
|
|
|
|
|
|
if-eqz v1, :cond_5
|
|
|
|
|
|
|
|
if-ne p1, v0, :cond_4
|
|
|
|
|
|
|
|
move-object v2, v1
|
|
|
|
|
|
|
|
check-cast v2, Landroid/view/View;
|
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
const v3, 0x7f0402a4
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {v2, v3}, Lcom/discord/utilities/color/ColorCompat;->getThemedColor(Landroid/view/View;I)I
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
move-object v2, v1
|
|
|
|
|
|
|
|
check-cast v2, Landroid/view/View;
|
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
const v3, 0x7f0402ae
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {v2, v3}, Lcom/discord/utilities/color/ColorCompat;->getThemedColor(Landroid/view/View;I)I
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
:goto_3
|
|
|
|
invoke-virtual {v1, v2}, Landroid/widget/TextView;->setTextColor(I)V
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_6
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
.method private final configureProgressBar(IIZ)V
|
|
|
|
.locals 5
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->getBoostProgressBar()Landroid/widget/ProgressBar;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
sget-object v1, Lcom/discord/utilities/premium/PremiumGuildSubscriptionUtils;->INSTANCE:Lcom/discord/utilities/premium/PremiumGuildSubscriptionUtils;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
invoke-virtual {v1, p1, p2, p3}, Lcom/discord/utilities/premium/PremiumGuildSubscriptionUtils;->calculateTotalProgress(IIZ)I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
move-result p3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
invoke-virtual {v0, p3}, Landroid/widget/ProgressBar;->setProgress(I)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->getBoostProgressBar()Landroid/widget/ProgressBar;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
move-result-object p3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
const/4 v0, 0x3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
const/4 v1, 0x2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
const/4 v2, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
const/4 v3, 0x1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz p1, :cond_3
|
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
if-eq p1, v3, :cond_2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
if-eq p1, v1, :cond_1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
if-eq p1, v0, :cond_0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
const/4 v4, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
2019-11-14 21:08:15 +00:00
|
|
|
const v4, 0x7f120ecb
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
2019-11-14 21:08:15 +00:00
|
|
|
const v4, 0x7f120eca
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_2
|
2019-11-14 21:08:15 +00:00
|
|
|
const v4, 0x7f120ec9
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_3
|
2019-11-14 21:08:15 +00:00
|
|
|
const v4, 0x7f120e4f
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:goto_0
|
2019-10-31 00:47:18 +00:00
|
|
|
invoke-virtual {p0, v4}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->getString(I)Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
move-result-object v4
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
check-cast v4, Ljava/lang/CharSequence;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
invoke-virtual {p3, v4}, Landroid/widget/ProgressBar;->setContentDescription(Ljava/lang/CharSequence;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->getBoostTier0Iv()Landroid/widget/ImageView;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
move-result-object p3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-lez p2, :cond_4
|
|
|
|
|
|
|
|
const/4 p2, 0x1
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
const/4 p2, 0x0
|
|
|
|
|
|
|
|
:goto_1
|
2019-10-31 00:47:18 +00:00
|
|
|
invoke-virtual {p3, p2}, Landroid/widget/ImageView;->setEnabled(Z)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->getBoostTier1Iv()Landroid/widget/ImageView;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
if-lez p1, :cond_5
|
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
const/4 p3, 0x1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_5
|
2019-10-31 00:47:18 +00:00
|
|
|
const/4 p3, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:goto_2
|
2019-10-31 00:47:18 +00:00
|
|
|
invoke-virtual {p2, p3}, Landroid/widget/ImageView;->setEnabled(Z)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->getBoostTier2Iv()Landroid/widget/ImageView;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
if-lt p1, v1, :cond_6
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
const/4 p3, 0x1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_6
|
2019-10-31 00:47:18 +00:00
|
|
|
const/4 p3, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:goto_3
|
2019-10-31 00:47:18 +00:00
|
|
|
invoke-virtual {p2, p3}, Landroid/widget/ImageView;->setEnabled(Z)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->getBoostTier3Iv()Landroid/widget/ImageView;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
if-lt p1, v0, :cond_7
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
const/4 v2, 0x1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:cond_7
|
2019-10-31 00:47:18 +00:00
|
|
|
invoke-virtual {p2, v2}, Landroid/widget/ImageView;->setEnabled(Z)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final configureToolbar(Ljava/lang/String;)V
|
|
|
|
.locals 1
|
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
const v0, 0x7f120e5e
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-virtual {p0, v0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->setActionBarTitle(I)Lkotlin/Unit;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
check-cast p1, Ljava/lang/CharSequence;
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-virtual {p0, p1}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->setActionBarSubtitle(Ljava/lang/CharSequence;)Lkotlin/Unit;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
.method private final configureUI(Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription$Model;)V
|
2019-11-14 21:08:15 +00:00
|
|
|
.locals 21
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-object/from16 v0, p0
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-virtual/range {p1 .. p1}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription$Model;->component1()Lcom/discord/models/domain/ModelUser;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-virtual/range {p1 .. p1}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription$Model;->component2()Lcom/discord/models/domain/ModelGuild;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-virtual/range {p1 .. p1}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription$Model;->component3()Lcom/discord/stores/StorePremiumGuildSubscription$State;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-virtual/range {p1 .. p1}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription$Model;->component4()Lcom/discord/stores/StoreSubscriptions$SubscriptionsState;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
if-nez v2, :cond_1
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-virtual/range {p0 .. p0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->getAppActivity()Lcom/discord/app/AppActivity;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Lcom/discord/app/AppActivity;->finish()V
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
sget-object v5, Lcom/discord/stores/StorePremiumGuildSubscription$State$Loading;->INSTANCE:Lcom/discord/stores/StorePremiumGuildSubscription$State$Loading;
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {v3, v5}, Lkotlin/jvm/internal/l;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result v5
|
|
|
|
|
|
|
|
const/4 v6, 0x0
|
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
if-nez v5, :cond_16
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
sget-object v5, Lcom/discord/stores/StoreSubscriptions$SubscriptionsState$Loading;->INSTANCE:Lcom/discord/stores/StoreSubscriptions$SubscriptionsState$Loading;
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {v4, v5}, Lkotlin/jvm/internal/l;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result v5
|
|
|
|
|
|
|
|
if-eqz v5, :cond_2
|
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
goto/16 :goto_9
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:cond_2
|
|
|
|
sget-object v5, Lcom/discord/stores/StorePremiumGuildSubscription$State$Failure;->INSTANCE:Lcom/discord/stores/StorePremiumGuildSubscription$State$Failure;
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {v3, v5}, Lkotlin/jvm/internal/l;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result v5
|
|
|
|
|
|
|
|
const/4 v7, 0x1
|
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
if-nez v5, :cond_15
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
sget-object v5, Lcom/discord/stores/StoreSubscriptions$SubscriptionsState$Failure;->INSTANCE:Lcom/discord/stores/StoreSubscriptions$SubscriptionsState$Failure;
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {v4, v5}, Lkotlin/jvm/internal/l;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result v5
|
|
|
|
|
|
|
|
if-eqz v5, :cond_3
|
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
goto/16 :goto_8
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:cond_3
|
|
|
|
instance-of v5, v3, Lcom/discord/stores/StorePremiumGuildSubscription$State$Loaded;
|
|
|
|
|
|
|
|
const/4 v8, 0x2
|
|
|
|
|
|
|
|
if-eqz v5, :cond_4
|
|
|
|
|
|
|
|
instance-of v5, v4, Lcom/discord/stores/StoreSubscriptions$SubscriptionsState$Loaded;
|
|
|
|
|
|
|
|
if-eqz v5, :cond_4
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->getFlipper()Lcom/discord/app/AppViewFlipper;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
invoke-virtual {v5, v8}, Lcom/discord/app/AppViewFlipper;->setDisplayedChild(I)V
|
|
|
|
|
|
|
|
:cond_4
|
2019-10-31 00:47:18 +00:00
|
|
|
if-eqz v3, :cond_14
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
check-cast v3, Lcom/discord/stores/StorePremiumGuildSubscription$State$Loaded;
|
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
invoke-virtual {v3}, Lcom/discord/stores/StorePremiumGuildSubscription$State$Loaded;->getPremiumGuildSubscriptionSlots()Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
if-eqz v4, :cond_13
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
check-cast v4, Lcom/discord/stores/StoreSubscriptions$SubscriptionsState$Loaded;
|
|
|
|
|
|
|
|
invoke-virtual {v4}, Lcom/discord/stores/StoreSubscriptions$SubscriptionsState$Loaded;->getSubscriptions()Ljava/util/List;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
invoke-virtual {v2}, Lcom/discord/models/domain/ModelGuild;->getPremiumTier()I
|
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
move-result v5
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v2}, Lcom/discord/models/domain/ModelGuild;->getPremiumSubscriptionCount()Ljava/lang/Integer;
|
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
move-result-object v9
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
if-eqz v9, :cond_5
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
invoke-virtual {v9}, Ljava/lang/Integer;->intValue()I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
move-result v9
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_5
|
2019-10-31 00:47:18 +00:00
|
|
|
const/4 v9, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:goto_0
|
2019-10-31 00:47:18 +00:00
|
|
|
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
|
|
|
|
|
|
|
|
move-result-wide v10
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
check-cast v4, Ljava/lang/Iterable;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
instance-of v12, v4, Ljava/util/Collection;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v12, :cond_6
|
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
move-object v12, v4
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
check-cast v12, Ljava/util/Collection;
|
|
|
|
|
|
|
|
invoke-interface {v12}, Ljava/util/Collection;->isEmpty()Z
|
|
|
|
|
|
|
|
move-result v12
|
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
if-nez v12, :cond_8
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:cond_6
|
2019-10-31 00:47:18 +00:00
|
|
|
invoke-interface {v4}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
move-result-object v4
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:cond_7
|
2019-10-31 00:47:18 +00:00
|
|
|
invoke-interface {v4}, Ljava/util/Iterator;->hasNext()Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result v12
|
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
if-eqz v12, :cond_8
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
invoke-interface {v4}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v12
|
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
check-cast v12, Lcom/discord/models/domain/ModelSubscription;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
invoke-virtual {v12}, Lcom/discord/models/domain/ModelSubscription;->isAppleSubscription()Z
|
2019-10-28 23:46:47 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
move-result v12
|
2019-10-28 23:46:47 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
if-eqz v12, :cond_7
|
2019-10-28 23:46:47 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
const/4 v4, 0x1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_8
|
2019-10-31 00:47:18 +00:00
|
|
|
const/4 v4, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:goto_1
|
2019-10-31 00:47:18 +00:00
|
|
|
check-cast v3, Ljava/lang/Iterable;
|
2019-10-28 23:46:47 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
new-instance v12, Ljava/util/ArrayList;
|
2019-10-28 23:46:47 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
invoke-direct {v12}, Ljava/util/ArrayList;-><init>()V
|
2019-10-28 23:46:47 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
check-cast v12, Ljava/util/Collection;
|
2019-10-28 23:46:47 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
invoke-interface {v3}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
2019-10-28 23:46:47 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
move-result-object v3
|
2019-10-28 23:46:47 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
:cond_9
|
|
|
|
:goto_2
|
|
|
|
invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result v13
|
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
if-eqz v13, :cond_b
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
move-result-object v13
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
move-object v14, v13
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
check-cast v14, Lcom/discord/models/domain/ModelPremiumGuildSubscriptionSlot;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
invoke-virtual {v14}, Lcom/discord/models/domain/ModelPremiumGuildSubscriptionSlot;->getPremiumGuildSubscription()Lcom/discord/models/domain/ModelPremiumGuildSubscription;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
move-result-object v15
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
if-nez v15, :cond_a
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
invoke-virtual {v14}, Lcom/discord/models/domain/ModelPremiumGuildSubscriptionSlot;->getCooldownExpiresAtTimestamp()J
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
move-result-wide v14
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
cmp-long v16, v14, v10
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
if-gtz v16, :cond_a
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
const/4 v14, 0x1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
goto :goto_3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
:cond_a
|
|
|
|
const/4 v14, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
:goto_3
|
|
|
|
if-eqz v14, :cond_9
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
invoke-interface {v12, v13}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
goto :goto_2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
:cond_b
|
|
|
|
check-cast v12, Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
move-object v3, v12
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
check-cast v3, Ljava/util/Collection;
|
2019-10-28 23:46:47 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
invoke-interface {v3}, Ljava/util/Collection;->isEmpty()Z
|
2019-10-28 23:46:47 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
move-result v3
|
2019-10-23 04:50:18 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
xor-int/2addr v3, v7
|
2019-10-23 04:50:18 +00:00
|
|
|
|
2019-07-24 11:27:29 +00:00
|
|
|
invoke-virtual {v2}, Lcom/discord/models/domain/ModelGuild;->getName()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-direct {v0, v2}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->configureToolbar(Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
invoke-virtual/range {p1 .. p1}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription$Model;->getUseNewPremiumTierValues()Z
|
|
|
|
|
|
|
|
move-result v2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
invoke-direct {v0, v5, v9, v2}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->configureProgressBar(IIZ)V
|
|
|
|
|
|
|
|
invoke-direct {v0, v5, v9}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->configureViewpager(II)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->getBoostNumber()Landroid/widget/TextView;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-virtual/range {p0 .. p0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->getResources()Landroid/content/res/Resources;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
const v10, 0x7f100092
|
2019-11-10 14:21:47 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
new-array v11, v7, [Ljava/lang/Object;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
invoke-static {v9}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
move-result-object v13
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
aput-object v13, v11, v6
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
invoke-virtual {v5, v10, v9, v11}, Landroid/content/res/Resources;->getQuantityString(II[Ljava/lang/Object;)Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
check-cast v5, Ljava/lang/CharSequence;
|
|
|
|
|
|
|
|
invoke-virtual {v2, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
const/16 v2, 0x8
|
2019-10-23 04:50:18 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
if-eqz v3, :cond_c
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->getButtonFlipper()Lcom/discord/app/AppViewFlipper;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-virtual {v1, v6}, Lcom/discord/app/AppViewFlipper;->setDisplayedChild(I)V
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->getBoostButton()Landroid/widget/Button;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
new-instance v3, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription$configureUI$2;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
invoke-direct {v3, v0, v12}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription$configureUI$2;-><init>(Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;Ljava/util/List;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
check-cast v3, Landroid/view/View$OnClickListener;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
invoke-virtual {v1, v3}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->getButtonInfo()Landroid/widget/TextView;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-virtual {v1, v2}, Landroid/widget/TextView;->setVisibility(I)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
:cond_c
|
|
|
|
invoke-virtual {v1}, Lcom/discord/models/domain/ModelUser;->getPremiumType()I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
move-result v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
if-eqz v3, :cond_e
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
if-eq v3, v7, :cond_e
|
2019-10-23 04:50:18 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
if-eq v3, v8, :cond_d
|
2019-10-28 23:46:47 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
goto :goto_4
|
2019-10-28 23:46:47 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
:cond_d
|
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->getButtonFlipper()Lcom/discord/app/AppViewFlipper;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
invoke-virtual {v1, v8}, Lcom/discord/app/AppViewFlipper;->setDisplayedChild(I)V
|
2019-10-28 23:46:47 +00:00
|
|
|
|
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->getButtonInfo()Landroid/widget/TextView;
|
2019-10-23 04:50:18 +00:00
|
|
|
|
2019-10-25 01:57:51 +00:00
|
|
|
move-result-object v1
|
2019-10-23 04:50:18 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
invoke-virtual {v1, v2}, Landroid/widget/TextView;->setVisibility(I)V
|
2019-10-28 23:46:47 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->getManageButton()Landroid/widget/Button;
|
2019-10-28 23:46:47 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
move-result-object v1
|
2019-10-28 23:46:47 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
sget-object v2, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription$configureUI$5;->INSTANCE:Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription$configureUI$5;
|
2019-10-28 23:46:47 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
check-cast v2, Landroid/view/View$OnClickListener;
|
2019-10-28 23:46:47 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
invoke-virtual {v1, v2}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
2019-10-28 23:46:47 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
:goto_4
|
2019-07-24 11:27:29 +00:00
|
|
|
return-void
|
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
:cond_e
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->getButtonFlipper()Lcom/discord/app/AppViewFlipper;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
invoke-virtual {v2, v7}, Lcom/discord/app/AppViewFlipper;->setDisplayedChild(I)V
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->getUpgradeButton()Landroid/widget/Button;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Lcom/discord/models/domain/ModelUser;->getPremiumType()I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
if-nez v1, :cond_f
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
const v1, 0x7f120e56
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
goto :goto_5
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
:cond_f
|
2019-11-14 21:08:15 +00:00
|
|
|
const v1, 0x7f120e5a
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
:goto_5
|
2019-07-24 11:27:29 +00:00
|
|
|
invoke-virtual {v2, v1}, Landroid/widget/Button;->setText(I)V
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->getUpgradeButton()Landroid/widget/Button;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
check-cast v1, Landroid/view/View;
|
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
xor-int/lit8 v2, v4, 0x1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
const/4 v5, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
invoke-static {v1, v2, v3, v8, v5}, Lcom/discord/utilities/view/extensions/ViewExtensions;->setEnabledAlpha$default(Landroid/view/View;ZFILjava/lang/Object;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->getUpgradeButton()Landroid/widget/Button;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
sget-object v2, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription$configureUI$3;->INSTANCE:Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription$configureUI$3;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
check-cast v2, Landroid/view/View$OnClickListener;
|
|
|
|
|
|
|
|
invoke-virtual {v1, v2}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->getButtonInfo()Landroid/widget/TextView;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->getButtonInfo()Landroid/widget/TextView;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
check-cast v2, Landroid/view/View;
|
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
if-eqz v4, :cond_10
|
2019-08-30 20:04:20 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
const v3, 0x7f060127
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
goto :goto_6
|
2019-10-23 04:50:18 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
:cond_10
|
2019-11-14 21:08:15 +00:00
|
|
|
const v3, 0x7f0600c3
|
2019-10-28 23:46:47 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
:goto_6
|
2019-10-31 00:47:18 +00:00
|
|
|
invoke-static {v2, v3}, Lcom/discord/utilities/color/ColorCompat;->getColor(Landroid/view/View;I)I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
invoke-virtual {v1, v2}, Landroid/widget/TextView;->setTextColor(I)V
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->getButtonInfo()Landroid/widget/TextView;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
move-result-object v8
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
if-eqz v4, :cond_11
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
const v1, 0x7f0801d4
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
const v9, 0x7f0801d4
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
goto :goto_7
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
:cond_11
|
2019-11-14 21:08:15 +00:00
|
|
|
const/4 v9, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
:goto_7
|
2019-11-14 21:08:15 +00:00
|
|
|
const/4 v10, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
const/4 v11, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
const/4 v12, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
const/16 v13, 0xe
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
const/4 v14, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
invoke-static/range {v8 .. v14}, Lcom/discord/utilities/drawable/DrawableCompat;->setCompoundDrawablesCompat$default(Landroid/widget/TextView;IIIIILjava/lang/Object;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
if-eqz v4, :cond_12
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-virtual/range {p0 .. p0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->requireContext()Landroid/content/Context;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
move-result-object v15
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
const-string v1, "requireContext()"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
invoke-static {v15, v1}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
const v1, 0x7f120e5b
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
new-array v2, v7, [Ljava/lang/Object;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
const-string v3, "https://support.apple.com/en-us/HT202039"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
aput-object v3, v2, v6
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
invoke-virtual {v0, v1, v2}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->getString(I[Ljava/lang/Object;)Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
move-result-object v1
|
2019-08-26 23:09:33 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
const-string v2, "getString(R.string.premi\u2026pple.com/en-us/HT202039\")"
|
2019-08-26 23:09:33 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
invoke-static {v1, v2}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-08-26 23:09:33 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
move-object/from16 v16, v1
|
2019-08-26 23:09:33 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
check-cast v16, Ljava/lang/CharSequence;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
const/16 v17, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
const/16 v18, 0x0
|
2019-08-26 23:09:33 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
const/16 v19, 0xc
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
const/16 v20, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
invoke-static/range {v15 .. v20}, Lcom/discord/utilities/textprocessing/Parsers;->parseMaskedLinks$default(Landroid/content/Context;Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function2;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ljava/lang/CharSequence;
|
2019-10-23 04:50:18 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
move-result-object v5
|
2019-10-28 23:46:47 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
:cond_12
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->getButtonInfo()Landroid/widget/TextView;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
invoke-static {v1, v5}, Lcom/discord/utilities/view/extensions/ViewExtensions;->setTextAndVisibilityBy(Landroid/widget/TextView;Ljava/lang/CharSequence;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->getButtonInfo()Landroid/widget/TextView;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
new-instance v2, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription$configureUI$4;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
invoke-direct {v2, v0, v4}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription$configureUI$4;-><init>(Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;Z)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
check-cast v2, Landroid/view/View$OnClickListener;
|
|
|
|
|
|
|
|
invoke-virtual {v1, v2}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
:cond_13
|
2019-07-24 11:27:29 +00:00
|
|
|
new-instance v1, Lkotlin/r;
|
|
|
|
|
|
|
|
const-string v2, "null cannot be cast to non-null type com.discord.stores.StoreSubscriptions.SubscriptionsState.Loaded"
|
|
|
|
|
|
|
|
invoke-direct {v1, v2}, Lkotlin/r;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v1
|
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
:cond_14
|
2019-07-24 11:27:29 +00:00
|
|
|
new-instance v1, Lkotlin/r;
|
|
|
|
|
|
|
|
const-string v2, "null cannot be cast to non-null type com.discord.stores.StorePremiumGuildSubscription.State.Loaded"
|
|
|
|
|
|
|
|
invoke-direct {v1, v2}, Lkotlin/r;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v1
|
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
:cond_15
|
|
|
|
:goto_8
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->getFlipper()Lcom/discord/app/AppViewFlipper;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-virtual {v1, v7}, Lcom/discord/app/AppViewFlipper;->setDisplayedChild(I)V
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->getRetry()Landroid/widget/Button;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
new-instance v2, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription$configureUI$1;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-direct {v2, v0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription$configureUI$1;-><init>(Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
check-cast v2, Landroid/view/View$OnClickListener;
|
|
|
|
|
|
|
|
invoke-virtual {v1, v2}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
:cond_16
|
|
|
|
:goto_9
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->getFlipper()Lcom/discord/app/AppViewFlipper;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-virtual {v1, v6}, Lcom/discord/app/AppViewFlipper;->setDisplayedChild(I)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final configureViewpager(II)V
|
2019-10-31 00:47:18 +00:00
|
|
|
.locals 2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->pagerAdapter:Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription$PerksPagerAdapter;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
const-string v1, "pagerAdapter"
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
invoke-static {v1}, Lkotlin/jvm/internal/l;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
:cond_0
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-virtual {v0, p1}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription$PerksPagerAdapter;->setPremiumTier(I)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->pagerAdapter:Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription$PerksPagerAdapter;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
if-nez v0, :cond_1
|
|
|
|
|
|
|
|
invoke-static {v1}, Lkotlin/jvm/internal/l;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
:cond_1
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-virtual {v0, p2}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription$PerksPagerAdapter;->setSubscriptionCount(I)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iget-object p2, p0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->pagerAdapter:Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription$PerksPagerAdapter;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
if-nez p2, :cond_2
|
|
|
|
|
|
|
|
invoke-static {v1}, Lkotlin/jvm/internal/l;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
:cond_2
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-virtual {p2}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription$PerksPagerAdapter;->configureViews()V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iget-boolean p2, p0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->wasPagerPageSet:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
if-nez p2, :cond_3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->getViewPager()Lcom/discord/utilities/simple_pager/SimplePager;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
invoke-virtual {p2, p1, v0}, Lcom/discord/utilities/simple_pager/SimplePager;->setCurrentItem(IZ)V
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-direct {p0, p1}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->configureLevelBubbles(I)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/4 p1, 0x1
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iput-boolean p1, p0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->wasPagerPageSet:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
:cond_3
|
2019-07-24 11:27:29 +00:00
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final create(Landroid/content/Context;J)V
|
|
|
|
.locals 1
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
sget-object v0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->Companion:Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription$Companion;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-virtual {v0, p0, p1, p2}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription$Companion;->create(Landroid/content/Context;J)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final fetchData()V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
sget-object v0, Lcom/discord/stores/StorePremiumGuildSubscription$Actions;->INSTANCE:Lcom/discord/stores/StorePremiumGuildSubscription$Actions;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/discord/stores/StorePremiumGuildSubscription$Actions;->fetchUserGuildPremiumState()V
|
|
|
|
|
|
|
|
invoke-static {}, Lcom/discord/stores/StoreSubscriptions$Actions;->fetchSubscriptions()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final getBoostButton()Landroid/widget/Button;
|
|
|
|
.locals 3
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->boostButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
sget-object v1, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/16 v2, 0xd
|
|
|
|
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Landroid/widget/Button;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final getBoostInfo()Landroid/widget/TextView;
|
|
|
|
.locals 3
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->boostInfo$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
sget-object v1, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Landroid/widget/TextView;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final getBoostNumber()Landroid/widget/TextView;
|
|
|
|
.locals 3
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->boostNumber$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
sget-object v1, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Landroid/widget/TextView;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final getBoostProgressBar()Landroid/widget/ProgressBar;
|
|
|
|
.locals 3
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->boostProgressBar$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
sget-object v1, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/4 v2, 0x2
|
|
|
|
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Landroid/widget/ProgressBar;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final getBoostTier0Iv()Landroid/widget/ImageView;
|
|
|
|
.locals 3
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->boostTier0Iv$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
sget-object v1, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/4 v2, 0x3
|
|
|
|
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Landroid/widget/ImageView;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final getBoostTier1Iv()Landroid/widget/ImageView;
|
|
|
|
.locals 3
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->boostTier1Iv$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
sget-object v1, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/4 v2, 0x4
|
|
|
|
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Landroid/widget/ImageView;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final getBoostTier1Tv()Landroid/widget/TextView;
|
|
|
|
.locals 3
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->boostTier1Tv$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
sget-object v1, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/4 v2, 0x5
|
|
|
|
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Landroid/widget/TextView;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final getBoostTier2Iv()Landroid/widget/ImageView;
|
|
|
|
.locals 3
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->boostTier2Iv$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
sget-object v1, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/4 v2, 0x6
|
|
|
|
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Landroid/widget/ImageView;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final getBoostTier2Tv()Landroid/widget/TextView;
|
|
|
|
.locals 3
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->boostTier2Tv$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
sget-object v1, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/4 v2, 0x7
|
|
|
|
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Landroid/widget/TextView;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final getBoostTier3Iv()Landroid/widget/ImageView;
|
|
|
|
.locals 3
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->boostTier3Iv$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
sget-object v1, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/16 v2, 0x8
|
|
|
|
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Landroid/widget/ImageView;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final getBoostTier3Tv()Landroid/widget/TextView;
|
|
|
|
.locals 3
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->boostTier3Tv$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
sget-object v1, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/16 v2, 0x9
|
|
|
|
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Landroid/widget/TextView;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final getButtonFlipper()Lcom/discord/app/AppViewFlipper;
|
|
|
|
.locals 3
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->buttonFlipper$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
sget-object v1, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/16 v2, 0xc
|
|
|
|
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Lcom/discord/app/AppViewFlipper;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final getButtonInfo()Landroid/widget/TextView;
|
|
|
|
.locals 3
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->buttonInfo$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
sget-object v1, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/16 v2, 0x10
|
|
|
|
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Landroid/widget/TextView;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final getFlipper()Lcom/discord/app/AppViewFlipper;
|
|
|
|
.locals 3
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->flipper$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
sget-object v1, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/16 v2, 0xa
|
|
|
|
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Lcom/discord/app/AppViewFlipper;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final getGuildId()J
|
|
|
|
.locals 2
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->guildId$delegate:Lkotlin/Lazy;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-interface {v0}, Lkotlin/Lazy;->getValue()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Ljava/lang/Number;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Number;->longValue()J
|
|
|
|
|
|
|
|
move-result-wide v0
|
|
|
|
|
|
|
|
return-wide v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final getManageButton()Landroid/widget/Button;
|
|
|
|
.locals 3
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->manageButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
sget-object v1, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/16 v2, 0xf
|
|
|
|
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Landroid/widget/Button;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final getRetry()Landroid/widget/Button;
|
|
|
|
.locals 3
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->retry$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
sget-object v1, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/16 v2, 0xb
|
|
|
|
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Landroid/widget/Button;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final getUpgradeButton()Landroid/widget/Button;
|
|
|
|
.locals 3
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->upgradeButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
sget-object v1, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/16 v2, 0xe
|
|
|
|
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Landroid/widget/Button;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final getViewPager()Lcom/discord/utilities/simple_pager/SimplePager;
|
|
|
|
.locals 3
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->viewPager$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
sget-object v1, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/16 v2, 0x11
|
|
|
|
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Lcom/discord/utilities/simple_pager/SimplePager;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public final getContentViewResId()I
|
|
|
|
.locals 1
|
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
const v0, 0x7f0d016f
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final onActivityCreated(Landroid/os/Bundle;)V
|
2019-10-31 00:47:18 +00:00
|
|
|
.locals 5
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-super {p0, p1}, Lcom/discord/app/AppFragment;->onActivityCreated(Landroid/os/Bundle;)V
|
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
const/4 v1, 0x3
|
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
invoke-static {p0, p1, v0, v1, v0}, Lcom/discord/app/AppFragment;->setActionBarDisplayHomeAsUpEnabled$default(Lcom/discord/app/AppFragment;ZLjava/lang/Integer;ILjava/lang/Object;)Landroidx/appcompat/widget/Toolbar;
|
|
|
|
|
|
|
|
new-instance v1, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription$PerksPagerAdapter;
|
|
|
|
|
|
|
|
sget-object v2, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
|
|
|
|
|
|
|
invoke-virtual {v2}, Lcom/discord/stores/StoreStream$Companion;->getExperiments()Lcom/discord/stores/StoreExperiments;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
const-string v3, "2019-10_android_premium_changes"
|
|
|
|
|
|
|
|
const/4 v4, 0x2
|
|
|
|
|
|
|
|
invoke-static {v2, v3, v0, v4, v0}, Lcom/discord/stores/StoreExperiments;->getExperimentSnapshot$default(Lcom/discord/stores/StoreExperiments;Ljava/lang/String;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)Lcom/discord/models/domain/ModelExperiment;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/discord/models/domain/ModelExperiment;->getBucket()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-ne v0, v2, :cond_0
|
|
|
|
|
|
|
|
const/4 p1, 0x1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
invoke-direct {v1, p1}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription$PerksPagerAdapter;-><init>(Z)V
|
|
|
|
|
|
|
|
iput-object v1, p0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->pagerAdapter:Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription$PerksPagerAdapter;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->getViewPager()Lcom/discord/utilities/simple_pager/SimplePager;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
invoke-virtual {p1, v2}, Lcom/discord/utilities/simple_pager/SimplePager;->setWrapHeight(Z)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->getViewPager()Lcom/discord/utilities/simple_pager/SimplePager;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->pagerAdapter:Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription$PerksPagerAdapter;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-31 00:47:18 +00:00
|
|
|
if-nez v0, :cond_1
|
|
|
|
|
|
|
|
const-string v1, "pagerAdapter"
|
|
|
|
|
|
|
|
invoke-static {v1}, Lkotlin/jvm/internal/l;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
:cond_1
|
2019-07-24 11:27:29 +00:00
|
|
|
check-cast v0, Landroidx/viewpager/widget/PagerAdapter;
|
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Lcom/discord/utilities/simple_pager/SimplePager;->setAdapter(Landroidx/viewpager/widget/PagerAdapter;)V
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->getViewPager()Lcom/discord/utilities/simple_pager/SimplePager;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
new-instance v0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription$onActivityCreated$1;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-direct {v0, p0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription$onActivityCreated$1;-><init>(Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
check-cast v0, Landroidx/viewpager/widget/ViewPager$OnPageChangeListener;
|
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Lcom/discord/utilities/simple_pager/SimplePager;->addOnPageChangeListener(Landroidx/viewpager/widget/ViewPager$OnPageChangeListener;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final onViewBound(Landroid/view/View;)V
|
2019-08-26 23:09:33 +00:00
|
|
|
.locals 10
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const-string v0, "view"
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-super {p0, p1}, Lcom/discord/app/AppFragment;->onViewBound(Landroid/view/View;)V
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
new-array v1, v0, [Ljava/lang/Object;
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
sget-object v2, Lcom/discord/app/e;->vk:Lcom/discord/app/e;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
sget-wide v2, Lcom/discord/app/e;->vj:J
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
invoke-static {v2, v3}, Lcom/discord/app/e;->j(J)Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
aput-object v2, v1, v3
|
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
const v2, 0x7f120e54
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-virtual {p0, v2, v1}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->getString(I[Ljava/lang/Object;)Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
const-string v2, "getString(R.string.premi\u2026elpDesk.SERVER_BOOSTING))"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {v1, v2}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->getBoostInfo()Landroid/widget/TextView;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
|
2019-08-26 23:09:33 +00:00
|
|
|
move-result-object v4
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-26 23:09:33 +00:00
|
|
|
const-string p1, "view.context"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {v4, p1}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-26 23:09:33 +00:00
|
|
|
move-object v5, v1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-26 23:09:33 +00:00
|
|
|
check-cast v5, Ljava/lang/CharSequence;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-26 23:09:33 +00:00
|
|
|
const/4 v6, 0x0
|
|
|
|
|
|
|
|
const/4 v7, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-26 23:09:33 +00:00
|
|
|
const/16 v8, 0xc
|
|
|
|
|
|
|
|
const/4 v9, 0x0
|
|
|
|
|
|
|
|
invoke-static/range {v4 .. v9}, Lcom/discord/utilities/textprocessing/Parsers;->parseMaskedLinks$default(Landroid/content/Context;Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function2;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ljava/lang/CharSequence;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-virtual {v2, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
|
|
|
|
2019-08-26 23:09:33 +00:00
|
|
|
const/4 p1, 0x4
|
|
|
|
|
|
|
|
new-array v1, p1, [Landroid/widget/ImageView;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->getBoostTier0Iv()Landroid/widget/ImageView;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-26 23:09:33 +00:00
|
|
|
move-result-object v2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-26 23:09:33 +00:00
|
|
|
aput-object v2, v1, v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->getBoostTier1Iv()Landroid/widget/ImageView;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-26 23:09:33 +00:00
|
|
|
move-result-object v2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-26 23:09:33 +00:00
|
|
|
aput-object v2, v1, v0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->getBoostTier2Iv()Landroid/widget/ImageView;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-26 23:09:33 +00:00
|
|
|
move-result-object v2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-26 23:09:33 +00:00
|
|
|
const/4 v4, 0x2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-26 23:09:33 +00:00
|
|
|
aput-object v2, v1, v4
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->getBoostTier3Iv()Landroid/widget/ImageView;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-26 23:09:33 +00:00
|
|
|
move-result-object v2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-26 23:09:33 +00:00
|
|
|
const/4 v5, 0x3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-26 23:09:33 +00:00
|
|
|
aput-object v2, v1, v5
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {v1}, Lkotlin/a/m;->listOf([Ljava/lang/Object;)Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-26 23:09:33 +00:00
|
|
|
move-result-object v1
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iput-object v1, p0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->levelBackgrounds:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-26 23:09:33 +00:00
|
|
|
new-array p1, p1, [Landroid/widget/TextView;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-26 23:09:33 +00:00
|
|
|
const/4 v1, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-26 23:09:33 +00:00
|
|
|
aput-object v1, p1, v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->getBoostTier1Tv()Landroid/widget/TextView;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
aput-object v1, p1, v0
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->getBoostTier2Tv()Landroid/widget/TextView;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-08-26 23:09:33 +00:00
|
|
|
aput-object v0, p1, v4
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->getBoostTier3Tv()Landroid/widget/TextView;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-08-26 23:09:33 +00:00
|
|
|
aput-object v0, p1, v5
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {p1}, Lkotlin/a/m;->listOf([Ljava/lang/Object;)Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iput-object p1, p0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->levelText:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->fetchData()V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final onViewBoundOrOnResume()V
|
|
|
|
.locals 13
|
|
|
|
|
|
|
|
invoke-super {p0}, Lcom/discord/app/AppFragment;->onViewBoundOrOnResume()V
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->getGuildId()J
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-wide v0
|
|
|
|
|
|
|
|
const-wide/16 v2, 0x0
|
|
|
|
|
|
|
|
cmp-long v4, v0, v2
|
|
|
|
|
|
|
|
if-eqz v4, :cond_0
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->getGuildId()J
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-wide v0
|
|
|
|
|
|
|
|
const-wide/16 v2, -0x1
|
|
|
|
|
|
|
|
cmp-long v4, v0, v2
|
|
|
|
|
|
|
|
if-nez v4, :cond_1
|
|
|
|
|
|
|
|
:cond_0
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-virtual {p0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->getAppActivity()Lcom/discord/app/AppActivity;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/discord/app/AppActivity;->finish()V
|
|
|
|
|
|
|
|
:cond_1
|
2019-10-01 14:15:45 +00:00
|
|
|
sget-object v0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription$Model;->Companion:Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription$Model$Companion;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->getGuildId()J
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-wide v1
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-virtual {v0, v1, v2}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription$Model$Companion;->get(J)Lrx/Observable;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
invoke-static {}, Lrx/internal/a/ae;->Jl()Lrx/internal/a/ae;
|
2019-10-09 23:16:36 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Lrx/Observable;->a(Lrx/Observable$b;)Lrx/Observable;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
const-string v1, "Model\n .get(guild\u2026 .distinctUntilChanged()"
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {v0, v1}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-object v1, p0
|
|
|
|
|
|
|
|
check-cast v1, Lcom/discord/app/AppComponent;
|
|
|
|
|
|
|
|
const/4 v2, 0x2
|
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
invoke-static {v0, v1, v3, v2, v3}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->ui$default(Lrx/Observable;Lcom/discord/app/AppComponent;Lcom/discord/utilities/mg_recycler/MGRecyclerAdapterSimple;ILjava/lang/Object;)Lrx/Observable;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-virtual {p0}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;->requireContext()Landroid/content/Context;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v6
|
|
|
|
|
|
|
|
const/4 v7, 0x0
|
|
|
|
|
|
|
|
const/4 v8, 0x0
|
|
|
|
|
|
|
|
const/4 v9, 0x0
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
new-instance v0, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription$onViewBoundOrOnResume$1;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-object v1, p0
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
check-cast v1, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-direct {v0, v1}, Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription$onViewBoundOrOnResume$1;-><init>(Lcom/discord/widgets/servers/premiumguild/WidgetPremiumGuildSubscription;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-object v10, v0
|
|
|
|
|
|
|
|
check-cast v10, Lkotlin/jvm/functions/Function1;
|
|
|
|
|
|
|
|
const/16 v11, 0x1c
|
|
|
|
|
|
|
|
const/4 v12, 0x0
|
|
|
|
|
|
|
|
invoke-static/range {v4 .. v12}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Ljava/lang/Class;Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|