107 lines
3.3 KiB
Smali
107 lines
3.3 KiB
Smali
.class final Lcom/discord/widgets/settings/nitro/WidgetSettingsGiftingViewModel$1;
|
|
.super Ljava/lang/Object;
|
|
.source "WidgetSettingsGiftingViewModel.kt"
|
|
|
|
# interfaces
|
|
.implements Lrx/functions/b;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/widgets/settings/nitro/WidgetSettingsGiftingViewModel;-><init>()V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x18
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
"R:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Ljava/lang/Object;",
|
|
"Lrx/functions/b<",
|
|
"TT;",
|
|
"Lrx/Observable<",
|
|
"+TR;>;>;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic this$0:Lcom/discord/widgets/settings/nitro/WidgetSettingsGiftingViewModel;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lcom/discord/widgets/settings/nitro/WidgetSettingsGiftingViewModel;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/settings/nitro/WidgetSettingsGiftingViewModel$1;->this$0:Lcom/discord/widgets/settings/nitro/WidgetSettingsGiftingViewModel;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final bridge synthetic call(Ljava/lang/Object;)Ljava/lang/Object;
|
|
.locals 0
|
|
|
|
check-cast p1, Ljava/lang/Long;
|
|
|
|
invoke-virtual {p0, p1}, Lcom/discord/widgets/settings/nitro/WidgetSettingsGiftingViewModel$1;->call(Ljava/lang/Long;)Lrx/Observable;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final call(Ljava/lang/Long;)Lrx/Observable;
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/Long;",
|
|
")",
|
|
"Lrx/Observable<",
|
|
"Lcom/discord/widgets/settings/nitro/WidgetSettingsGiftingViewModel$ViewState;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
sget-object p1, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
|
|
|
invoke-virtual {p1}, Lcom/discord/stores/StoreStream$Companion;->getEntitlements()Lcom/discord/stores/StoreEntitlements;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Lcom/discord/stores/StoreEntitlements;->getEntitlementState()Lrx/Observable;
|
|
|
|
move-result-object p1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/settings/nitro/WidgetSettingsGiftingViewModel$1;->this$0:Lcom/discord/widgets/settings/nitro/WidgetSettingsGiftingViewModel;
|
|
|
|
invoke-static {v0}, Lcom/discord/widgets/settings/nitro/WidgetSettingsGiftingViewModel;->access$getResolvingGiftStateSubject$p(Lcom/discord/widgets/settings/nitro/WidgetSettingsGiftingViewModel;)Lrx/subjects/BehaviorSubject;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Lrx/Observable;
|
|
|
|
new-instance v1, Lcom/discord/widgets/settings/nitro/WidgetSettingsGiftingViewModel$1$1;
|
|
|
|
invoke-direct {v1, p0}, Lcom/discord/widgets/settings/nitro/WidgetSettingsGiftingViewModel$1$1;-><init>(Lcom/discord/widgets/settings/nitro/WidgetSettingsGiftingViewModel$1;)V
|
|
|
|
check-cast v1, Lrx/functions/Func2;
|
|
|
|
invoke-static {p1, v0, v1}, Lrx/Observable;->a(Lrx/Observable;Lrx/Observable;Lrx/functions/Func2;)Lrx/Observable;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|