2020-11-12 02:11:44 +00:00
|
|
|
.class public final Lcom/discord/widgets/chat/list/PublishActionDialog$Companion;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "PublishActionDialog.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
|
|
value = Lcom/discord/widgets/chat/list/PublishActionDialog;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x19
|
|
|
|
name = "Companion"
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2020-11-13 19:18:44 +00:00
|
|
|
.method private constructor <init>()V
|
2020-11-12 02:11:44 +00:00
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/chat/list/PublishActionDialog$Companion;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static synthetic show$default(Lcom/discord/widgets/chat/list/PublishActionDialog$Companion;Landroidx/fragment/app/FragmentManager;JJLkotlin/jvm/functions/Function0;Ljava/lang/Integer;ILjava/lang/Object;)V
|
|
|
|
.locals 9
|
|
|
|
|
|
|
|
and-int/lit8 v0, p8, 0x10
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
move-object v8, v0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
move-object/from16 v8, p7
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
move-object v1, p0
|
|
|
|
|
|
|
|
move-object v2, p1
|
|
|
|
|
|
|
|
move-wide v3, p2
|
|
|
|
|
|
|
|
move-wide v5, p4
|
|
|
|
|
|
|
|
move-object v7, p6
|
|
|
|
|
|
|
|
invoke-virtual/range {v1 .. v8}, Lcom/discord/widgets/chat/list/PublishActionDialog$Companion;->show(Landroidx/fragment/app/FragmentManager;JJLkotlin/jvm/functions/Function0;Ljava/lang/Integer;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public final show(Landroidx/fragment/app/FragmentManager;JJLkotlin/jvm/functions/Function0;Ljava/lang/Integer;)V
|
|
|
|
.locals 2
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Landroidx/fragment/app/FragmentManager;",
|
|
|
|
"JJ",
|
|
|
|
"Lkotlin/jvm/functions/Function0<",
|
|
|
|
"Lkotlin/Unit;",
|
|
|
|
">;",
|
|
|
|
"Ljava/lang/Integer;",
|
|
|
|
")V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
const-string v0, "fragmentManager"
|
|
|
|
|
2020-11-13 19:18:44 +00:00
|
|
|
invoke-static {p1, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
new-instance v0, Lcom/discord/widgets/chat/list/PublishActionDialog;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Lcom/discord/widgets/chat/list/PublishActionDialog;-><init>()V
|
|
|
|
|
|
|
|
if-eqz p6, :cond_0
|
|
|
|
|
|
|
|
invoke-static {v0, p6}, Lcom/discord/widgets/chat/list/PublishActionDialog;->access$setOnSuccess$p(Lcom/discord/widgets/chat/list/PublishActionDialog;Lkotlin/jvm/functions/Function0;)V
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
new-instance p6, Landroid/os/Bundle;
|
|
|
|
|
|
|
|
invoke-direct {p6}, Landroid/os/Bundle;-><init>()V
|
|
|
|
|
|
|
|
const-string v1, "com.discord.intent.extra.EXTRA_MESSAGE_ID"
|
|
|
|
|
|
|
|
invoke-virtual {p6, v1, p2, p3}, Landroid/os/Bundle;->putLong(Ljava/lang/String;J)V
|
|
|
|
|
|
|
|
const-string p2, "com.discord.intent.extra.EXTRA_CHANNEL_ID"
|
|
|
|
|
|
|
|
invoke-virtual {p6, p2, p4, p5}, Landroid/os/Bundle;->putLong(Ljava/lang/String;J)V
|
|
|
|
|
|
|
|
if-eqz p7, :cond_1
|
|
|
|
|
|
|
|
invoke-virtual {p7}, Ljava/lang/Number;->intValue()I
|
|
|
|
|
|
|
|
move-result p2
|
|
|
|
|
|
|
|
const-string/jumbo p3, "theme_id"
|
|
|
|
|
|
|
|
invoke-virtual {p6, p3, p2}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
invoke-virtual {v0, p6}, Landroidx/fragment/app/Fragment;->setArguments(Landroid/os/Bundle;)V
|
|
|
|
|
|
|
|
const-class p2, Lcom/discord/widgets/chat/list/PublishActionDialog;
|
|
|
|
|
|
|
|
invoke-virtual {p2}, Ljava/lang/Class;->getName()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
invoke-virtual {v0, p1, p2}, Lcom/discord/app/AppDialog;->show(Landroidx/fragment/app/FragmentManager;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|