apkfuckery/com.discord/smali_classes2/com/discord/widgets/settings/WidgetSettingsPrivacy$Model...

128 lines
4.2 KiB
Smali

.class public final Lcom/discord/widgets/settings/WidgetSettingsPrivacy$Model$Companion;
.super Ljava/lang/Object;
.source "WidgetSettingsPrivacy.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/discord/widgets/settings/WidgetSettingsPrivacy$Model;
.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/settings/WidgetSettingsPrivacy$Model$Companion;-><init>()V
return-void
.end method
# virtual methods
.method public final get()Lrx/Observable;
.locals 6
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lrx/Observable<",
"Lcom/discord/widgets/settings/WidgetSettingsPrivacy$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
invoke-virtual {v0}, Lcom/discord/stores/StoreUser;->observeMe()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;->getUserSettings()Lcom/discord/stores/StoreUserSettings;
move-result-object v1
invoke-virtual {v1}, Lcom/discord/stores/StoreUserSettings;->getExplicitContentFilter()Lrx/Observable;
move-result-object v1
sget-object v2, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
invoke-virtual {v2}, Lcom/discord/stores/StoreStream$Companion;->getUserSettings()Lcom/discord/stores/StoreUserSettings;
move-result-object v2
invoke-virtual {v2}, Lcom/discord/stores/StoreUserSettings;->getDefaultGuildsRestricted()Lrx/Observable;
move-result-object v2
sget-object v3, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
invoke-virtual {v3}, Lcom/discord/stores/StoreStream$Companion;->getUserSettings()Lcom/discord/stores/StoreUserSettings;
move-result-object v3
invoke-virtual {v3}, Lcom/discord/stores/StoreUserSettings;->getFriendSourceFlags()Lrx/Observable;
move-result-object v3
sget-object v4, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$Model$Companion$get$1;->INSTANCE:Lcom/discord/widgets/settings/WidgetSettingsPrivacy$Model$Companion$get$1;
if-eqz v4, :cond_0
new-instance v5, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$sam$rx_functions_Func4$0;
invoke-direct {v5, v4}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$sam$rx_functions_Func4$0;-><init>(Lkotlin/jvm/functions/Function4;)V
move-object v4, v5
:cond_0
check-cast v4, Lrx/functions/Func4;
invoke-static {v0, v1, v2, v3, v4}, Lrx/Observable;->h(Lrx/Observable;Lrx/Observable;Lrx/Observable;Lrx/Observable;Lrx/functions/Func4;)Lrx/Observable;
move-result-object v0
sget-object v1, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$Model$Companion$get$2;->INSTANCE:Lcom/discord/widgets/settings/WidgetSettingsPrivacy$Model$Companion$get$2;
invoke-virtual {v0, v1}, Lrx/Observable;->U(Lt0/k/b;)Lrx/Observable;
move-result-object v0
const-string v1, "Observable\n .co\u2026 }\n }"
invoke-static {v0, v1}, Lk0/n/c/i;->checkNotNullExpressionValue(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;->q()Lrx/Observable;
move-result-object v0
const-string v1, "Observable\n .co\u2026 .distinctUntilChanged()"
invoke-static {v0, v1}, Lk0/n/c/i;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
return-object v0
.end method