2019-07-24 11:27:29 +00:00
|
|
|
.class public final Lcom/discord/widgets/guilds/actions/WidgetGuildActionsAdd$Companion;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "WidgetGuildActionsAdd.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
|
|
value = Lcom/discord/widgets/guilds/actions/WidgetGuildActionsAdd;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x19
|
|
|
|
name = "Companion"
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public constructor <init>()V
|
2019-07-24 11:27:29 +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/guilds/actions/WidgetGuildActionsAdd$Companion;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2020-02-06 22:18:40 +00:00
|
|
|
.method public final show(Landroidx/fragment/app/FragmentManager;Lcom/discord/app/AppComponent;)V
|
|
|
|
.locals 12
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
const/4 v0, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
if-eqz p1, :cond_1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-02-06 22:18:40 +00:00
|
|
|
if-eqz p2, :cond_0
|
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
sget-object v1, Lcom/discord/utilities/analytics/AnalyticsTracker;->INSTANCE:Lcom/discord/utilities/analytics/AnalyticsTracker;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
const-string v2, "Create Guild"
|
2019-08-16 21:39:58 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
const-string v3, "Guild List"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
invoke-virtual {v1, v2, v3}, Lcom/discord/utilities/analytics/AnalyticsTracker;->openModal(Ljava/lang/String;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
sget-object v1, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
invoke-virtual {v1}, Lcom/discord/stores/StoreStream$Companion;->getExperiments()Lcom/discord/stores/StoreExperiments;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
move-result-object v1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
const/4 v2, 0x2
|
|
|
|
|
|
|
|
const-string v3, "2020-01_create_or_join_edu"
|
|
|
|
|
2020-02-06 22:18:40 +00:00
|
|
|
invoke-static {v1, v3, v0, v2, v0}, Lcom/discord/stores/StoreExperiments;->getExperiment$default(Lcom/discord/stores/StoreExperiments;Ljava/lang/String;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)Lrx/Observable;
|
2020-01-28 00:59:01 +00:00
|
|
|
|
2020-02-06 22:18:40 +00:00
|
|
|
move-result-object v4
|
2020-01-28 00:59:01 +00:00
|
|
|
|
2020-02-06 22:18:40 +00:00
|
|
|
const-wide/16 v5, 0x0
|
2020-01-28 00:59:01 +00:00
|
|
|
|
2020-02-06 22:18:40 +00:00
|
|
|
const/4 v7, 0x0
|
2020-01-28 00:59:01 +00:00
|
|
|
|
2020-02-06 22:18:40 +00:00
|
|
|
const/4 v8, 0x3
|
2020-01-28 00:59:01 +00:00
|
|
|
|
2020-02-06 22:18:40 +00:00
|
|
|
const/4 v9, 0x0
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-02-06 22:18:40 +00:00
|
|
|
invoke-static/range {v4 .. v9}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->takeSingleUntilTimeout$default(Lrx/Observable;JZILjava/lang/Object;)Lrx/Observable;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-static {v1, p2, v0, v2, v0}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->ui$default(Lrx/Observable;Lcom/discord/app/AppComponent;Lcom/discord/utilities/mg_recycler/MGRecyclerAdapterSimple;ILjava/lang/Object;)Lrx/Observable;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
const-class v4, Lcom/discord/widgets/guilds/actions/WidgetGuildActionsAdd;
|
2020-01-28 00:59:01 +00:00
|
|
|
|
2020-02-06 22:18:40 +00:00
|
|
|
const/4 v5, 0x0
|
2020-01-28 00:59:01 +00:00
|
|
|
|
2020-02-06 22:18:40 +00:00
|
|
|
const/4 v6, 0x0
|
2020-01-28 00:59:01 +00:00
|
|
|
|
2020-02-06 22:18:40 +00:00
|
|
|
const/4 v7, 0x0
|
2020-01-28 00:59:01 +00:00
|
|
|
|
2020-02-06 22:18:40 +00:00
|
|
|
const/4 v8, 0x0
|
2020-01-28 00:59:01 +00:00
|
|
|
|
2020-02-06 22:18:40 +00:00
|
|
|
new-instance v9, Lcom/discord/widgets/guilds/actions/WidgetGuildActionsAdd$Companion$show$1;
|
2020-01-28 00:59:01 +00:00
|
|
|
|
2020-02-06 22:18:40 +00:00
|
|
|
invoke-direct {v9, p1}, Lcom/discord/widgets/guilds/actions/WidgetGuildActionsAdd$Companion$show$1;-><init>(Landroidx/fragment/app/FragmentManager;)V
|
2020-01-28 00:59:01 +00:00
|
|
|
|
2020-02-06 22:18:40 +00:00
|
|
|
const/16 v10, 0x1e
|
2020-01-28 00:59:01 +00:00
|
|
|
|
2020-02-06 22:18:40 +00:00
|
|
|
const/4 v11, 0x0
|
2020-01-28 00:59:01 +00:00
|
|
|
|
2020-02-06 22:18:40 +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
|
2020-01-28 00:59:01 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
|
2020-02-06 22:18:40 +00:00
|
|
|
:cond_0
|
|
|
|
const-string p1, "appComponent"
|
|
|
|
|
|
|
|
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
:cond_1
|
2019-12-06 03:29:40 +00:00
|
|
|
const-string p1, "fragmentManager"
|
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
throw v0
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|