2020-02-24 20:20:24 +00:00
|
|
|
.class public Lcom/discord/widgets/guilds/create/WidgetGuildCreate;
|
2019-07-24 11:27:29 +00:00
|
|
|
.super Lcom/discord/app/AppFragment;
|
2020-01-07 02:40:43 +00:00
|
|
|
.source "WidgetGuildCreate.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
|
|
value = {
|
|
|
|
Lcom/discord/widgets/guilds/create/WidgetGuildCreate$Companion;
|
|
|
|
}
|
|
|
|
.end annotation
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
# static fields
|
2020-01-07 02:40:43 +00:00
|
|
|
.field public static final synthetic $$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
|
|
|
|
.field public static final Companion:Lcom/discord/widgets/guilds/create/WidgetGuildCreate$Companion;
|
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
.field public static final EXTRA_TEMPLATE:Ljava/lang/String; = "com.discord.intent.extra.EXTRA_TEMPLATE"
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public static final GUIDELINES_URL:Ljava/lang/String; = "https://discordapp.com/guidelines"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2020-01-07 02:40:43 +00:00
|
|
|
.field public currentImageUri:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
.field public final guidelinesTextView$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
.field public final guildCreateButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
2020-03-20 20:22:03 +00:00
|
|
|
.field public final guildCreateIconUploader$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-20 20:22:03 +00:00
|
|
|
.field public final iconUploaderImage$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-20 20:22:03 +00:00
|
|
|
.field public final iconUploaderPlaceholderGroup$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
.field public final serverNameView$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
.field public viewModel:Lcom/discord/widgets/guilds/create/WidgetGuildCreateViewModel;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2020-01-07 02:40:43 +00:00
|
|
|
.method public static constructor <clinit>()V
|
|
|
|
.locals 6
|
|
|
|
|
2020-03-20 20:22:03 +00:00
|
|
|
const/4 v0, 0x6
|
2020-01-07 02:40:43 +00:00
|
|
|
|
|
|
|
new-array v0, v0, [Lkotlin/reflect/KProperty;
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
new-instance v1, Ly/u/b/u;
|
2020-01-07 02:40:43 +00:00
|
|
|
|
|
|
|
const-class v2, Lcom/discord/widgets/guilds/create/WidgetGuildCreate;
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v2}, Ly/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
|
2020-01-07 02:40:43 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
const-string v3, "guildCreateButton"
|
2020-01-07 02:40:43 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
const-string v4, "getGuildCreateButton()Lcom/discord/views/LoadingButton;"
|
2020-01-07 02:40:43 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-direct {v1, v2, v3, v4}, Ly/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2020-01-07 02:40:43 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sget-object v2, Ly/u/b/w;->a:Ly/u/b/x;
|
2020-01-07 02:40:43 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {v2, v1}, Ly/u/b/x;->property1(Ly/u/b/t;)Ly/y/d;
|
2020-01-07 02:40:43 +00:00
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
new-instance v2, Ly/u/b/u;
|
2020-01-07 02:40:43 +00:00
|
|
|
|
|
|
|
const-class v3, Lcom/discord/widgets/guilds/create/WidgetGuildCreate;
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v3}, Ly/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
|
2020-01-07 02:40:43 +00:00
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
const-string v4, "serverNameView"
|
|
|
|
|
|
|
|
const-string v5, "getServerNameView()Landroid/widget/EditText;"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Ly/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2020-01-07 02:40:43 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sget-object v3, Ly/u/b/w;->a:Ly/u/b/x;
|
2020-01-07 02:40:43 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {v3, v2}, Ly/u/b/x;->property1(Ly/u/b/t;)Ly/y/d;
|
2020-01-07 02:40:43 +00:00
|
|
|
|
|
|
|
aput-object v2, v0, v1
|
|
|
|
|
|
|
|
const/4 v1, 0x2
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
new-instance v2, Ly/u/b/u;
|
2020-01-07 02:40:43 +00:00
|
|
|
|
|
|
|
const-class v3, Lcom/discord/widgets/guilds/create/WidgetGuildCreate;
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v3}, Ly/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
|
2020-01-07 02:40:43 +00:00
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
2020-03-20 20:22:03 +00:00
|
|
|
const-string v4, "iconUploaderImage"
|
2020-01-07 02:40:43 +00:00
|
|
|
|
2020-03-20 20:22:03 +00:00
|
|
|
const-string v5, "getIconUploaderImage()Landroid/widget/ImageView;"
|
2020-01-07 02:40:43 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Ly/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2020-01-07 02:40:43 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sget-object v3, Ly/u/b/w;->a:Ly/u/b/x;
|
2020-01-07 02:40:43 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {v3, v2}, Ly/u/b/x;->property1(Ly/u/b/t;)Ly/y/d;
|
2020-01-07 02:40:43 +00:00
|
|
|
|
|
|
|
aput-object v2, v0, v1
|
|
|
|
|
|
|
|
const/4 v1, 0x3
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
new-instance v2, Ly/u/b/u;
|
2020-01-07 02:40:43 +00:00
|
|
|
|
|
|
|
const-class v3, Lcom/discord/widgets/guilds/create/WidgetGuildCreate;
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v3}, Ly/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
|
2020-01-07 02:40:43 +00:00
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
2020-03-20 20:22:03 +00:00
|
|
|
const-string v4, "iconUploaderPlaceholderGroup"
|
2020-01-07 02:40:43 +00:00
|
|
|
|
2020-03-20 20:22:03 +00:00
|
|
|
const-string v5, "getIconUploaderPlaceholderGroup()Landroidx/constraintlayout/widget/Group;"
|
2020-01-07 02:40:43 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Ly/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2020-01-07 02:40:43 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sget-object v3, Ly/u/b/w;->a:Ly/u/b/x;
|
2020-01-07 02:40:43 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {v3, v2}, Ly/u/b/x;->property1(Ly/u/b/t;)Ly/y/d;
|
2020-01-07 02:40:43 +00:00
|
|
|
|
|
|
|
aput-object v2, v0, v1
|
|
|
|
|
|
|
|
const/4 v1, 0x4
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
new-instance v2, Ly/u/b/u;
|
2020-01-07 02:40:43 +00:00
|
|
|
|
|
|
|
const-class v3, Lcom/discord/widgets/guilds/create/WidgetGuildCreate;
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v3}, Ly/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
|
2020-01-07 02:40:43 +00:00
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
2020-03-20 20:22:03 +00:00
|
|
|
const-string v4, "guildCreateIconUploader"
|
2020-01-07 02:40:43 +00:00
|
|
|
|
2020-03-20 20:22:03 +00:00
|
|
|
const-string v5, "getGuildCreateIconUploader()Landroid/view/View;"
|
2020-01-07 02:40:43 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Ly/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2020-01-07 02:40:43 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sget-object v3, Ly/u/b/w;->a:Ly/u/b/x;
|
2020-01-07 02:40:43 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {v3, v2}, Ly/u/b/x;->property1(Ly/u/b/t;)Ly/y/d;
|
2020-01-07 02:40:43 +00:00
|
|
|
|
|
|
|
aput-object v2, v0, v1
|
|
|
|
|
|
|
|
const/4 v1, 0x5
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
new-instance v2, Ly/u/b/u;
|
2020-01-07 02:40:43 +00:00
|
|
|
|
|
|
|
const-class v3, Lcom/discord/widgets/guilds/create/WidgetGuildCreate;
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v3}, Ly/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
|
2020-01-07 02:40:43 +00:00
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
const-string v4, "guidelinesTextView"
|
|
|
|
|
|
|
|
const-string v5, "getGuidelinesTextView()Landroid/widget/TextView;"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Ly/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sget-object v3, Ly/u/b/w;->a:Ly/u/b/x;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {v3, v2}, Ly/u/b/x;->property1(Ly/u/b/t;)Ly/y/d;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
aput-object v2, v0, v1
|
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
sput-object v0, Lcom/discord/widgets/guilds/create/WidgetGuildCreate;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
|
|
|
|
new-instance v0, Lcom/discord/widgets/guilds/create/WidgetGuildCreate$Companion;
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Lcom/discord/widgets/guilds/create/WidgetGuildCreate$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
|
|
|
|
sput-object v0, Lcom/discord/widgets/guilds/create/WidgetGuildCreate;->Companion:Lcom/discord/widgets/guilds/create/WidgetGuildCreate$Companion;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2019-07-24 11:27:29 +00:00
|
|
|
.method public constructor <init>()V
|
2020-01-07 02:40:43 +00:00
|
|
|
.locals 1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/app/AppFragment;-><init>()V
|
|
|
|
|
2020-03-31 00:13:51 +00:00
|
|
|
const v0, 0x7f0a0398
|
2020-01-07 02:40:43 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0, v0}, Lz/a/a2/w;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
|
2020-01-07 02:40:43 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
iput-object v0, p0, Lcom/discord/widgets/guilds/create/WidgetGuildCreate;->guildCreateButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2020-01-07 02:40:43 +00:00
|
|
|
|
2020-03-31 00:13:51 +00:00
|
|
|
const v0, 0x7f0a039c
|
2020-01-07 02:40:43 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0, v0}, Lz/a/a2/w;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
|
2020-01-07 02:40:43 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/guilds/create/WidgetGuildCreate;->serverNameView$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
2020-03-31 00:13:51 +00:00
|
|
|
const v0, 0x7f0a0431
|
2020-01-07 02:40:43 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0, v0}, Lz/a/a2/w;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
|
2020-01-07 02:40:43 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-03-20 20:22:03 +00:00
|
|
|
iput-object v0, p0, Lcom/discord/widgets/guilds/create/WidgetGuildCreate;->iconUploaderImage$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2020-01-07 02:40:43 +00:00
|
|
|
|
2020-03-31 00:13:51 +00:00
|
|
|
const v0, 0x7f0a0433
|
2020-01-07 02:40:43 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0, v0}, Lz/a/a2/w;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
|
2020-01-07 02:40:43 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-03-20 20:22:03 +00:00
|
|
|
iput-object v0, p0, Lcom/discord/widgets/guilds/create/WidgetGuildCreate;->iconUploaderPlaceholderGroup$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2020-01-07 02:40:43 +00:00
|
|
|
|
2020-03-31 00:13:51 +00:00
|
|
|
const v0, 0x7f0a039b
|
2020-01-07 02:40:43 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0, v0}, Lz/a/a2/w;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
|
2020-01-07 02:40:43 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-03-20 20:22:03 +00:00
|
|
|
iput-object v0, p0, Lcom/discord/widgets/guilds/create/WidgetGuildCreate;->guildCreateIconUploader$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2020-01-07 02:40:43 +00:00
|
|
|
|
2020-03-31 00:13:51 +00:00
|
|
|
const v0, 0x7f0a039a
|
2020-01-07 02:40:43 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0, v0}, Lz/a/a2/w;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
|
2020-01-07 02:40:43 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/guilds/create/WidgetGuildCreate;->guidelinesTextView$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
.method public static final synthetic access$getServerNameView$p(Lcom/discord/widgets/guilds/create/WidgetGuildCreate;)Landroid/widget/EditText;
|
|
|
|
.locals 0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/guilds/create/WidgetGuildCreate;->getServerNameView()Landroid/widget/EditText;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
move-result-object p0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
return-object p0
|
|
|
|
.end method
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
.method public static final synthetic access$getViewModel$p(Lcom/discord/widgets/guilds/create/WidgetGuildCreate;)Lcom/discord/widgets/guilds/create/WidgetGuildCreateViewModel;
|
|
|
|
.locals 0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
iget-object p0, p0, Lcom/discord/widgets/guilds/create/WidgetGuildCreate;->viewModel:Lcom/discord/widgets/guilds/create/WidgetGuildCreateViewModel;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
if-eqz p0, :cond_0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
return-object p0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
:cond_0
|
|
|
|
const-string p0, "viewModel"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
const/4 p0, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
throw p0
|
|
|
|
.end method
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
.method public static final synthetic access$handleEvent(Lcom/discord/widgets/guilds/create/WidgetGuildCreate;Lcom/discord/widgets/guilds/create/WidgetGuildCreateViewModel$Event;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0, p1}, Lcom/discord/widgets/guilds/create/WidgetGuildCreate;->handleEvent(Lcom/discord/widgets/guilds/create/WidgetGuildCreateViewModel$Event;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final synthetic access$setViewModel$p(Lcom/discord/widgets/guilds/create/WidgetGuildCreate;Lcom/discord/widgets/guilds/create/WidgetGuildCreateViewModel;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/guilds/create/WidgetGuildCreate;->viewModel:Lcom/discord/widgets/guilds/create/WidgetGuildCreateViewModel;
|
|
|
|
|
|
|
|
return-void
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
.method private final getCommunityGuidelinesText()Ljava/lang/CharSequence;
|
|
|
|
.locals 9
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
const/4 v0, 0x1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
const/4 v1, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
const-string v2, "https://discordapp.com/guidelines"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
aput-object v2, v0, v1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-31 00:13:51 +00:00
|
|
|
const v1, 0x7f1204b1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
invoke-virtual {p0, v1, v0}, Landroidx/fragment/app/Fragment;->getString(I[Ljava/lang/Object;)Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
move-result-object v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
const-string v0, "getString(R.string.creat\u2026idelines, GUIDELINES_URL)"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v3, v0}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
move-result-object v2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
const-string v0, "requireContext()"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v2, v0}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
const/4 v4, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
const/4 v5, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
const/4 v6, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
const/16 v7, 0x1c
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
const/4 v8, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-16 23:08:34 +00:00
|
|
|
invoke-static/range {v2 .. v8}, Lcom/discord/utilities/textprocessing/Parsers;->parseMaskedLinks$default(Landroid/content/Context;Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function3;Lkotlin/jvm/functions/Function1;Ljava/lang/Integer;ILjava/lang/Object;)Ljava/lang/CharSequence;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
return-object v0
|
|
|
|
.end method
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
.method private final getGuidelinesTextView()Landroid/widget/TextView;
|
2020-01-07 02:40:43 +00:00
|
|
|
.locals 3
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/guilds/create/WidgetGuildCreate;->guidelinesTextView$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2020-01-07 02:40:43 +00:00
|
|
|
|
|
|
|
sget-object v1, Lcom/discord/widgets/guilds/create/WidgetGuildCreate;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
const/4 v2, 0x5
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
aget-object v1, v1, v2
|
|
|
|
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
check-cast v0, Landroid/widget/TextView;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
return-object v0
|
|
|
|
.end method
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
.method private final getGuildCreateButton()Lcom/discord/views/LoadingButton;
|
2020-01-07 02:40:43 +00:00
|
|
|
.locals 3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/guilds/create/WidgetGuildCreate;->guildCreateButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
sget-object v1, Lcom/discord/widgets/guilds/create/WidgetGuildCreate;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
const/4 v2, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
aget-object v1, v1, v2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
check-cast v0, Lcom/discord/views/LoadingButton;
|
2020-01-07 02:40:43 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-20 20:22:03 +00:00
|
|
|
.method private final getGuildCreateIconUploader()Landroid/view/View;
|
2020-01-07 02:40:43 +00:00
|
|
|
.locals 3
|
|
|
|
|
2020-03-20 20:22:03 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/guilds/create/WidgetGuildCreate;->guildCreateIconUploader$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
sget-object v1, Lcom/discord/widgets/guilds/create/WidgetGuildCreate;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
const/4 v2, 0x4
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
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/view/View;
|
|
|
|
|
|
|
|
return-object v0
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|
|
|
|
|
2020-03-20 20:22:03 +00:00
|
|
|
.method private final getIconUploaderImage()Landroid/widget/ImageView;
|
2020-01-07 02:40:43 +00:00
|
|
|
.locals 3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-20 20:22:03 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/guilds/create/WidgetGuildCreate;->iconUploaderImage$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2020-01-07 02:40:43 +00:00
|
|
|
|
|
|
|
sget-object v1, Lcom/discord/widgets/guilds/create/WidgetGuildCreate;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
|
2020-03-20 20:22:03 +00:00
|
|
|
const/4 v2, 0x2
|
2020-01-07 02:40:43 +00:00
|
|
|
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
check-cast v0, Landroid/widget/ImageView;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
return-object v0
|
|
|
|
.end method
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-20 20:22:03 +00:00
|
|
|
.method private final getIconUploaderPlaceholderGroup()Landroidx/constraintlayout/widget/Group;
|
2020-02-20 19:33:18 +00:00
|
|
|
.locals 3
|
|
|
|
|
2020-03-20 20:22:03 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/guilds/create/WidgetGuildCreate;->iconUploaderPlaceholderGroup$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
sget-object v1, Lcom/discord/widgets/guilds/create/WidgetGuildCreate;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
|
2020-03-20 20:22:03 +00:00
|
|
|
const/4 v2, 0x3
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2020-03-20 20:22:03 +00:00
|
|
|
check-cast v0, Landroidx/constraintlayout/widget/Group;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
.method private final getServerNameView()Landroid/widget/EditText;
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/guilds/create/WidgetGuildCreate;->serverNameView$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
sget-object v1, Lcom/discord/widgets/guilds/create/WidgetGuildCreate;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
|
|
|
|
const/4 v2, 0x1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
aget-object v1, v1, v2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
2019-10-09 23:16:36 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
check-cast v0, Landroid/widget/EditText;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final handleEvent(Lcom/discord/widgets/guilds/create/WidgetGuildCreateViewModel$Event;)V
|
|
|
|
.locals 4
|
|
|
|
|
|
|
|
instance-of v0, p1, Lcom/discord/widgets/guilds/create/WidgetGuildCreateViewModel$Event$ShowToast;
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
check-cast p1, Lcom/discord/widgets/guilds/create/WidgetGuildCreateViewModel$Event$ShowToast;
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/guilds/create/WidgetGuildCreateViewModel$Event$ShowToast;->getStringResId()I
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
const/4 v1, 0x4
|
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
invoke-static {p0, p1, v0, v1}, Le/a/b/k;->a(Landroidx/fragment/app/Fragment;III)V
|
2020-01-07 02:40:43 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
2019-10-09 23:16:36 +00:00
|
|
|
|
|
|
|
:cond_0
|
2020-01-07 02:40:43 +00:00
|
|
|
sget-object v0, Lcom/discord/widgets/guilds/create/WidgetGuildCreateViewModel$Event$LaunchInviteShareScreen;->INSTANCE:Lcom/discord/widgets/guilds/create/WidgetGuildCreateViewModel$Event$LaunchInviteShareScreen;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p1, v0}, Ly/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
2020-01-07 02:40:43 +00:00
|
|
|
|
|
|
|
move-result p1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
if-eqz p1, :cond_1
|
|
|
|
|
|
|
|
sget-object p1, Lcom/discord/widgets/guilds/invite/WidgetGuildInviteShare;->Companion:Lcom/discord/widgets/guilds/invite/WidgetGuildInviteShare$Companion;
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
const-string v1, "requireContext()"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v0, v1}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-01-07 02:40:43 +00:00
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
const-string v3, "Guild Create"
|
|
|
|
|
|
|
|
invoke-virtual {p1, v0, v1, v2, v3}, Lcom/discord/widgets/guilds/invite/WidgetGuildInviteShare$Companion;->launch(Landroid/content/Context;ZLjava/lang/Long;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->requireActivity()Landroidx/fragment/app/FragmentActivity;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Landroid/app/Activity;->finish()V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
:cond_1
|
|
|
|
:goto_0
|
2019-07-24 11:27:29 +00:00
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
|
|
|
|
# virtual methods
|
2020-02-24 20:20:24 +00:00
|
|
|
.method public configureUI(Lcom/discord/widgets/guilds/create/WidgetGuildCreateViewModel$ViewState;)V
|
|
|
|
.locals 11
|
|
|
|
|
|
|
|
if-eqz p1, :cond_6
|
|
|
|
|
|
|
|
sget-object v0, Lcom/discord/widgets/guilds/create/WidgetGuildCreateViewModel$ViewState$Uninitialized;->INSTANCE:Lcom/discord/widgets/guilds/create/WidgetGuildCreateViewModel$ViewState$Uninitialized;
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p1, v0}, Ly/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
2020-02-24 20:20:24 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
instance-of v0, p1, Lcom/discord/widgets/guilds/create/WidgetGuildCreateViewModel$ViewState$Initialized;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_5
|
|
|
|
|
|
|
|
check-cast p1, Lcom/discord/widgets/guilds/create/WidgetGuildCreateViewModel$ViewState$Initialized;
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/guilds/create/WidgetGuildCreateViewModel$ViewState$Initialized;->getGuildNameText()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/guilds/create/WidgetGuildCreate;->getServerNameView()Landroid/widget/EditText;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v0, v1}, Ly/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
2020-02-24 20:20:24 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
xor-int/2addr v0, v1
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/guilds/create/WidgetGuildCreate;->getServerNameView()Landroid/widget/EditText;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/guilds/create/WidgetGuildCreateViewModel$ViewState$Initialized;->getGuildNameText()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
invoke-virtual {v0, v2}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/guilds/create/WidgetGuildCreate;->currentImageUri:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/guilds/create/WidgetGuildCreateViewModel$ViewState$Initialized;->getGuildIconUri()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v0, v2}, Ly/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
2020-02-24 20:20:24 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
xor-int/2addr v0, v1
|
|
|
|
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
|
2020-03-20 20:22:03 +00:00
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/guilds/create/WidgetGuildCreate;->getIconUploaderPlaceholderGroup()Landroidx/constraintlayout/widget/Group;
|
2020-02-24 20:20:24 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/guilds/create/WidgetGuildCreateViewModel$ViewState$Initialized;->getGuildIconUri()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
if-nez v2, :cond_2
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-eqz v1, :cond_3
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
const/16 v3, 0x8
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
invoke-virtual {v0, v3}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
|
2020-03-20 20:22:03 +00:00
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/guilds/create/WidgetGuildCreate;->getIconUploaderImage()Landroid/widget/ImageView;
|
2020-02-24 20:20:24 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/guilds/create/WidgetGuildCreateViewModel$ViewState$Initialized;->getGuildIconUri()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
2020-03-20 20:22:03 +00:00
|
|
|
const v6, 0x7f07005e
|
2020-02-24 20:20:24 +00:00
|
|
|
|
|
|
|
const/4 v7, 0x0
|
|
|
|
|
|
|
|
const/4 v8, 0x0
|
|
|
|
|
|
|
|
const/16 v9, 0x18
|
|
|
|
|
|
|
|
const/4 v10, 0x0
|
|
|
|
|
|
|
|
invoke-static/range {v4 .. v10}, Lcom/discord/utilities/icon/IconUtils;->setIcon$default(Landroid/widget/ImageView;Ljava/lang/String;ILkotlin/jvm/functions/Function1;Lcom/discord/utilities/images/MGImages$ChangeDetector;ILjava/lang/Object;)V
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/guilds/create/WidgetGuildCreateViewModel$ViewState$Initialized;->getGuildIconUri()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/guilds/create/WidgetGuildCreate;->currentImageUri:Ljava/lang/String;
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/guilds/create/WidgetGuildCreate;->getGuildCreateButton()Lcom/discord/views/LoadingButton;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/guilds/create/WidgetGuildCreateViewModel$ViewState$Initialized;->isBusy()Z
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Lcom/discord/views/LoadingButton;->setIsLoading(Z)V
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
:goto_2
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_6
|
|
|
|
const-string p1, "viewState"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2020-02-24 20:20:24 +00:00
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public createViewModelFactory()Lcom/discord/widgets/guilds/create/WidgetGuildCreateViewModel$Factory;
|
2020-03-03 02:12:30 +00:00
|
|
|
.locals 5
|
2020-02-24 20:20:24 +00:00
|
|
|
|
2020-03-31 00:13:51 +00:00
|
|
|
const v0, 0x7f1204ad
|
2020-02-24 20:20:24 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
const-string v1, "getString(R.string.creat\u2026fault_server_name_format)"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v0, v1}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-02-24 20:20:24 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
invoke-virtual {p0}, Lcom/discord/app/AppFragment;->getMostRecentIntent()Landroid/content/Intent;
|
2020-03-01 08:10:35 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
const-string v2, "com.discord.intent.extra.EXTRA_SOURCE"
|
|
|
|
|
|
|
|
invoke-virtual {v1, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string v1, ""
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
invoke-virtual {p0}, Lcom/discord/app/AppFragment;->getMostRecentIntent()Landroid/content/Intent;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
const-string v3, "com.discord.intent.extra.EXTRA_TEMPLATE"
|
|
|
|
|
|
|
|
invoke-virtual {v2, v3}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
instance-of v3, v2, Lcom/discord/widgets/guilds/create/StockGuildTemplate;
|
|
|
|
|
|
|
|
const/4 v4, 0x0
|
|
|
|
|
|
|
|
if-nez v3, :cond_1
|
|
|
|
|
|
|
|
move-object v2, v4
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
check-cast v2, Lcom/discord/widgets/guilds/create/StockGuildTemplate;
|
|
|
|
|
|
|
|
new-instance v3, Lcom/discord/widgets/guilds/create/WidgetGuildCreateViewModel$Factory;
|
2020-02-24 20:20:24 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
invoke-direct {v3, v0, v2, v4, v1}, Lcom/discord/widgets/guilds/create/WidgetGuildCreateViewModel$Factory;-><init>(Ljava/lang/String;Lcom/discord/widgets/guilds/create/StockGuildTemplate;Ljava/lang/String;Ljava/lang/String;)V
|
2020-02-24 20:20:24 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
return-object v3
|
2020-02-24 20:20:24 +00:00
|
|
|
.end method
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public getContentViewResId()I
|
|
|
|
.locals 1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
const v0, 0x7f0d019f
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
return v0
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
.method public onImageChosen(Landroid/net/Uri;Ljava/lang/String;)V
|
|
|
|
.locals 7
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
const/4 v0, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
if-eqz p1, :cond_1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
if-eqz p2, :cond_0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
invoke-super {p0, p1, p2}, Lcom/discord/app/AppFragment;->onImageChosen(Landroid/net/Uri;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->requireFragmentManager()Landroidx/fragment/app/FragmentManager;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
move-result-object v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
const-string v0, "requireFragmentManager()"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v3, v0}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
new-instance v5, Lcom/discord/widgets/guilds/create/WidgetGuildCreate$onImageChosen$1;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
invoke-direct {v5, p0}, Lcom/discord/widgets/guilds/create/WidgetGuildCreate$onImageChosen$1;-><init>(Lcom/discord/widgets/guilds/create/WidgetGuildCreate;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-02-27 22:30:35 +00:00
|
|
|
sget-object v6, Lcom/discord/dialogs/ImageUploadDialog$PreviewType;->GUILD_AVATAR:Lcom/discord/dialogs/ImageUploadDialog$PreviewType;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
move-object v1, p1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
move-object v2, p2
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
move-object v4, p0
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
invoke-static/range {v1 .. v6}, Lcom/discord/utilities/images/MGImages;->prepareImageUpload(Landroid/net/Uri;Ljava/lang/String;Landroidx/fragment/app/FragmentManager;Lcom/miguelgaeta/media_picker/MediaPicker$Provider;Lrx/functions/Action1;Lcom/discord/dialogs/ImageUploadDialog$PreviewType;)V
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
return-void
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
:cond_0
|
|
|
|
const-string p1, "mimeType"
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
throw v0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
:cond_1
|
|
|
|
const-string p1, "uri"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2020-01-07 02:40:43 +00:00
|
|
|
|
|
|
|
throw v0
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public onImageCropped(Landroid/net/Uri;Ljava/lang/String;)V
|
|
|
|
.locals 2
|
2020-01-07 02:40:43 +00:00
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
|
|
|
|
if-eqz p2, :cond_0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-super {p0, p1, p2}, Lcom/discord/app/AppFragment;->onImageCropped(Landroid/net/Uri;Ljava/lang/String;)V
|
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
new-instance v1, Lcom/discord/widgets/guilds/create/WidgetGuildCreate$onImageCropped$1;
|
|
|
|
|
|
|
|
invoke-direct {v1, p0}, Lcom/discord/widgets/guilds/create/WidgetGuildCreate$onImageCropped$1;-><init>(Lcom/discord/widgets/guilds/create/WidgetGuildCreate;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {v0, p1, p2, v1}, Lcom/discord/utilities/images/MGImages;->requestDataUrl(Landroid/content/Context;Landroid/net/Uri;Ljava/lang/String;Lrx/functions/Action1;)V
|
|
|
|
|
|
|
|
return-void
|
2020-01-07 02:40:43 +00:00
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p1, "mimeType"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2020-01-07 02:40:43 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p1, "uri"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2020-01-07 02:40:43 +00:00
|
|
|
|
|
|
|
throw v0
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public onViewBound(Landroid/view/View;)V
|
2020-01-07 02:40:43 +00:00
|
|
|
.locals 1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-super {p0, p1}, Lcom/discord/app/AppFragment;->onViewBound(Landroid/view/View;)V
|
|
|
|
|
2020-03-20 20:22:03 +00:00
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/guilds/create/WidgetGuildCreate;->getGuildCreateIconUploader()Landroid/view/View;
|
2020-01-07 02:40:43 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
new-instance v0, Lcom/discord/widgets/guilds/create/WidgetGuildCreate$onViewBound$1;
|
|
|
|
|
|
|
|
invoke-direct {v0, p0}, Lcom/discord/widgets/guilds/create/WidgetGuildCreate$onViewBound$1;-><init>(Lcom/discord/widgets/guilds/create/WidgetGuildCreate;)V
|
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/guilds/create/WidgetGuildCreate;->getGuidelinesTextView()Landroid/widget/TextView;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/guilds/create/WidgetGuildCreate;->getCommunityGuidelinesText()Ljava/lang/CharSequence;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
invoke-virtual {p1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/guilds/create/WidgetGuildCreate;->getServerNameView()Landroid/widget/EditText;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
new-instance v0, Lcom/discord/widgets/guilds/create/WidgetGuildCreate$onViewBound$$inlined$addTextChangedListener$1;
|
|
|
|
|
|
|
|
invoke-direct {v0, p0}, Lcom/discord/widgets/guilds/create/WidgetGuildCreate$onViewBound$$inlined$addTextChangedListener$1;-><init>(Lcom/discord/widgets/guilds/create/WidgetGuildCreate;)V
|
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Landroid/widget/TextView;->addTextChangedListener(Landroid/text/TextWatcher;)V
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/guilds/create/WidgetGuildCreate;->getGuildCreateButton()Lcom/discord/views/LoadingButton;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
new-instance v0, Lcom/discord/widgets/guilds/create/WidgetGuildCreate$onViewBound$3;
|
|
|
|
|
|
|
|
invoke-direct {v0, p0}, Lcom/discord/widgets/guilds/create/WidgetGuildCreate$onViewBound$3;-><init>(Lcom/discord/widgets/guilds/create/WidgetGuildCreate;)V
|
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Landroid/widget/FrameLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p1, "view"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2020-01-07 02:40:43 +00:00
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public onViewBoundOrOnResume()V
|
|
|
|
.locals 12
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
invoke-super {p0}, Lcom/discord/app/AppFragment;->onViewBoundOrOnResume()V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-02-24 20:20:24 +00:00
|
|
|
invoke-virtual {p0}, Lcom/discord/widgets/guilds/create/WidgetGuildCreate;->createViewModelFactory()Lcom/discord/widgets/guilds/create/WidgetGuildCreateViewModel$Factory;
|
2020-01-07 02:40:43 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
move-result-object v0
|
2020-01-07 02:40:43 +00:00
|
|
|
|
2020-02-24 20:20:24 +00:00
|
|
|
invoke-static {p0, v0}, Landroidx/lifecycle/ViewModelProviders;->of(Landroidx/fragment/app/Fragment;Landroidx/lifecycle/ViewModelProvider$Factory;)Landroidx/lifecycle/ViewModelProvider;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
const-class v1, Lcom/discord/widgets/guilds/create/WidgetGuildCreateViewModel;
|
2020-01-07 02:40:43 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-virtual {v0, v1}, Landroidx/lifecycle/ViewModelProvider;->get(Ljava/lang/Class;)Landroidx/lifecycle/ViewModel;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
move-result-object v0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-02-24 20:20:24 +00:00
|
|
|
const-string v1, "ViewModelProviders.of(th\u2026ateViewModel::class.java)"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v0, v1}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
check-cast v0, Lcom/discord/widgets/guilds/create/WidgetGuildCreateViewModel;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
iput-object v0, p0, Lcom/discord/widgets/guilds/create/WidgetGuildCreate;->viewModel:Lcom/discord/widgets/guilds/create/WidgetGuildCreateViewModel;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/guilds/create/WidgetGuildCreate;->viewModel:Lcom/discord/widgets/guilds/create/WidgetGuildCreateViewModel;
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
const/4 v1, 0x0
|
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
const-string v2, "viewModel"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
invoke-virtual {v0}, Le/a/b/c0;->observeViewState()Lrx/Observable;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
invoke-static {v0, p0}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->bindToComponentLifecycle(Lrx/Observable;Lcom/discord/app/AppComponent;)Lrx/Observable;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
move-result-object v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-02-24 20:20:24 +00:00
|
|
|
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object v4
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
const/4 v5, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
const/4 v6, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
const/4 v7, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
const/4 v8, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
new-instance v9, Lcom/discord/widgets/guilds/create/WidgetGuildCreate$onViewBoundOrOnResume$1;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-direct {v9, p0}, Lcom/discord/widgets/guilds/create/WidgetGuildCreate$onViewBoundOrOnResume$1;-><init>(Lcom/discord/widgets/guilds/create/WidgetGuildCreate;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
const/16 v10, 0x1e
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
const/4 v11, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
invoke-static/range {v3 .. v11}, 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
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/guilds/create/WidgetGuildCreate;->viewModel:Lcom/discord/widgets/guilds/create/WidgetGuildCreateViewModel;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/discord/widgets/guilds/create/WidgetGuildCreateViewModel;->observeEvents()Lrx/Observable;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
invoke-static {v0, p0}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->bindToComponentLifecycle(Lrx/Observable;Lcom/discord/app/AppComponent;)Lrx/Observable;
|
|
|
|
|
|
|
|
move-result-object v1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-02-24 20:20:24 +00:00
|
|
|
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object v2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
const/4 v3, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
const/4 v4, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
const/4 v5, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
const/4 v6, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
new-instance v7, Lcom/discord/widgets/guilds/create/WidgetGuildCreate$onViewBoundOrOnResume$2;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-direct {v7, p0}, Lcom/discord/widgets/guilds/create/WidgetGuildCreate$onViewBoundOrOnResume$2;-><init>(Lcom/discord/widgets/guilds/create/WidgetGuildCreate;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
const/16 v8, 0x1e
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
const/4 v9, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
invoke-static/range {v1 .. v9}, 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
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v2}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-01-07 02:40:43 +00:00
|
|
|
|
|
|
|
throw v1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-02 21:43:52 +00:00
|
|
|
:cond_1
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v2}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-01-07 02:40:43 +00:00
|
|
|
|
|
|
|
throw v1
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|