120 lines
3.2 KiB
Smali
120 lines
3.2 KiB
Smali
.class public final Lcom/discord/widgets/guilds/profile/WidgetGuildProfileSheet$Companion;
|
|
.super Ljava/lang/Object;
|
|
.source "WidgetGuildProfileSheet.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/discord/widgets/guilds/profile/WidgetGuildProfileSheet;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "Companion"
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.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/guilds/profile/WidgetGuildProfileSheet$Companion;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic show$default(Lcom/discord/widgets/guilds/profile/WidgetGuildProfileSheet$Companion;JLjava/lang/Long;Landroidx/fragment/app/FragmentManager;ILjava/lang/Object;)V
|
|
.locals 0
|
|
|
|
and-int/lit8 p5, p5, 0x2
|
|
|
|
if-eqz p5, :cond_0
|
|
|
|
const/4 p3, 0x0
|
|
|
|
:cond_0
|
|
invoke-virtual {p0, p1, p2, p3, p4}, Lcom/discord/widgets/guilds/profile/WidgetGuildProfileSheet$Companion;->show(JLjava/lang/Long;Landroidx/fragment/app/FragmentManager;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final show(JLandroidx/fragment/app/FragmentManager;)V
|
|
.locals 7
|
|
|
|
const/4 v3, 0x0
|
|
|
|
const/4 v5, 0x2
|
|
|
|
const/4 v6, 0x0
|
|
|
|
move-object v0, p0
|
|
|
|
move-wide v1, p1
|
|
|
|
move-object v4, p3
|
|
|
|
invoke-static/range {v0 .. v6}, Lcom/discord/widgets/guilds/profile/WidgetGuildProfileSheet$Companion;->show$default(Lcom/discord/widgets/guilds/profile/WidgetGuildProfileSheet$Companion;JLjava/lang/Long;Landroidx/fragment/app/FragmentManager;ILjava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final show(JLjava/lang/Long;Landroidx/fragment/app/FragmentManager;)V
|
|
.locals 3
|
|
|
|
if-eqz p4, :cond_1
|
|
|
|
new-instance v0, Lcom/discord/widgets/guilds/profile/WidgetGuildProfileSheet;
|
|
|
|
invoke-direct {v0}, Lcom/discord/widgets/guilds/profile/WidgetGuildProfileSheet;-><init>()V
|
|
|
|
new-instance v1, Landroid/os/Bundle;
|
|
|
|
invoke-direct {v1}, Landroid/os/Bundle;-><init>()V
|
|
|
|
const-string v2, "com.discord.intent.extra.EXTRA_GUILD_ID"
|
|
|
|
invoke-virtual {v1, v2, p1, p2}, Landroid/os/Bundle;->putLong(Ljava/lang/String;J)V
|
|
|
|
if-eqz p3, :cond_0
|
|
|
|
invoke-virtual {p3}, Ljava/lang/Number;->longValue()J
|
|
|
|
move-result-wide p1
|
|
|
|
const-string p3, "com.discord.intent.extra.EXTRA_CHANNEL_ID"
|
|
|
|
invoke-virtual {v1, p3, p1, p2}, Landroid/os/Bundle;->putLong(Ljava/lang/String;J)V
|
|
|
|
:cond_0
|
|
invoke-virtual {v0, v1}, Landroidx/fragment/app/Fragment;->setArguments(Landroid/os/Bundle;)V
|
|
|
|
const-class p1, Lcom/discord/widgets/guilds/profile/WidgetGuildProfileSheet;
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Class;->getName()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {v0, p4, p1}, Lcom/discord/app/AppBottomSheet;->show(Landroidx/fragment/app/FragmentManager;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
|
|
:cond_1
|
|
const-string p1, "fragmentManager"
|
|
|
|
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
.end method
|