2020-11-12 02:11:44 +00:00
|
|
|
.class public final Lcom/discord/widgets/chat/input/AppFlexInputViewModel$FlexInputViewModelFactory$observeStores$1;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "AppFlexInputViewModel.kt"
|
|
|
|
|
|
|
|
# interfaces
|
2020-11-16 22:05:17 +00:00
|
|
|
.implements Lh0/k/b;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
|
|
value = Lcom/discord/widgets/chat/input/AppFlexInputViewModel$FlexInputViewModelFactory;->observeStores()Lrx/Observable;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x19
|
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
"R:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">",
|
|
|
|
"Ljava/lang/Object;",
|
2020-11-16 22:05:17 +00:00
|
|
|
"Lh0/k/b<",
|
2020-11-12 02:11:44 +00:00
|
|
|
"Lcom/discord/models/domain/ModelChannel;",
|
|
|
|
"Lrx/Observable<",
|
|
|
|
"+",
|
|
|
|
"Lcom/discord/widgets/chat/input/AppFlexInputViewModel$StoreState;",
|
|
|
|
">;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# static fields
|
|
|
|
.field public static final INSTANCE:Lcom/discord/widgets/chat/input/AppFlexInputViewModel$FlexInputViewModelFactory$observeStores$1;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public static constructor <clinit>()V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
new-instance v0, Lcom/discord/widgets/chat/input/AppFlexInputViewModel$FlexInputViewModelFactory$observeStores$1;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Lcom/discord/widgets/chat/input/AppFlexInputViewModel$FlexInputViewModelFactory$observeStores$1;-><init>()V
|
|
|
|
|
|
|
|
sput-object v0, Lcom/discord/widgets/chat/input/AppFlexInputViewModel$FlexInputViewModelFactory$observeStores$1;->INSTANCE:Lcom/discord/widgets/chat/input/AppFlexInputViewModel$FlexInputViewModelFactory$observeStores$1;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public constructor <init>()V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public bridge synthetic call(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
check-cast p1, Lcom/discord/models/domain/ModelChannel;
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Lcom/discord/widgets/chat/input/AppFlexInputViewModel$FlexInputViewModelFactory$observeStores$1;->call(Lcom/discord/models/domain/ModelChannel;)Lrx/Observable;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final call(Lcom/discord/models/domain/ModelChannel;)Lrx/Observable;
|
2020-11-16 22:05:17 +00:00
|
|
|
.locals 6
|
2020-11-12 02:11:44 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Lcom/discord/models/domain/ModelChannel;",
|
|
|
|
")",
|
|
|
|
"Lrx/Observable<",
|
|
|
|
"+",
|
|
|
|
"Lcom/discord/widgets/chat/input/AppFlexInputViewModel$StoreState;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
sget-object v0, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/discord/stores/StoreStream$Companion;->getNavigation()Lcom/discord/stores/StoreNavigation;
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
move-result-object v1
|
2020-11-14 02:19:59 +00:00
|
|
|
|
2020-11-16 22:05:17 +00:00
|
|
|
invoke-virtual {v1}, Lcom/discord/stores/StoreNavigation;->observeLeftPanelState()Lrx/Observable;
|
2020-11-13 19:18:44 +00:00
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
move-result-object v1
|
2020-11-14 03:19:56 +00:00
|
|
|
|
2020-11-16 22:05:17 +00:00
|
|
|
invoke-virtual {v0}, Lcom/discord/stores/StoreStream$Companion;->getNavigation()Lcom/discord/stores/StoreNavigation;
|
|
|
|
|
|
|
|
move-result-object v2
|
2020-11-16 01:00:50 +00:00
|
|
|
|
2020-11-16 22:05:17 +00:00
|
|
|
invoke-virtual {v2}, Lcom/discord/stores/StoreNavigation;->observeRightPanelState()Lrx/Observable;
|
2020-11-16 01:00:50 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
2020-11-14 03:19:56 +00:00
|
|
|
|
2020-11-16 22:05:17 +00:00
|
|
|
invoke-virtual {v0}, Lcom/discord/stores/StoreStream$Companion;->getPermissions()Lcom/discord/stores/StorePermissions;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
2020-11-12 02:11:44 +00:00
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/discord/models/domain/ModelChannel;->getId()J
|
|
|
|
|
2020-11-16 22:05:17 +00:00
|
|
|
move-result-wide v4
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
2020-11-16 22:05:17 +00:00
|
|
|
const-wide/16 v4, 0x0
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
:goto_0
|
2020-11-16 22:05:17 +00:00
|
|
|
invoke-virtual {v3, v4, v5}, Lcom/discord/stores/StorePermissions;->getForChannel(J)Lrx/Observable;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-16 22:05:17 +00:00
|
|
|
move-result-object v3
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-16 22:05:17 +00:00
|
|
|
invoke-virtual {v0}, Lcom/discord/stores/StoreStream$Companion;->getNotices()Lcom/discord/stores/StoreNotices;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-16 22:05:17 +00:00
|
|
|
move-result-object v0
|
2020-11-14 02:19:59 +00:00
|
|
|
|
2020-11-16 22:05:17 +00:00
|
|
|
invoke-virtual {v0}, Lcom/discord/stores/StoreNotices;->getNotices()Lrx/Observable;
|
2020-11-16 01:00:50 +00:00
|
|
|
|
2020-11-16 22:05:17 +00:00
|
|
|
move-result-object v0
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
new-instance v4, Lcom/discord/widgets/chat/input/AppFlexInputViewModel$FlexInputViewModelFactory$observeStores$1$1;
|
|
|
|
|
|
|
|
invoke-direct {v4, p1}, Lcom/discord/widgets/chat/input/AppFlexInputViewModel$FlexInputViewModelFactory$observeStores$1$1;-><init>(Lcom/discord/models/domain/ModelChannel;)V
|
|
|
|
|
2020-11-16 22:05:17 +00:00
|
|
|
invoke-static {v1, v2, v3, v0, v4}, Lrx/Observable;->h(Lrx/Observable;Lrx/Observable;Lrx/Observable;Lrx/Observable;Lrx/functions/Func4;)Lrx/Observable;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|