112 lines
4.1 KiB
Smali
112 lines
4.1 KiB
Smali
.class public final Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$Factory$mapChannelToPrivateStoreState$1;
|
|
.super Ljava/lang/Object;
|
|
.source "WidgetChannelTopicViewModel.kt"
|
|
|
|
# interfaces
|
|
.implements Lr0/k/b;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$Factory;->mapChannelToPrivateStoreState(Lcom/discord/models/domain/ModelChannel;)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;",
|
|
"Lr0/k/b<",
|
|
"TT;TR;>;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic $channel:Lcom/discord/models/domain/ModelChannel;
|
|
|
|
.field public final synthetic this$0:Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$Factory;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$Factory;Lcom/discord/models/domain/ModelChannel;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$Factory$mapChannelToPrivateStoreState$1;->this$0:Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$Factory;
|
|
|
|
iput-object p2, p0, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$Factory$mapChannelToPrivateStoreState$1;->$channel:Lcom/discord/models/domain/ModelChannel;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final call(Ljava/util/Map;)Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$StoreState$DM;
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/Map<",
|
|
"Ljava/lang/Long;",
|
|
"+",
|
|
"Ljava/util/Map<",
|
|
"Ljava/lang/Long;",
|
|
"+",
|
|
"Lcom/discord/models/domain/ModelGuildMember$Computed;",
|
|
">;>;)",
|
|
"Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$StoreState$DM;"
|
|
}
|
|
.end annotation
|
|
|
|
new-instance v0, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$StoreState$DM;
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$Factory$mapChannelToPrivateStoreState$1;->$channel:Lcom/discord/models/domain/ModelChannel;
|
|
|
|
invoke-virtual {v1}, Lcom/discord/models/domain/ModelChannel;->getDMRecipient()Lcom/discord/models/domain/ModelUser;
|
|
|
|
move-result-object v2
|
|
|
|
const-string v3, "channel.dmRecipient"
|
|
|
|
invoke-static {v2, v3}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-interface {p1}, Ljava/util/Map;->values()Ljava/util/Collection;
|
|
|
|
move-result-object p1
|
|
|
|
iget-object v3, p0, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$Factory$mapChannelToPrivateStoreState$1;->this$0:Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$Factory;
|
|
|
|
invoke-static {v3}, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$Factory;->access$getStoreUserSettings$p(Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$Factory;)Lcom/discord/stores/StoreUserSettings;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual {v3}, Lcom/discord/stores/StoreUserSettings;->getDeveloperMode()Z
|
|
|
|
move-result v3
|
|
|
|
invoke-direct {v0, v1, v2, p1, v3}, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$StoreState$DM;-><init>(Lcom/discord/models/domain/ModelChannel;Lcom/discord/models/domain/ModelUser;Ljava/util/Collection;Z)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public bridge synthetic call(Ljava/lang/Object;)Ljava/lang/Object;
|
|
.locals 0
|
|
|
|
check-cast p1, Ljava/util/Map;
|
|
|
|
invoke-virtual {p0, p1}, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$Factory$mapChannelToPrivateStoreState$1;->call(Ljava/util/Map;)Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$StoreState$DM;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|