apkfuckery/com.discord/smali/com/discord/widgets/channels/WidgetChannelSidebarActions...

114 lines
3.5 KiB
Smali
Raw Normal View History

2020-05-17 12:40:10 +00:00
.class public final Lcom/discord/widgets/channels/WidgetChannelSidebarActionsViewModel$Factory$create$1;
.super Ljava/lang/Object;
.source "WidgetChannelSidebarActionsViewModel.kt"
# interfaces
2020-09-29 21:44:44 +00:00
.implements Lk0/k/b;
2020-05-17 12:40:10 +00:00
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/channels/WidgetChannelSidebarActionsViewModel$Factory;->create(Ljava/lang/Class;)Landroidx/lifecycle/ViewModel;
.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-09-29 21:44:44 +00:00
"Lk0/k/b<",
2020-09-16 23:45:23 +00:00
"Ljava/lang/Boolean;",
2020-05-17 12:40:10 +00:00
"Lrx/Observable<",
2020-09-16 23:45:23 +00:00
"+",
"Lcom/discord/widgets/channels/WidgetChannelSidebarActionsViewModel$StoreState;",
">;>;"
2020-05-17 12:40:10 +00:00
}
.end annotation
# instance fields
.field public final synthetic this$0:Lcom/discord/widgets/channels/WidgetChannelSidebarActionsViewModel$Factory;
# direct methods
.method public constructor <init>(Lcom/discord/widgets/channels/WidgetChannelSidebarActionsViewModel$Factory;)V
.locals 0
iput-object p1, p0, Lcom/discord/widgets/channels/WidgetChannelSidebarActionsViewModel$Factory$create$1;->this$0:Lcom/discord/widgets/channels/WidgetChannelSidebarActionsViewModel$Factory;
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, Ljava/lang/Boolean;
invoke-virtual {p0, p1}, Lcom/discord/widgets/channels/WidgetChannelSidebarActionsViewModel$Factory$create$1;->call(Ljava/lang/Boolean;)Lrx/Observable;
move-result-object p1
return-object p1
.end method
.method public final call(Ljava/lang/Boolean;)Lrx/Observable;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Boolean;",
")",
"Lrx/Observable<",
2020-09-16 23:45:23 +00:00
"+",
2020-05-17 12:40:10 +00:00
"Lcom/discord/widgets/channels/WidgetChannelSidebarActionsViewModel$StoreState;",
">;"
}
.end annotation
const-string v0, "isOpen"
2020-09-29 21:44:44 +00:00
invoke-static {p1, v0}, Lb0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
2020-05-17 12:40:10 +00:00
invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z
move-result p1
if-eqz p1, :cond_0
iget-object p1, p0, Lcom/discord/widgets/channels/WidgetChannelSidebarActionsViewModel$Factory$create$1;->this$0:Lcom/discord/widgets/channels/WidgetChannelSidebarActionsViewModel$Factory;
invoke-static {p1}, Lcom/discord/widgets/channels/WidgetChannelSidebarActionsViewModel$Factory;->access$observeStoreState(Lcom/discord/widgets/channels/WidgetChannelSidebarActionsViewModel$Factory;)Lrx/Observable;
move-result-object p1
goto :goto_0
:cond_0
iget-object p1, p0, Lcom/discord/widgets/channels/WidgetChannelSidebarActionsViewModel$Factory$create$1;->this$0:Lcom/discord/widgets/channels/WidgetChannelSidebarActionsViewModel$Factory;
invoke-static {p1}, Lcom/discord/widgets/channels/WidgetChannelSidebarActionsViewModel$Factory;->access$observeStoreState(Lcom/discord/widgets/channels/WidgetChannelSidebarActionsViewModel$Factory;)Lrx/Observable;
move-result-object p1
const/4 v0, 0x1
2020-10-03 03:03:24 +00:00
invoke-virtual {p1, v0}, Lrx/Observable;->W(I)Lrx/Observable;
2020-05-17 12:40:10 +00:00
move-result-object p1
:goto_0
return-object p1
.end method