.class public final Lcom/discord/widgets/servers/WidgetServerNotifications$Model$Companion; .super Ljava/lang/Object; .source "WidgetServerNotifications.kt" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lcom/discord/widgets/servers/WidgetServerNotifications$Model; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x19 name = "Companion" .end annotation # direct methods .method private constructor ()V .locals 0 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method .method public synthetic constructor (Lkotlin/jvm/internal/DefaultConstructorMarker;)V .locals 0 invoke-direct {p0}, Lcom/discord/widgets/servers/WidgetServerNotifications$Model$Companion;->()V return-void .end method # virtual methods .method public final get(J)Lrx/Observable; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(J)", "Lrx/Observable<", "Lcom/discord/widgets/servers/WidgetServerNotifications$Model;", ">;" } .end annotation invoke-static {}, Lcom/discord/stores/StoreStream;->getGuilds()Lcom/discord/stores/StoreGuilds; move-result-object v0 invoke-virtual {v0, p1, p2}, Lcom/discord/stores/StoreGuilds;->get(J)Lrx/Observable; move-result-object v0 invoke-static {}, Lcom/discord/stores/StoreStream;->getUserGuildSettings()Lcom/discord/stores/StoreUserGuildSettings; move-result-object v1 invoke-virtual {v1, p1, p2}, Lcom/discord/stores/StoreUserGuildSettings;->get(J)Lrx/Observable; move-result-object p1 sget-object p2, Lcom/discord/widgets/servers/WidgetServerNotifications$Model$Companion$get$1;->INSTANCE:Lcom/discord/widgets/servers/WidgetServerNotifications$Model$Companion$get$1; check-cast p2, Lrx/functions/Func2; invoke-static {v0, p1, p2}, Lrx/Observable;->a(Lrx/Observable;Lrx/Observable;Lrx/functions/Func2;)Lrx/Observable; move-result-object p1 const-string p2, "Observable\n .co\u2026 else null\n }" invoke-static {p1, p2}, Lkotlin/jvm/internal/j;->g(Ljava/lang/Object;Ljava/lang/String;)V invoke-static {p1}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->computationBuffered(Lrx/Observable;)Lrx/Observable; move-result-object p1 invoke-virtual {p1}, Lrx/Observable;->DD()Lrx/Observable; move-result-object p1 const-string p2, "Observable\n .co\u2026 .distinctUntilChanged()" invoke-static {p1, p2}, Lkotlin/jvm/internal/j;->g(Ljava/lang/Object;Ljava/lang/String;)V return-object p1 .end method .method public final isValid(Lcom/discord/models/domain/ModelGuild;Lcom/discord/models/domain/ModelUserGuildSettings;)Z .locals 0 if-eqz p1, :cond_0 if-eqz p2, :cond_0 const/4 p1, 0x1 return p1 :cond_0 const/4 p1, 0x0 return p1 .end method