apkfuckery/com.discord/smali/com/discord/widgets/auth/WidgetAuthUndeleteAccount.s...

396 lines
12 KiB
Smali

.class public final Lcom/discord/widgets/auth/WidgetAuthUndeleteAccount;
.super Lcom/discord/app/AppFragment;
.source "WidgetAuthUndeleteAccount.kt"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/discord/widgets/auth/WidgetAuthUndeleteAccount$Companion;
}
.end annotation
# static fields
.field static final synthetic $$delegatedProperties:[Lkotlin/reflect/KProperty;
.field private static final ARG_DISABLED_KEY:Ljava/lang/String; = "ARG_DISABLED_KEY"
.field public static final Companion:Lcom/discord/widgets/auth/WidgetAuthUndeleteAccount$Companion;
.field private static final REQUEST_CODE:I = 0xfa0
.field private static final RESULT_EXTRA_UNDELETE:Ljava/lang/String; = "RESULT_EXTRA_UNDELETE"
# instance fields
.field private final buttonCancel$delegate:Lkotlin/properties/ReadOnlyProperty;
.field private final buttonDelete$delegate:Lkotlin/properties/ReadOnlyProperty;
.field private final textBody$delegate:Lkotlin/properties/ReadOnlyProperty;
.field private final textTitle$delegate:Lkotlin/properties/ReadOnlyProperty;
# direct methods
.method static constructor <clinit>()V
.locals 5
const/4 v0, 0x4
new-array v0, v0, [Lkotlin/reflect/KProperty;
new-instance v1, Lkotlin/jvm/internal/u;
const-class v2, Lcom/discord/widgets/auth/WidgetAuthUndeleteAccount;
invoke-static {v2}, Lkotlin/jvm/internal/v;->N(Ljava/lang/Class;)Lkotlin/reflect/b;
move-result-object v2
const-string v3, "buttonDelete"
const-string v4, "getButtonDelete()Landroid/widget/Button;"
invoke-direct {v1, v2, v3, v4}, Lkotlin/jvm/internal/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
invoke-static {v1}, Lkotlin/jvm/internal/v;->a(Lkotlin/jvm/internal/t;)Lkotlin/reflect/d;
move-result-object v1
check-cast v1, Lkotlin/reflect/KProperty;
const/4 v2, 0x0
aput-object v1, v0, v2
new-instance v1, Lkotlin/jvm/internal/u;
const-class v2, Lcom/discord/widgets/auth/WidgetAuthUndeleteAccount;
invoke-static {v2}, Lkotlin/jvm/internal/v;->N(Ljava/lang/Class;)Lkotlin/reflect/b;
move-result-object v2
const-string v3, "buttonCancel"
const-string v4, "getButtonCancel()Landroid/widget/Button;"
invoke-direct {v1, v2, v3, v4}, Lkotlin/jvm/internal/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
invoke-static {v1}, Lkotlin/jvm/internal/v;->a(Lkotlin/jvm/internal/t;)Lkotlin/reflect/d;
move-result-object v1
check-cast v1, Lkotlin/reflect/KProperty;
const/4 v2, 0x1
aput-object v1, v0, v2
new-instance v1, Lkotlin/jvm/internal/u;
const-class v2, Lcom/discord/widgets/auth/WidgetAuthUndeleteAccount;
invoke-static {v2}, Lkotlin/jvm/internal/v;->N(Ljava/lang/Class;)Lkotlin/reflect/b;
move-result-object v2
const-string v3, "textTitle"
const-string v4, "getTextTitle()Landroid/widget/TextView;"
invoke-direct {v1, v2, v3, v4}, Lkotlin/jvm/internal/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
invoke-static {v1}, Lkotlin/jvm/internal/v;->a(Lkotlin/jvm/internal/t;)Lkotlin/reflect/d;
move-result-object v1
check-cast v1, Lkotlin/reflect/KProperty;
const/4 v2, 0x2
aput-object v1, v0, v2
new-instance v1, Lkotlin/jvm/internal/u;
const-class v2, Lcom/discord/widgets/auth/WidgetAuthUndeleteAccount;
invoke-static {v2}, Lkotlin/jvm/internal/v;->N(Ljava/lang/Class;)Lkotlin/reflect/b;
move-result-object v2
const-string v3, "textBody"
const-string v4, "getTextBody()Landroid/widget/TextView;"
invoke-direct {v1, v2, v3, v4}, Lkotlin/jvm/internal/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
invoke-static {v1}, Lkotlin/jvm/internal/v;->a(Lkotlin/jvm/internal/t;)Lkotlin/reflect/d;
move-result-object v1
check-cast v1, Lkotlin/reflect/KProperty;
const/4 v2, 0x3
aput-object v1, v0, v2
sput-object v0, Lcom/discord/widgets/auth/WidgetAuthUndeleteAccount;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
new-instance v0, Lcom/discord/widgets/auth/WidgetAuthUndeleteAccount$Companion;
const/4 v1, 0x0
invoke-direct {v0, v1}, Lcom/discord/widgets/auth/WidgetAuthUndeleteAccount$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
sput-object v0, Lcom/discord/widgets/auth/WidgetAuthUndeleteAccount;->Companion:Lcom/discord/widgets/auth/WidgetAuthUndeleteAccount$Companion;
return-void
.end method
.method public constructor <init>()V
.locals 1
invoke-direct {p0}, Lcom/discord/app/AppFragment;-><init>()V
const v0, 0x7f0a0088
invoke-static {p0, v0}, Lkotterknife/b;->c(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
move-result-object v0
iput-object v0, p0, Lcom/discord/widgets/auth/WidgetAuthUndeleteAccount;->buttonDelete$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a0087
invoke-static {p0, v0}, Lkotterknife/b;->c(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
move-result-object v0
iput-object v0, p0, Lcom/discord/widgets/auth/WidgetAuthUndeleteAccount;->buttonCancel$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a0089
invoke-static {p0, v0}, Lkotterknife/b;->c(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
move-result-object v0
iput-object v0, p0, Lcom/discord/widgets/auth/WidgetAuthUndeleteAccount;->textTitle$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a0086
invoke-static {p0, v0}, Lkotterknife/b;->c(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
move-result-object v0
iput-object v0, p0, Lcom/discord/widgets/auth/WidgetAuthUndeleteAccount;->textBody$delegate:Lkotlin/properties/ReadOnlyProperty;
return-void
.end method
.method private final getButtonCancel()Landroid/widget/Button;
.locals 3
iget-object v0, p0, Lcom/discord/widgets/auth/WidgetAuthUndeleteAccount;->buttonCancel$delegate:Lkotlin/properties/ReadOnlyProperty;
sget-object v1, Lcom/discord/widgets/auth/WidgetAuthUndeleteAccount;->$$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/Button;
return-object v0
.end method
.method private final getButtonDelete()Landroid/widget/Button;
.locals 3
iget-object v0, p0, Lcom/discord/widgets/auth/WidgetAuthUndeleteAccount;->buttonDelete$delegate:Lkotlin/properties/ReadOnlyProperty;
sget-object v1, Lcom/discord/widgets/auth/WidgetAuthUndeleteAccount;->$$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/Button;
return-object v0
.end method
.method private final getTextBody()Landroid/widget/TextView;
.locals 3
iget-object v0, p0, Lcom/discord/widgets/auth/WidgetAuthUndeleteAccount;->textBody$delegate:Lkotlin/properties/ReadOnlyProperty;
sget-object v1, Lcom/discord/widgets/auth/WidgetAuthUndeleteAccount;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
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/TextView;
return-object v0
.end method
.method private final getTextTitle()Landroid/widget/TextView;
.locals 3
iget-object v0, p0, Lcom/discord/widgets/auth/WidgetAuthUndeleteAccount;->textTitle$delegate:Lkotlin/properties/ReadOnlyProperty;
sget-object v1, Lcom/discord/widgets/auth/WidgetAuthUndeleteAccount;->$$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/TextView;
return-object v0
.end method
# virtual methods
.method public final getContentViewResId()I
.locals 1
const v0, 0x7f0d009b
return v0
.end method
.method public final onViewBound(Landroid/view/View;)V
.locals 2
const-string v0, "view"
invoke-static {p1, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
invoke-super {p0, p1}, Lcom/discord/app/AppFragment;->onViewBound(Landroid/view/View;)V
move-object p1, p0
check-cast p1, Landroidx/fragment/app/Fragment;
const v0, 0x7f04003d
invoke-static {p1, v0}, Lcom/discord/utilities/color/ColorCompat;->getThemedColor(Landroidx/fragment/app/Fragment;I)I
move-result v0
const/4 v1, 0x1
invoke-static {p1, v0, v1}, Lcom/discord/utilities/color/ColorCompat;->setStatusBarColor(Landroidx/fragment/app/Fragment;IZ)V
const/4 p1, 0x0
const/4 v0, 0x0
const/4 v1, 0x3
invoke-static {p0, v0, p1, v1, p1}, Lcom/discord/app/AppFragment;->setActionBarDisplayHomeAsUpEnabled$default(Lcom/discord/app/AppFragment;ZLjava/lang/Integer;ILjava/lang/Object;)Landroidx/appcompat/widget/Toolbar;
return-void
.end method
.method public final onViewBoundOrOnResume()V
.locals 3
invoke-super {p0}, Lcom/discord/app/AppFragment;->onViewBoundOrOnResume()V
invoke-virtual {p0}, Lcom/discord/widgets/auth/WidgetAuthUndeleteAccount;->getMostRecentIntent()Landroid/content/Intent;
move-result-object v0
const-string v1, "ARG_DISABLED_KEY"
const/4 v2, 0x0
invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z
move-result v0
if-eqz v0, :cond_0
invoke-direct {p0}, Lcom/discord/widgets/auth/WidgetAuthUndeleteAccount;->getTextTitle()Landroid/widget/TextView;
move-result-object v0
const v1, 0x7f120032
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V
invoke-direct {p0}, Lcom/discord/widgets/auth/WidgetAuthUndeleteAccount;->getTextBody()Landroid/widget/TextView;
move-result-object v0
const v1, 0x7f120031
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V
goto :goto_0
:cond_0
invoke-direct {p0}, Lcom/discord/widgets/auth/WidgetAuthUndeleteAccount;->getTextTitle()Landroid/widget/TextView;
move-result-object v0
const v1, 0x7f120039
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V
invoke-direct {p0}, Lcom/discord/widgets/auth/WidgetAuthUndeleteAccount;->getTextBody()Landroid/widget/TextView;
move-result-object v0
const v1, 0x7f120038
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V
:goto_0
invoke-direct {p0}, Lcom/discord/widgets/auth/WidgetAuthUndeleteAccount;->getButtonDelete()Landroid/widget/Button;
move-result-object v0
sget-object v1, Lcom/discord/widgets/auth/WidgetAuthUndeleteAccount$onViewBoundOrOnResume$1;->INSTANCE:Lcom/discord/widgets/auth/WidgetAuthUndeleteAccount$onViewBoundOrOnResume$1;
check-cast v1, Landroid/view/View$OnClickListener;
invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V
invoke-direct {p0}, Lcom/discord/widgets/auth/WidgetAuthUndeleteAccount;->getButtonCancel()Landroid/widget/Button;
move-result-object v0
new-instance v1, Lcom/discord/widgets/auth/WidgetAuthUndeleteAccount$onViewBoundOrOnResume$2;
invoke-direct {v1, p0}, Lcom/discord/widgets/auth/WidgetAuthUndeleteAccount$onViewBoundOrOnResume$2;-><init>(Lcom/discord/widgets/auth/WidgetAuthUndeleteAccount;)V
check-cast v1, Landroid/view/View$OnClickListener;
invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V
return-void
.end method