apkfuckery/com.discord/smali_classes2/WidgetFriendsAddUserRequestsModel$a.smali
2020-01-22 02:17:22 +01:00

109 lines
3.2 KiB
Smali

.class public final LWidgetFriendsAddUserRequestsModel$a;
.super Ljava/lang/Object;
.source "WidgetFriendsAddUserRequestsModel.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = LWidgetFriendsAddUserRequestsModel;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "a"
.end annotation
# direct methods
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final a()Lrx/Observable;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lrx/Observable<",
"LWidgetFriendsAddUserRequestsModel;",
">;"
}
.end annotation
sget-object v0, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
invoke-virtual {v0}, Lcom/discord/stores/StoreStream$Companion;->getUserRelationships()Lcom/discord/stores/StoreUserRelationships;
move-result-object v0
const/4 v1, 0x4
invoke-virtual {v0, v1}, Lcom/discord/stores/StoreUserRelationships;->getForType(I)Lrx/Observable;
move-result-object v0
sget-object v1, LWidgetFriendsAddUserRequestsModel$a$a;->e:LWidgetFriendsAddUserRequestsModel$a$a;
invoke-virtual {v0, v1}, Lrx/Observable;->f(Lb0/l/i;)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;->getUserRelationships()Lcom/discord/stores/StoreUserRelationships;
move-result-object v1
const/4 v2, 0x3
invoke-virtual {v1, v2}, Lcom/discord/stores/StoreUserRelationships;->getForType(I)Lrx/Observable;
move-result-object v1
sget-object v2, LWidgetFriendsAddUserRequestsModel$a$a;->f:LWidgetFriendsAddUserRequestsModel$a$a;
invoke-virtual {v1, v2}, Lrx/Observable;->f(Lb0/l/i;)Lrx/Observable;
move-result-object v1
sget-object v2, LWidgetFriendsAddUserRequestsModel$a$b;->d:LWidgetFriendsAddUserRequestsModel$a$b;
if-eqz v2, :cond_0
new-instance v3, Lo;
invoke-direct {v3, v2}, Lo;-><init>(Lkotlin/jvm/functions/Function2;)V
move-object v2, v3
:cond_0
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
const-string v1, "Observable\n .comb\u2026erRequestsModel\n )"
invoke-static {v0, v1}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {v0}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->computationLatest(Lrx/Observable;)Lrx/Observable;
move-result-object v0
invoke-virtual {v0}, Lrx/Observable;->a()Lrx/Observable;
move-result-object v0
const-string v1, "Observable\n .comb\u2026 .distinctUntilChanged()"
invoke-static {v0, v1}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
return-object v0
.end method