apkfuckery/com.discord/smali/com/discord/widgets/user/WidgetUserProfileStrip$Model$Companion.smali
2019-02-27 22:13:14 +01:00

98 lines
2.8 KiB
Smali

.class public final Lcom/discord/widgets/user/WidgetUserProfileStrip$Model$Companion;
.super Ljava/lang/Object;
.source "WidgetUserProfileStrip.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/discord/widgets/user/WidgetUserProfileStrip$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/user/WidgetUserProfileStrip$Model$Companion;-><init>()V
return-void
.end method
# virtual methods
.method public final get()Lrx/Observable;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lrx/Observable<",
"Lcom/discord/widgets/user/WidgetUserProfileStrip$Model;",
">;"
}
.end annotation
invoke-static {}, Lcom/discord/stores/StoreStream;->getPresences()Lcom/discord/stores/StoreUserPresence;
move-result-object v0
invoke-virtual {v0}, Lcom/discord/stores/StoreUserPresence;->getLocalPresence()Lrx/Observable;
move-result-object v0
invoke-static {}, Lcom/discord/stores/StoreStream;->getUsers()Lcom/discord/stores/StoreUser;
move-result-object v1
const/4 v2, 0x1
invoke-virtual {v1, v2}, Lcom/discord/stores/StoreUser;->getMe(Z)Lrx/Observable;
move-result-object v1
invoke-static {}, Lcom/discord/stores/StoreStream;->getConnectivity()Lcom/discord/stores/StoreConnectivity;
move-result-object v2
const-string v3, "StoreStream\n .getConnectivity()"
invoke-static {v2, v3}, Lkotlin/jvm/internal/j;->g(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {v2}, Lcom/discord/stores/StoreConnectivity;->getState()Lrx/Observable;
move-result-object v2
sget-object v3, Lcom/discord/widgets/user/WidgetUserProfileStrip$Model$Companion$get$1;->INSTANCE:Lcom/discord/widgets/user/WidgetUserProfileStrip$Model$Companion$get$1;
check-cast v3, Lrx/functions/Func3;
invoke-static {v0, v1, v2, v3}, Lrx/Observable;->a(Lrx/Observable;Lrx/Observable;Lrx/Observable;Lrx/functions/Func3;)Lrx/Observable;
move-result-object v0
invoke-static {}, Lcom/discord/app/g;->dx()Lrx/Observable$Transformer;
move-result-object v1
invoke-virtual {v0, v1}, Lrx/Observable;->a(Lrx/Observable$Transformer;)Lrx/Observable;
move-result-object v0
const-string v1, "Observable.combineLatest\u2026onDistinctUntilChanged())"
invoke-static {v0, v1}, Lkotlin/jvm/internal/j;->g(Ljava/lang/Object;Ljava/lang/String;)V
return-object v0
.end method