70 lines
1.6 KiB
Smali
70 lines
1.6 KiB
Smali
.class public final Lcom/discord/widgets/guilds/join/WidgetGuildJoin$Companion;
|
|
.super Ljava/lang/Object;
|
|
.source "WidgetGuildJoin.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/discord/widgets/guilds/join/WidgetGuildJoin;
|
|
.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/join/WidgetGuildJoin$Companion;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final show(Landroid/content/Context;Ljava/lang/String;)V
|
|
.locals 2
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
const-string v1, "Join Guild"
|
|
|
|
invoke-static {v1, p2}, Lcom/discord/utilities/analytics/AnalyticsTracker;->openModal(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
const-class p2, Lcom/discord/widgets/guilds/join/WidgetGuildJoin$ToolbarButton;
|
|
|
|
const/4 v1, 0x4
|
|
|
|
invoke-static {p1, p2, v0, v1}, Le/a/b/i;->a(Landroid/content/Context;Ljava/lang/Class;Landroid/content/Intent;I)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string p1, "location"
|
|
|
|
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_1
|
|
const-string p1, "context"
|
|
|
|
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|