2019-07-24 11:27:29 +00:00
|
|
|
.class public final Lcom/discord/widgets/settings/WidgetSettings$Model$Companion;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "WidgetSettings.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
|
|
value = Lcom/discord/widgets/settings/WidgetSettings$Model;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x19
|
|
|
|
name = "Companion"
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method private 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/settings/WidgetSettings$Model$Companion;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public final get()Lrx/Observable;
|
2019-08-22 23:43:07 +00:00
|
|
|
.locals 4
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"()",
|
|
|
|
"Lrx/Observable<",
|
|
|
|
"Lcom/discord/widgets/settings/WidgetSettings$Model;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
sget-object v0, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/discord/stores/StoreStream$Companion;->getUsers()Lcom/discord/stores/StoreUser;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Lcom/discord/stores/StoreUser;->getMe(Z)Lrx/Observable;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
sget-object v1, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Lcom/discord/stores/StoreStream$Companion;->getExperiments()Lcom/discord/stores/StoreExperiments;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2019-08-22 23:43:07 +00:00
|
|
|
invoke-virtual {v1}, Lcom/discord/stores/StoreExperiments;->getExperimentalAlpha()Lrx/Observable;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
sget-object v2, Lcom/discord/widgets/settings/WidgetSettings$Model$Companion$get$1;->INSTANCE:Lcom/discord/widgets/settings/WidgetSettings$Model$Companion$get$1;
|
|
|
|
|
2019-08-22 23:43:07 +00:00
|
|
|
check-cast v2, Lkotlin/jvm/functions/Function2;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-22 23:43:07 +00:00
|
|
|
if-eqz v2, :cond_0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-22 23:43:07 +00:00
|
|
|
new-instance v3, Lcom/discord/widgets/settings/WidgetSettings$sam$rx_functions_Func2$0;
|
|
|
|
|
|
|
|
invoke-direct {v3, v2}, Lcom/discord/widgets/settings/WidgetSettings$sam$rx_functions_Func2$0;-><init>(Lkotlin/jvm/functions/Function2;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-22 23:43:07 +00:00
|
|
|
move-object v2, v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-22 23:43:07 +00:00
|
|
|
:cond_0
|
2019-07-24 11:27:29 +00:00
|
|
|
check-cast v2, Lrx/functions/Func2;
|
|
|
|
|
|
|
|
invoke-static {v0, v1, v2}, Lrx/Observable;->a(Lrx/Observable;Lrx/Observable;Lrx/functions/Func2;)Lrx/Observable;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-08-22 23:43:07 +00:00
|
|
|
const-string v1, "Observable\n .\u2026\n ::Model)"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {v0, v1}, Lkotlin/jvm/internal/k;->g(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|