.class public final Lcom/discord/stores/StoreNux; .super Lcom/discord/stores/Store; .source "StoreNux.kt" # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Lcom/discord/stores/StoreNux$NuxState; } .end annotation # instance fields .field private final nuxStateSubject:Lrx/subjects/BehaviorSubject; .annotation system Ldalvik/annotation/Signature; value = { "Lrx/subjects/BehaviorSubject<", "Lcom/discord/stores/StoreNux$NuxState;", ">;" } .end annotation .end field .field private final stream:Lcom/discord/stores/StoreStream; # direct methods .method public constructor (Lcom/discord/stores/StoreStream;)V .locals 7 const-string v0, "stream" invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V invoke-direct {p0}, Lcom/discord/stores/Store;->()V iput-object p1, p0, Lcom/discord/stores/StoreNux;->stream:Lcom/discord/stores/StoreStream; new-instance p1, Lcom/discord/stores/StoreNux$NuxState; const/4 v2, 0x0 const/4 v3, 0x0 const/4 v4, 0x0 const/4 v5, 0x7 const/4 v6, 0x0 move-object v1, p1 invoke-direct/range {v1 .. v6}, Lcom/discord/stores/StoreNux$NuxState;->(ZZZILkotlin/jvm/internal/DefaultConstructorMarker;)V invoke-static {p1}, Lrx/subjects/BehaviorSubject;->bT(Ljava/lang/Object;)Lrx/subjects/BehaviorSubject; move-result-object p1 iput-object p1, p0, Lcom/discord/stores/StoreNux;->nuxStateSubject:Lrx/subjects/BehaviorSubject; return-void .end method .method public static final synthetic access$getNuxStateSubject$p(Lcom/discord/stores/StoreNux;)Lrx/subjects/BehaviorSubject; .locals 0 iget-object p0, p0, Lcom/discord/stores/StoreNux;->nuxStateSubject:Lrx/subjects/BehaviorSubject; return-object p0 .end method .method public static final synthetic access$getStream$p(Lcom/discord/stores/StoreNux;)Lcom/discord/stores/StoreStream; .locals 0 iget-object p0, p0, Lcom/discord/stores/StoreNux;->stream:Lcom/discord/stores/StoreStream; return-object p0 .end method # virtual methods .method public final getNuxState()Lrx/Observable; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "()", "Lrx/Observable<", "Lcom/discord/stores/StoreNux$NuxState;", ">;" } .end annotation iget-object v0, p0, Lcom/discord/stores/StoreNux;->nuxStateSubject:Lrx/subjects/BehaviorSubject; invoke-virtual {v0}, Lrx/subjects/BehaviorSubject;->Kc()Lrx/Observable; move-result-object v0 const-string v1, "nuxStateSubject.distinctUntilChanged()" invoke-static {v0, v1}, Lkotlin/jvm/internal/k;->g(Ljava/lang/Object;Ljava/lang/String;)V return-object v0 .end method .method public final init(Landroid/content/Context;)V .locals 10 const-string v0, "context" invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V invoke-super {p0, p1}, Lcom/discord/stores/Store;->init(Landroid/content/Context;)V iget-object p1, p0, Lcom/discord/stores/StoreNux;->stream:Lcom/discord/stores/StoreStream; invoke-virtual {p1}, Lcom/discord/stores/StoreStream;->getUserSettings$app_productionDiscordExternalRelease()Lcom/discord/stores/StoreUserSettings; move-result-object p1 invoke-virtual {p1}, Lcom/discord/stores/StoreUserSettings;->getMobileOverlay()Z move-result p1 if-nez p1, :cond_0 sget-object p1, Lcom/discord/samsung/a;->zP:Lcom/discord/samsung/a; invoke-static {}, Lcom/discord/samsung/a;->ep()Lrx/Observable; move-result-object p1 invoke-virtual {p1}, Lrx/Observable;->Kh()Lrx/Observable; move-result-object p1 sget-object v0, Lcom/discord/stores/StoreNux$init$1;->INSTANCE:Lcom/discord/stores/StoreNux$init$1; check-cast v0, Lrx/functions/b; invoke-virtual {p1, v0}, Lrx/Observable;->b(Lrx/functions/b;)Lrx/Observable; move-result-object p1 new-instance v0, Lcom/discord/stores/StoreNux$init$2; invoke-direct {v0, p0}, Lcom/discord/stores/StoreNux$init$2;->(Lcom/discord/stores/StoreNux;)V check-cast v0, Lrx/functions/b; invoke-virtual {p1, v0}, Lrx/Observable;->c(Lrx/functions/b;)Lrx/Observable; move-result-object p1 const-string v0, "SamsungConnect\n \u2026 .take(1)\n }" invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->g(Ljava/lang/Object;Ljava/lang/String;)V invoke-static {p1}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->computationLatest(Lrx/Observable;)Lrx/Observable; move-result-object v1 invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class; move-result-object v2 const/4 v3, 0x0 const/4 v4, 0x0 const/4 v5, 0x0 const/4 v6, 0x0 sget-object p1, Lcom/discord/stores/StoreNux$init$3;->INSTANCE:Lcom/discord/stores/StoreNux$init$3; move-object v7, p1 check-cast v7, Lkotlin/jvm/functions/Function1; const/16 v8, 0x1e const/4 v9, 0x0 invoke-static/range {v1 .. v9}, 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 :cond_0 return-void .end method .method public final setFirstOpen(Z)V .locals 1 new-instance v0, Lcom/discord/stores/StoreNux$setFirstOpen$1; invoke-direct {v0, p1}, Lcom/discord/stores/StoreNux$setFirstOpen$1;->(Z)V check-cast v0, Lkotlin/jvm/functions/Function1; invoke-virtual {p0, v0}, Lcom/discord/stores/StoreNux;->updateNux(Lkotlin/jvm/functions/Function1;)V return-void .end method .method public final setPostRegisterJoin(Z)V .locals 1 new-instance v0, Lcom/discord/stores/StoreNux$setPostRegisterJoin$1; invoke-direct {v0, p1}, Lcom/discord/stores/StoreNux$setPostRegisterJoin$1;->(Z)V check-cast v0, Lkotlin/jvm/functions/Function1; invoke-virtual {p0, v0}, Lcom/discord/stores/StoreNux;->updateNux(Lkotlin/jvm/functions/Function1;)V return-void .end method .method public final updateNux(Lkotlin/jvm/functions/Function1;)V .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lkotlin/jvm/functions/Function1<", "-", "Lcom/discord/stores/StoreNux$NuxState;", "Lcom/discord/stores/StoreNux$NuxState;", ">;)V" } .end annotation const-string v0, "updateFunction" invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V iget-object v0, p0, Lcom/discord/stores/StoreNux;->stream:Lcom/discord/stores/StoreStream; new-instance v1, Lcom/discord/stores/StoreNux$updateNux$1; invoke-direct {v1, p0, p1}, Lcom/discord/stores/StoreNux$updateNux$1;->(Lcom/discord/stores/StoreNux;Lkotlin/jvm/functions/Function1;)V check-cast v1, Lkotlin/jvm/functions/Function0; invoke-virtual {v0, v1}, Lcom/discord/stores/StoreStream;->schedule(Lkotlin/jvm/functions/Function0;)V return-void .end method