454 lines
13 KiB
Smali
454 lines
13 KiB
Smali
.class public final Lcom/discord/widgets/announcements/WidgetChannelFollowSuccessDialog;
|
|
.super Lcom/discord/app/AppDialog;
|
|
.source "WidgetChannelFollowSuccessDialog.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/discord/widgets/announcements/WidgetChannelFollowSuccessDialog$Companion;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final synthetic $$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
.field public static final Companion:Lcom/discord/widgets/announcements/WidgetChannelFollowSuccessDialog$Companion;
|
|
|
|
|
|
# instance fields
|
|
.field public final confirmButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
.field public final successImageOptions:[Ljava/lang/Integer;
|
|
|
|
.field public final successImageView$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
.field public final successTextOptions:[Ljava/lang/Integer;
|
|
|
|
.field public final successTextView$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 6
|
|
|
|
const/4 v0, 0x3
|
|
|
|
new-array v0, v0, [Lkotlin/reflect/KProperty;
|
|
|
|
new-instance v1, Lx/u/b/u;
|
|
|
|
const-class v2, Lcom/discord/widgets/announcements/WidgetChannelFollowSuccessDialog;
|
|
|
|
invoke-static {v2}, Lx/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lx/y/b;
|
|
|
|
move-result-object v2
|
|
|
|
const-string v3, "successTextView"
|
|
|
|
const-string v4, "getSuccessTextView()Landroid/widget/TextView;"
|
|
|
|
invoke-direct {v1, v2, v3, v4}, Lx/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
sget-object v2, Lx/u/b/w;->a:Lx/u/b/x;
|
|
|
|
invoke-virtual {v2, v1}, Lx/u/b/x;->property1(Lx/u/b/t;)Lx/y/d;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
const/4 v1, 0x1
|
|
|
|
new-instance v2, Lx/u/b/u;
|
|
|
|
const-class v3, Lcom/discord/widgets/announcements/WidgetChannelFollowSuccessDialog;
|
|
|
|
invoke-static {v3}, Lx/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lx/y/b;
|
|
|
|
move-result-object v3
|
|
|
|
const-string v4, "successImageView"
|
|
|
|
const-string v5, "getSuccessImageView()Landroid/widget/ImageView;"
|
|
|
|
invoke-direct {v2, v3, v4, v5}, Lx/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
sget-object v3, Lx/u/b/w;->a:Lx/u/b/x;
|
|
|
|
invoke-virtual {v3, v2}, Lx/u/b/x;->property1(Lx/u/b/t;)Lx/y/d;
|
|
|
|
aput-object v2, v0, v1
|
|
|
|
const/4 v1, 0x2
|
|
|
|
new-instance v2, Lx/u/b/u;
|
|
|
|
const-class v3, Lcom/discord/widgets/announcements/WidgetChannelFollowSuccessDialog;
|
|
|
|
invoke-static {v3}, Lx/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lx/y/b;
|
|
|
|
move-result-object v3
|
|
|
|
const-string v4, "confirmButton"
|
|
|
|
const-string v5, "getConfirmButton()Landroid/widget/Button;"
|
|
|
|
invoke-direct {v2, v3, v4, v5}, Lx/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
sget-object v3, Lx/u/b/w;->a:Lx/u/b/x;
|
|
|
|
invoke-virtual {v3, v2}, Lx/u/b/x;->property1(Lx/u/b/t;)Lx/y/d;
|
|
|
|
aput-object v2, v0, v1
|
|
|
|
sput-object v0, Lcom/discord/widgets/announcements/WidgetChannelFollowSuccessDialog;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
new-instance v0, Lcom/discord/widgets/announcements/WidgetChannelFollowSuccessDialog$Companion;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-direct {v0, v1}, Lcom/discord/widgets/announcements/WidgetChannelFollowSuccessDialog$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
sput-object v0, Lcom/discord/widgets/announcements/WidgetChannelFollowSuccessDialog;->Companion:Lcom/discord/widgets/announcements/WidgetChannelFollowSuccessDialog$Companion;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>()V
|
|
.locals 7
|
|
|
|
invoke-direct {p0}, Lcom/discord/app/AppDialog;-><init>()V
|
|
|
|
const v0, 0x7f0a0156
|
|
|
|
invoke-static {p0, v0}, Le/o/a/j/a;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/announcements/WidgetChannelFollowSuccessDialog;->successTextView$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
const v0, 0x7f0a0155
|
|
|
|
invoke-static {p0, v0}, Le/o/a/j/a;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/announcements/WidgetChannelFollowSuccessDialog;->successImageView$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
const/16 v0, 0xa
|
|
|
|
new-array v0, v0, [Ljava/lang/Integer;
|
|
|
|
const v1, 0x7f120645
|
|
|
|
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
const v1, 0x7f120646
|
|
|
|
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v1
|
|
|
|
const/4 v3, 0x1
|
|
|
|
aput-object v1, v0, v3
|
|
|
|
const v1, 0x7f120647
|
|
|
|
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v1
|
|
|
|
const/4 v4, 0x2
|
|
|
|
aput-object v1, v0, v4
|
|
|
|
const v1, 0x7f120648
|
|
|
|
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v1
|
|
|
|
const/4 v5, 0x3
|
|
|
|
aput-object v1, v0, v5
|
|
|
|
const v1, 0x7f120649
|
|
|
|
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v1
|
|
|
|
const/4 v6, 0x4
|
|
|
|
aput-object v1, v0, v6
|
|
|
|
const v1, 0x7f12064a
|
|
|
|
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v1
|
|
|
|
const/4 v6, 0x5
|
|
|
|
aput-object v1, v0, v6
|
|
|
|
const v1, 0x7f12064b
|
|
|
|
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v1
|
|
|
|
const/4 v6, 0x6
|
|
|
|
aput-object v1, v0, v6
|
|
|
|
const v1, 0x7f12064c
|
|
|
|
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v1
|
|
|
|
const/4 v6, 0x7
|
|
|
|
aput-object v1, v0, v6
|
|
|
|
const v1, 0x7f12064d
|
|
|
|
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v1
|
|
|
|
const/16 v6, 0x8
|
|
|
|
aput-object v1, v0, v6
|
|
|
|
const v1, 0x7f12064e
|
|
|
|
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v1
|
|
|
|
const/16 v6, 0x9
|
|
|
|
aput-object v1, v0, v6
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/announcements/WidgetChannelFollowSuccessDialog;->successTextOptions:[Ljava/lang/Integer;
|
|
|
|
new-array v0, v5, [Ljava/lang/Integer;
|
|
|
|
const v1, 0x7f040295
|
|
|
|
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v1
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
const v1, 0x7f040296
|
|
|
|
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v1
|
|
|
|
aput-object v1, v0, v3
|
|
|
|
const v1, 0x7f040297
|
|
|
|
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v1
|
|
|
|
aput-object v1, v0, v4
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/announcements/WidgetChannelFollowSuccessDialog;->successImageOptions:[Ljava/lang/Integer;
|
|
|
|
const v0, 0x7f0a0154
|
|
|
|
invoke-static {p0, v0}, Le/o/a/j/a;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/announcements/WidgetChannelFollowSuccessDialog;->confirmButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private final getConfirmButton()Landroid/widget/Button;
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/announcements/WidgetChannelFollowSuccessDialog;->confirmButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
sget-object v1, Lcom/discord/widgets/announcements/WidgetChannelFollowSuccessDialog;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
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/Button;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private final getSuccessImageView()Landroid/widget/ImageView;
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/announcements/WidgetChannelFollowSuccessDialog;->successImageView$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
sget-object v1, Lcom/discord/widgets/announcements/WidgetChannelFollowSuccessDialog;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
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/ImageView;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private final getSuccessTextView()Landroid/widget/TextView;
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/announcements/WidgetChannelFollowSuccessDialog;->successTextView$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
sget-object v1, Lcom/discord/widgets/announcements/WidgetChannelFollowSuccessDialog;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
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 public static final show(Landroidx/fragment/app/FragmentManager;)V
|
|
.locals 1
|
|
|
|
sget-object v0, Lcom/discord/widgets/announcements/WidgetChannelFollowSuccessDialog;->Companion:Lcom/discord/widgets/announcements/WidgetChannelFollowSuccessDialog$Companion;
|
|
|
|
invoke-virtual {v0, p0}, Lcom/discord/widgets/announcements/WidgetChannelFollowSuccessDialog$Companion;->show(Landroidx/fragment/app/FragmentManager;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public getContentViewResId()I
|
|
.locals 1
|
|
|
|
const v0, 0x7f0d0144
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public onViewBound(Landroid/view/View;)V
|
|
.locals 5
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
invoke-super {p0, p1}, Lcom/discord/app/AppDialog;->onViewBound(Landroid/view/View;)V
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/announcements/WidgetChannelFollowSuccessDialog;->getSuccessTextView()Landroid/widget/TextView;
|
|
|
|
move-result-object p1
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/announcements/WidgetChannelFollowSuccessDialog;->successTextOptions:[Ljava/lang/Integer;
|
|
|
|
sget-object v2, Lx/w/c;->b:Lx/w/c$b;
|
|
|
|
invoke-static {v1, v2}, Le/o/a/j/a;->random([Ljava/lang/Object;Lx/w/c;)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Ljava/lang/Number;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Number;->intValue()I
|
|
|
|
move-result v1
|
|
|
|
invoke-virtual {p0, v1}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {p1, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/announcements/WidgetChannelFollowSuccessDialog;->getSuccessImageView()Landroid/widget/ImageView;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "requireContext()"
|
|
|
|
invoke-static {v1, v2}, Lx/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
iget-object v2, p0, Lcom/discord/widgets/announcements/WidgetChannelFollowSuccessDialog;->successImageOptions:[Ljava/lang/Integer;
|
|
|
|
sget-object v3, Lx/w/c;->b:Lx/w/c$b;
|
|
|
|
invoke-static {v2, v3}, Le/o/a/j/a;->random([Ljava/lang/Object;Lx/w/c;)Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, Ljava/lang/Number;
|
|
|
|
invoke-virtual {v2}, Ljava/lang/Number;->intValue()I
|
|
|
|
move-result v2
|
|
|
|
const/4 v3, 0x0
|
|
|
|
const/4 v4, 0x2
|
|
|
|
invoke-static {v1, v2, v3, v4, v0}, Lcom/discord/utilities/drawable/DrawableCompat;->getThemedDrawableRes$default(Landroid/content/Context;IIILjava/lang/Object;)I
|
|
|
|
move-result v1
|
|
|
|
const/4 v2, 0x4
|
|
|
|
invoke-static {p1, v1, v0, v2, v0}, Lcom/discord/utilities/images/MGImages;->setImage$default(Landroid/widget/ImageView;ILcom/discord/utilities/images/MGImages$ChangeDetector;ILjava/lang/Object;)V
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/announcements/WidgetChannelFollowSuccessDialog;->getConfirmButton()Landroid/widget/Button;
|
|
|
|
move-result-object p1
|
|
|
|
new-instance v0, Lcom/discord/widgets/announcements/WidgetChannelFollowSuccessDialog$onViewBound$1;
|
|
|
|
invoke-direct {v0, p0}, Lcom/discord/widgets/announcements/WidgetChannelFollowSuccessDialog$onViewBound$1;-><init>(Lcom/discord/widgets/announcements/WidgetChannelFollowSuccessDialog;)V
|
|
|
|
invoke-virtual {p1, v0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string p1, "view"
|
|
|
|
invoke-static {p1}, Lx/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|