Changes of com.discord v1098
This commit is contained in:
parent
3487e82a5c
commit
57c4312899
94 changed files with 3253 additions and 2828 deletions
|
@ -1,14 +1,14 @@
|
|||
.class public final Lf/a/a/q$b;
|
||||
.super Ljava/lang/Object;
|
||||
.super Lz/u/b/k;
|
||||
.source "WidgetUrgentMessageDialog.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Landroid/view/View$OnClickListener;
|
||||
.implements Lkotlin/jvm/functions/Function1;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lf/a/a/q;->a(Lf/a/a/r$e;)V
|
||||
value = Lf/a/a/q;->onViewBound(Landroid/view/View;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
|
@ -16,55 +16,139 @@
|
|||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lz/u/b/k;",
|
||||
"Lkotlin/jvm/functions/Function1<",
|
||||
"Lf/a/a/s$e;",
|
||||
"Lkotlin/Unit;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:Lf/a/a/q;
|
||||
.field public final synthetic this$0:Lf/a/a/q;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lf/a/a/q;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lf/a/a/q$b;->d:Lf/a/a/q;
|
||||
iput-object p1, p0, Lf/a/a/q$b;->this$0:Lf/a/a/q;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
const/4 p1, 0x1
|
||||
|
||||
invoke-direct {p0, p1}, Lz/u/b/k;-><init>(I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final onClick(Landroid/view/View;)V
|
||||
.locals 2
|
||||
.method public final a(Lf/a/a/s$e;)V
|
||||
.locals 4
|
||||
|
||||
iget-object v0, p0, Lf/a/a/q$b;->d:Lf/a/a/q;
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
iget-object v0, v0, Lf/a/a/q;->g:Lf/a/a/r;
|
||||
iget-object v0, p0, Lf/a/a/q$b;->this$0:Lf/a/a/q;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
iget-object v1, v0, Lf/a/a/q;->d:Lkotlin/properties/ReadOnlyProperty;
|
||||
|
||||
const-string v1, "button"
|
||||
sget-object v2, Lf/a/a/q;->h:[Lkotlin/reflect/KProperty;
|
||||
|
||||
invoke-static {p1, v1}, Lz/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
const/4 v3, 0x0
|
||||
|
||||
invoke-virtual {p1}, Landroid/view/View;->getContext()Landroid/content/Context;
|
||||
aget-object v2, v2, v3
|
||||
|
||||
invoke-interface {v1, v0, v2}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
check-cast v1, Landroid/widget/TextView;
|
||||
|
||||
const v2, 0x7f121399
|
||||
|
||||
invoke-virtual {v0, v2}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
||||
|
||||
iget-object v1, v0, Lf/a/a/q;->e:Lkotlin/properties/ReadOnlyProperty;
|
||||
|
||||
sget-object v2, Lf/a/a/q;->h:[Lkotlin/reflect/KProperty;
|
||||
|
||||
const/4 v3, 0x1
|
||||
|
||||
aget-object v2, v2, v3
|
||||
|
||||
invoke-interface {v1, v0, v2}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
check-cast v1, Landroid/widget/TextView;
|
||||
|
||||
const v2, 0x7f121398
|
||||
|
||||
invoke-virtual {v0, v2}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
||||
|
||||
invoke-virtual {v0}, Lf/a/a/q;->getButtonConfirm()Lcom/discord/views/LoadingButton;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
const v2, 0x7f120ed3
|
||||
|
||||
invoke-virtual {v0, v2}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-virtual {v1, v2}, Lcom/discord/views/LoadingButton;->setText(Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {v0}, Lf/a/a/q;->getButtonConfirm()Lcom/discord/views/LoadingButton;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {p1}, Lf/a/a/s$e;->a()Z
|
||||
|
||||
move-result p1
|
||||
|
||||
invoke-virtual {v1, p1}, Lcom/discord/views/LoadingButton;->setIsLoading(Z)V
|
||||
|
||||
invoke-virtual {v0}, Lf/a/a/q;->getButtonConfirm()Lcom/discord/views/LoadingButton;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-string v1, "button.context"
|
||||
new-instance v1, Lf/a/a/r;
|
||||
|
||||
invoke-static {p1, v1}, Lz/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
invoke-direct {v1, v0}, Lf/a/a/r;-><init>(Lf/a/a/q;)V
|
||||
|
||||
invoke-virtual {v0, p1}, Lf/a/a/r;->a(Landroid/content/Context;)V
|
||||
invoke-virtual {p1, v1}, Landroid/widget/FrameLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "viewModel"
|
||||
const-string p1, "viewState"
|
||||
|
||||
invoke-static {p1}, Lz/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
invoke-static {p1}, Lz/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Lf/a/a/s$e;
|
||||
|
||||
invoke-virtual {p0, p1}, Lf/a/a/q$b;->a(Lf/a/a/s$e;)V
|
||||
|
||||
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
value = {
|
||||
"Lz/u/b/k;",
|
||||
"Lkotlin/jvm/functions/Function1<",
|
||||
"Lf/a/a/r$e;",
|
||||
"Lf/a/a/s$b;",
|
||||
"Lkotlin/Unit;",
|
||||
">;"
|
||||
}
|
||||
|
@ -46,19 +46,19 @@
|
|||
|
||||
|
||||
# virtual methods
|
||||
.method public final a(Lf/a/a/r$e;)V
|
||||
.method public final a(Lf/a/a/s$b;)V
|
||||
.locals 1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
iget-object v0, p0, Lf/a/a/q$c;->this$0:Lf/a/a/q;
|
||||
|
||||
invoke-static {v0, p1}, Lf/a/a/q;->a(Lf/a/a/q;Lf/a/a/r$e;)V
|
||||
invoke-static {v0, p1}, Lf/a/a/q;->a(Lf/a/a/q;Lf/a/a/s$b;)V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "viewState"
|
||||
const-string p1, "event"
|
||||
|
||||
invoke-static {p1}, Lz/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
|
@ -70,9 +70,9 @@
|
|||
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Lf/a/a/r$e;
|
||||
check-cast p1, Lf/a/a/s$b;
|
||||
|
||||
invoke-virtual {p0, p1}, Lf/a/a/q$c;->a(Lf/a/a/r$e;)V
|
||||
invoke-virtual {p0, p1}, Lf/a/a/q$c;->a(Lf/a/a/s$b;)V
|
||||
|
||||
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||||
|
||||
|
|
|
@ -1,80 +0,0 @@
|
|||
.class public final Lf/a/a/q$d;
|
||||
.super Lz/u/b/k;
|
||||
.source "WidgetUrgentMessageDialog.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lkotlin/jvm/functions/Function1;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lf/a/a/q;->onViewBound(Landroid/view/View;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lz/u/b/k;",
|
||||
"Lkotlin/jvm/functions/Function1<",
|
||||
"Lf/a/a/r$b;",
|
||||
"Lkotlin/Unit;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic this$0:Lf/a/a/q;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lf/a/a/q;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lf/a/a/q$d;->this$0:Lf/a/a/q;
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
invoke-direct {p0, p1}, Lz/u/b/k;-><init>(I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final a(Lf/a/a/r$b;)V
|
||||
.locals 1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
iget-object v0, p0, Lf/a/a/q$d;->this$0:Lf/a/a/q;
|
||||
|
||||
invoke-static {v0, p1}, Lf/a/a/q;->a(Lf/a/a/q;Lf/a/a/r$b;)V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "event"
|
||||
|
||||
invoke-static {p1}, Lz/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Lf/a/a/r$b;
|
||||
|
||||
invoke-virtual {p0, p1}, Lf/a/a/q$d;->a(Lf/a/a/r$b;)V
|
||||
|
||||
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||||
|
||||
return-object p1
|
||||
.end method
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
.field public final f:Lkotlin/properties/ReadOnlyProperty;
|
||||
|
||||
.field public g:Lf/a/a/r;
|
||||
.field public g:Lf/a/a/s;
|
||||
|
||||
|
||||
# direct methods
|
||||
|
@ -146,28 +146,20 @@
|
|||
return-void
|
||||
.end method
|
||||
|
||||
.method public static final synthetic a(Lf/a/a/q;Lf/a/a/r$b;)V
|
||||
.method public static final synthetic a(Lf/a/a/q;Lf/a/a/s$b;)V
|
||||
.locals 0
|
||||
|
||||
invoke-virtual {p0, p1}, Lf/a/a/q;->a(Lf/a/a/r$b;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static final synthetic a(Lf/a/a/q;Lf/a/a/r$e;)V
|
||||
.locals 0
|
||||
|
||||
invoke-virtual {p0, p1}, Lf/a/a/q;->a(Lf/a/a/r$e;)V
|
||||
invoke-virtual {p0, p1}, Lf/a/a/q;->a(Lf/a/a/s$b;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final a(Lf/a/a/r$b;)V
|
||||
.method public final a(Lf/a/a/s$b;)V
|
||||
.locals 4
|
||||
|
||||
sget-object v0, Lf/a/a/r$b$a;->a:Lf/a/a/r$b$a;
|
||||
sget-object v0, Lf/a/a/s$b$a;->a:Lf/a/a/s$b$a;
|
||||
|
||||
invoke-static {p1, v0}, Lz/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
|
@ -180,7 +172,7 @@
|
|||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
sget-object v0, Lf/a/a/r$b$b;->a:Lf/a/a/r$b$b;
|
||||
sget-object v0, Lf/a/a/s$b$b;->a:Lf/a/a/s$b$b;
|
||||
|
||||
invoke-static {p1, v0}, Lz/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
|
@ -213,95 +205,6 @@
|
|||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final a(Lf/a/a/r$e;)V
|
||||
.locals 3
|
||||
|
||||
instance-of v0, p1, Lf/a/a/r$e$a;
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
iget-object v0, p0, Lf/a/a/q;->d:Lkotlin/properties/ReadOnlyProperty;
|
||||
|
||||
sget-object v1, Lf/a/a/q;->h:[Lkotlin/reflect/KProperty;
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
aget-object v1, v1, v2
|
||||
|
||||
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, Landroid/widget/TextView;
|
||||
|
||||
const v1, 0x7f121399
|
||||
|
||||
invoke-virtual {p0, v1}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
||||
|
||||
iget-object v0, p0, Lf/a/a/q;->e:Lkotlin/properties/ReadOnlyProperty;
|
||||
|
||||
sget-object v1, Lf/a/a/q;->h:[Lkotlin/reflect/KProperty;
|
||||
|
||||
const/4 v2, 0x1
|
||||
|
||||
aget-object v1, v1, v2
|
||||
|
||||
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, Landroid/widget/TextView;
|
||||
|
||||
const v1, 0x7f121398
|
||||
|
||||
invoke-virtual {p0, v1}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
||||
|
||||
invoke-virtual {p0}, Lf/a/a/q;->getButtonConfirm()Lcom/discord/views/LoadingButton;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const v1, 0x7f120ed3
|
||||
|
||||
invoke-virtual {p0, v1}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {v0, v1}, Lcom/discord/views/LoadingButton;->setText(Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p0}, Lf/a/a/q;->getButtonConfirm()Lcom/discord/views/LoadingButton;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast p1, Lf/a/a/r$e$a;
|
||||
|
||||
iget-boolean p1, p1, Lf/a/a/r$e$a;->b:Z
|
||||
|
||||
invoke-virtual {v0, p1}, Lcom/discord/views/LoadingButton;->setIsLoading(Z)V
|
||||
|
||||
invoke-virtual {p0}, Lf/a/a/q;->getButtonConfirm()Lcom/discord/views/LoadingButton;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
new-instance v0, Lf/a/a/q$b;
|
||||
|
||||
invoke-direct {v0, p0}, Lf/a/a/q$b;-><init>(Lf/a/a/q;)V
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/widget/FrameLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final getButtonConfirm()Lcom/discord/views/LoadingButton;
|
||||
.locals 3
|
||||
|
||||
|
@ -341,13 +244,13 @@
|
|||
|
||||
new-instance p1, Landroidx/lifecycle/ViewModelProvider;
|
||||
|
||||
new-instance v0, Lf/a/a/r$c;
|
||||
new-instance v0, Lf/a/a/s$c;
|
||||
|
||||
invoke-direct {v0}, Lf/a/a/r$c;-><init>()V
|
||||
invoke-direct {v0}, Lf/a/a/s$c;-><init>()V
|
||||
|
||||
invoke-direct {p1, p0, v0}, Landroidx/lifecycle/ViewModelProvider;-><init>(Landroidx/lifecycle/ViewModelStoreOwner;Landroidx/lifecycle/ViewModelProvider$Factory;)V
|
||||
|
||||
const-class v0, Lf/a/a/r;
|
||||
const-class v0, Lf/a/a/s;
|
||||
|
||||
invoke-virtual {p1, v0}, Landroidx/lifecycle/ViewModelProvider;->get(Ljava/lang/Class;)Landroidx/lifecycle/ViewModel;
|
||||
|
||||
|
@ -357,9 +260,9 @@
|
|||
|
||||
invoke-static {p1, v0}, Lz/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
check-cast p1, Lf/a/a/r;
|
||||
check-cast p1, Lf/a/a/s;
|
||||
|
||||
iput-object p1, p0, Lf/a/a/q;->g:Lf/a/a/r;
|
||||
iput-object p1, p0, Lf/a/a/q;->g:Lf/a/a/s;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
@ -391,7 +294,7 @@
|
|||
|
||||
invoke-super {p0, p1}, Lcom/discord/app/AppDialog;->onViewBound(Landroid/view/View;)V
|
||||
|
||||
iget-object p1, p0, Lf/a/a/q;->g:Lf/a/a/r;
|
||||
iget-object p1, p0, Lf/a/a/q;->g:Lf/a/a/s;
|
||||
|
||||
const-string v1, "viewModel"
|
||||
|
||||
|
@ -415,9 +318,9 @@
|
|||
|
||||
const/4 v7, 0x0
|
||||
|
||||
new-instance v8, Lf/a/a/q$c;
|
||||
new-instance v8, Lf/a/a/q$b;
|
||||
|
||||
invoke-direct {v8, p0}, Lf/a/a/q$c;-><init>(Lf/a/a/q;)V
|
||||
invoke-direct {v8, p0}, Lf/a/a/q$b;-><init>(Lf/a/a/q;)V
|
||||
|
||||
const/16 v9, 0x1e
|
||||
|
||||
|
@ -425,11 +328,11 @@
|
|||
|
||||
invoke-static/range {v2 .. v10}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Ljava/lang/Class;Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
|
||||
|
||||
iget-object p1, p0, Lf/a/a/q;->g:Lf/a/a/r;
|
||||
iget-object p1, p0, Lf/a/a/q;->g:Lf/a/a/s;
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
invoke-virtual {p1}, Lf/a/a/r;->observeEvents()Lrx/Observable;
|
||||
invoke-virtual {p1}, Lf/a/a/s;->observeEvents()Lrx/Observable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
|
@ -447,9 +350,9 @@
|
|||
|
||||
const/4 v5, 0x0
|
||||
|
||||
new-instance v6, Lf/a/a/q$d;
|
||||
new-instance v6, Lf/a/a/q$c;
|
||||
|
||||
invoke-direct {v6, p0}, Lf/a/a/q$d;-><init>(Lf/a/a/q;)V
|
||||
invoke-direct {v6, p0}, Lf/a/a/q$c;-><init>(Lf/a/a/q;)V
|
||||
|
||||
const/16 v7, 0x1e
|
||||
|
||||
|
|
|
@ -1,42 +0,0 @@
|
|||
.class public final Lf/a/a/r$b$b;
|
||||
.super Lf/a/a/r$b;
|
||||
.source "WidgetUrgentMessageDialogViewModel.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lf/a/a/r$b;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "b"
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final a:Lf/a/a/r$b$b;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lf/a/a/r$b$b;
|
||||
|
||||
invoke-direct {v0}, Lf/a/a/r$b$b;-><init>()V
|
||||
|
||||
sput-object v0, Lf/a/a/r$b$b;->a:Lf/a/a/r$b$b;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
invoke-direct {p0, v0}, Lf/a/a/r$b;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,39 +0,0 @@
|
|||
.class public abstract Lf/a/a/r$e;
|
||||
.super Ljava/lang/Object;
|
||||
.source "WidgetUrgentMessageDialogViewModel.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lf/a/a/r;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x409
|
||||
name = "e"
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Lf/a/a/r$e$b;,
|
||||
Lf/a/a/r$e$a;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,325 +1,59 @@
|
|||
.class public final Lf/a/a/r;
|
||||
.super Lf/a/b/b0;
|
||||
.source "WidgetUrgentMessageDialogViewModel.kt"
|
||||
.super Ljava/lang/Object;
|
||||
.source "WidgetUrgentMessageDialog.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Lf/a/a/r$e;,
|
||||
Lf/a/a/r$d;,
|
||||
Lf/a/a/r$b;,
|
||||
Lf/a/a/r$c;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lf/a/b/b0<",
|
||||
"Lf/a/a/r$e;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
# interfaces
|
||||
.implements Landroid/view/View$OnClickListener;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final d:Lrx/subjects/PublishSubject;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lrx/subjects/PublishSubject<",
|
||||
"Lf/a/a/r$b;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field public final e:Lcom/discord/utilities/rest/RestAPI;
|
||||
.field public final synthetic d:Lf/a/a/q;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lcom/discord/utilities/rest/RestAPI;Lrx/Observable;)V
|
||||
.locals 10
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lcom/discord/utilities/rest/RestAPI;",
|
||||
"Lrx/Observable<",
|
||||
"Lf/a/a/r$d;",
|
||||
">;)V"
|
||||
}
|
||||
.end annotation
|
||||
.method public constructor <init>(Lf/a/a/q;)V
|
||||
.locals 0
|
||||
|
||||
const/4 v0, 0x0
|
||||
iput-object p1, p0, Lf/a/a/r;->d:Lf/a/a/q;
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
if-eqz p2, :cond_0
|
||||
|
||||
sget-object v1, Lf/a/a/r$e$b;->a:Lf/a/a/r$e$b;
|
||||
|
||||
invoke-direct {p0, v1}, Lf/a/b/b0;-><init>(Ljava/lang/Object;)V
|
||||
|
||||
iput-object p1, p0, Lf/a/a/r;->e:Lcom/discord/utilities/rest/RestAPI;
|
||||
|
||||
invoke-static {p2}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->computationLatest(Lrx/Observable;)Lrx/Observable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const/4 p2, 0x2
|
||||
|
||||
invoke-static {p1, p0, v0, p2, v0}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->ui$default(Lrx/Observable;Lcom/discord/app/AppComponent;Lcom/discord/utilities/mg_recycler/MGRecyclerAdapterSimple;ILjava/lang/Object;)Lrx/Observable;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
const-class v2, Lf/a/a/r;
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
const/4 v4, 0x0
|
||||
|
||||
const/4 v5, 0x0
|
||||
|
||||
const/4 v6, 0x0
|
||||
|
||||
new-instance v7, Lf/a/a/r$a;
|
||||
|
||||
invoke-direct {v7, p0}, Lf/a/a/r$a;-><init>(Lf/a/a/r;)V
|
||||
|
||||
const/16 v8, 0x1e
|
||||
|
||||
const/4 v9, 0x0
|
||||
|
||||
invoke-static/range {v1 .. v9}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Ljava/lang/Class;Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
|
||||
|
||||
invoke-static {}, Lrx/subjects/PublishSubject;->o()Lrx/subjects/PublishSubject;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
iput-object p1, p0, Lf/a/a/r;->d:Lrx/subjects/PublishSubject;
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "storeObservable"
|
||||
|
||||
invoke-static {p1}, Lz/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_1
|
||||
const-string p1, "restAPI"
|
||||
|
||||
invoke-static {p1}, Lz/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final a(Landroid/content/Context;)V
|
||||
.locals 16
|
||||
.annotation build Landroidx/annotation/MainThread;
|
||||
.end annotation
|
||||
|
||||
move-object/from16 v0, p0
|
||||
|
||||
move-object/from16 v1, p1
|
||||
|
||||
if-eqz v1, :cond_2
|
||||
|
||||
invoke-virtual/range {p0 .. p0}, Lf/a/b/b0;->getViewState()Ljava/lang/Object;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
instance-of v4, v3, Lf/a/a/r$e$a;
|
||||
|
||||
if-nez v4, :cond_0
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
:cond_0
|
||||
check-cast v3, Lf/a/a/r$e$a;
|
||||
|
||||
if-eqz v3, :cond_1
|
||||
|
||||
sget-object v4, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
||||
|
||||
invoke-virtual {v4}, Lcom/discord/stores/StoreStream$Companion;->getChannelsSelected()Lcom/discord/stores/StoreChannelsSelected;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
const-wide v5, 0x8efc0ce7f420001L
|
||||
|
||||
invoke-virtual {v4, v1, v5, v6}, Lcom/discord/stores/StoreChannelsSelected;->findAndSetDirectMessage(Landroid/content/Context;J)V
|
||||
|
||||
iget-object v1, v3, Lf/a/a/r$e$a;->a:Ljava/lang/Integer;
|
||||
|
||||
if-eqz v1, :cond_1
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I
|
||||
|
||||
move-result v1
|
||||
|
||||
and-int/lit16 v1, v1, -0x2001
|
||||
|
||||
new-instance v15, Lcom/discord/restapi/RestAPIParams$UserInfo;
|
||||
|
||||
const/4 v5, 0x0
|
||||
|
||||
const/4 v6, 0x0
|
||||
|
||||
const/4 v7, 0x0
|
||||
|
||||
const/4 v8, 0x0
|
||||
|
||||
const/4 v9, 0x0
|
||||
|
||||
const/4 v10, 0x0
|
||||
|
||||
const/4 v11, 0x0
|
||||
|
||||
const/4 v12, 0x0
|
||||
|
||||
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
move-result-object v13
|
||||
|
||||
const/16 v14, 0xff
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
move-object v4, v15
|
||||
|
||||
move-object v2, v15
|
||||
|
||||
move-object v15, v1
|
||||
|
||||
invoke-direct/range {v4 .. v15}, Lcom/discord/restapi/RestAPIParams$UserInfo;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
|
||||
iget-object v1, v3, Lf/a/a/r$e$a;->a:Ljava/lang/Integer;
|
||||
|
||||
const/4 v4, 0x1
|
||||
|
||||
invoke-virtual {v3, v1, v4}, Lf/a/a/r$e$a;->a(Ljava/lang/Integer;Z)Lf/a/a/r$e$a;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {v0, v1}, Lf/a/b/b0;->updateViewState(Ljava/lang/Object;)V
|
||||
|
||||
iget-object v1, v0, Lf/a/a/r;->e:Lcom/discord/utilities/rest/RestAPI;
|
||||
|
||||
invoke-virtual {v1, v2}, Lcom/discord/utilities/rest/RestAPI;->patchUser(Lcom/discord/restapi/RestAPIParams$UserInfo;)Lrx/Observable;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
invoke-static {v1, v2, v4, v3}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->restSubscribeOn$default(Lrx/Observable;ZILjava/lang/Object;)Lrx/Observable;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
const/4 v2, 0x2
|
||||
|
||||
invoke-static {v1, v0, v3, v2, v3}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->ui$default(Lrx/Observable;Lcom/discord/app/AppComponent;Lcom/discord/utilities/mg_recycler/MGRecyclerAdapterSimple;ILjava/lang/Object;)Lrx/Observable;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
new-instance v2, Lf/a/a/r$f;
|
||||
|
||||
invoke-direct {v2, v0}, Lf/a/a/r$f;-><init>(Lf/a/a/r;)V
|
||||
|
||||
new-instance v3, Lf/a/a/r$g;
|
||||
|
||||
invoke-direct {v3, v0}, Lf/a/a/r$g;-><init>(Lf/a/a/r;)V
|
||||
|
||||
invoke-virtual {v1, v2, v3}, Lrx/Observable;->a(Lrx/functions/Action1;Lrx/functions/Action1;)Lrx/Subscription;
|
||||
|
||||
:cond_1
|
||||
return-void
|
||||
|
||||
:cond_2
|
||||
const-string v1, "context"
|
||||
|
||||
invoke-static {v1}, Lz/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
throw v1
|
||||
.end method
|
||||
|
||||
.method public final a(Lf/a/a/r$d;)V
|
||||
.method public final onClick(Landroid/view/View;)V
|
||||
.locals 2
|
||||
.annotation build Landroidx/annotation/MainThread;
|
||||
.end annotation
|
||||
|
||||
iget-object p1, p1, Lf/a/a/r$d;->a:Lcom/discord/models/domain/ModelUser;
|
||||
iget-object v0, p0, Lf/a/a/r;->d:Lf/a/a/q;
|
||||
|
||||
invoke-virtual {p0}, Lf/a/b/b0;->getViewState()Ljava/lang/Object;
|
||||
iget-object v0, v0, Lf/a/a/q;->g:Lf/a/a/s;
|
||||
|
||||
move-result-object v0
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
check-cast v0, Lf/a/a/r$e;
|
||||
const-string v1, "button"
|
||||
|
||||
sget-object v1, Lf/a/a/r$e$b;->a:Lf/a/a/r$e$b;
|
||||
invoke-static {p1, v1}, Lz/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-static {v0, v1}, Lz/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
move-result v1
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
instance-of v1, v0, Lf/a/a/r$e$a;
|
||||
|
||||
if-eqz v1, :cond_1
|
||||
|
||||
check-cast v0, Lf/a/a/r$e$a;
|
||||
|
||||
iget-boolean v0, v0, Lf/a/a/r$e$a;->b:Z
|
||||
|
||||
:goto_0
|
||||
new-instance v1, Lf/a/a/r$e$a;
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/models/domain/ModelUser;->getFlags()Ljava/lang/Integer;
|
||||
invoke-virtual {p1}, Landroid/view/View;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-direct {v1, p1, v0}, Lf/a/a/r$e$a;-><init>(Ljava/lang/Integer;Z)V
|
||||
const-string v1, "button.context"
|
||||
|
||||
invoke-virtual {p0, v1}, Lf/a/b/b0;->updateViewState(Ljava/lang/Object;)V
|
||||
invoke-static {p1, v1}, Lz/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {v0, p1}, Lf/a/a/s;->a(Landroid/content/Context;)V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_1
|
||||
new-instance p1, Lz/g;
|
||||
:cond_0
|
||||
const-string p1, "viewModel"
|
||||
|
||||
invoke-direct {p1}, Lz/g;-><init>()V
|
||||
invoke-static {p1}, Lz/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final observeEvents()Lrx/Observable;
|
||||
.locals 2
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"()",
|
||||
"Lrx/Observable<",
|
||||
"Lf/a/a/r$b;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lf/a/a/r;->d:Lrx/subjects/PublishSubject;
|
||||
|
||||
const-string v1, "eventSubject"
|
||||
|
||||
invoke-static {v0, v1}, Lz/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.class public final Lf/a/a/r$a;
|
||||
.class public final Lf/a/a/s$a;
|
||||
.super Lz/u/b/k;
|
||||
.source "WidgetUrgentMessageDialogViewModel.kt"
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
|||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lf/a/a/r;-><init>(Lcom/discord/utilities/rest/RestAPI;Lrx/Observable;)V
|
||||
value = Lf/a/a/s;-><init>(Lcom/discord/utilities/rest/RestAPI;Lrx/Observable;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
|
@ -20,7 +20,7 @@
|
|||
value = {
|
||||
"Lz/u/b/k;",
|
||||
"Lkotlin/jvm/functions/Function1<",
|
||||
"Lf/a/a/r$d;",
|
||||
"Lf/a/a/s$d;",
|
||||
"Lkotlin/Unit;",
|
||||
">;"
|
||||
}
|
||||
|
@ -28,14 +28,14 @@
|
|||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic this$0:Lf/a/a/r;
|
||||
.field public final synthetic this$0:Lf/a/a/s;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lf/a/a/r;)V
|
||||
.method public constructor <init>(Lf/a/a/s;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lf/a/a/r$a;->this$0:Lf/a/a/r;
|
||||
iput-object p1, p0, Lf/a/a/s$a;->this$0:Lf/a/a/s;
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
|
@ -46,14 +46,14 @@
|
|||
|
||||
|
||||
# virtual methods
|
||||
.method public final a(Lf/a/a/r$d;)V
|
||||
.method public final a(Lf/a/a/s$d;)V
|
||||
.locals 1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
iget-object v0, p0, Lf/a/a/r$a;->this$0:Lf/a/a/r;
|
||||
iget-object v0, p0, Lf/a/a/s$a;->this$0:Lf/a/a/s;
|
||||
|
||||
invoke-virtual {v0, p1}, Lf/a/a/r;->a(Lf/a/a/r$d;)V
|
||||
invoke-virtual {v0, p1}, Lf/a/a/s;->a(Lf/a/a/s$d;)V
|
||||
|
||||
return-void
|
||||
|
||||
|
@ -70,9 +70,9 @@
|
|||
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Lf/a/a/r$d;
|
||||
check-cast p1, Lf/a/a/s$d;
|
||||
|
||||
invoke-virtual {p0, p1}, Lf/a/a/r$a;->a(Lf/a/a/r$d;)V
|
||||
invoke-virtual {p0, p1}, Lf/a/a/s$a;->a(Lf/a/a/s$d;)V
|
||||
|
||||
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
.class public final Lf/a/a/r$b$a;
|
||||
.super Lf/a/a/r$b;
|
||||
.class public final Lf/a/a/s$b$a;
|
||||
.super Lf/a/a/s$b;
|
||||
.source "WidgetUrgentMessageDialogViewModel.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lf/a/a/r$b;
|
||||
value = Lf/a/a/s$b;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
|
@ -15,18 +15,18 @@
|
|||
|
||||
|
||||
# static fields
|
||||
.field public static final a:Lf/a/a/r$b$a;
|
||||
.field public static final a:Lf/a/a/s$b$a;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lf/a/a/r$b$a;
|
||||
new-instance v0, Lf/a/a/s$b$a;
|
||||
|
||||
invoke-direct {v0}, Lf/a/a/r$b$a;-><init>()V
|
||||
invoke-direct {v0}, Lf/a/a/s$b$a;-><init>()V
|
||||
|
||||
sput-object v0, Lf/a/a/r$b$a;->a:Lf/a/a/r$b$a;
|
||||
sput-object v0, Lf/a/a/s$b$a;->a:Lf/a/a/s$b$a;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
@ -36,7 +36,7 @@
|
|||
|
||||
const/4 v0, 0x0
|
||||
|
||||
invoke-direct {p0, v0}, Lf/a/a/r$b;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
invoke-direct {p0, v0}, Lf/a/a/s$b;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,11 +1,11 @@
|
|||
.class public final Lf/a/a/r$e$b;
|
||||
.super Lf/a/a/r$e;
|
||||
.class public final Lf/a/a/s$b$b;
|
||||
.super Lf/a/a/s$b;
|
||||
.source "WidgetUrgentMessageDialogViewModel.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lf/a/a/r$e;
|
||||
value = Lf/a/a/s$b;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
|
@ -15,18 +15,18 @@
|
|||
|
||||
|
||||
# static fields
|
||||
.field public static final a:Lf/a/a/r$e$b;
|
||||
.field public static final a:Lf/a/a/s$b$b;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lf/a/a/r$e$b;
|
||||
new-instance v0, Lf/a/a/s$b$b;
|
||||
|
||||
invoke-direct {v0}, Lf/a/a/r$e$b;-><init>()V
|
||||
invoke-direct {v0}, Lf/a/a/s$b$b;-><init>()V
|
||||
|
||||
sput-object v0, Lf/a/a/r$e$b;->a:Lf/a/a/r$e$b;
|
||||
sput-object v0, Lf/a/a/s$b$b;->a:Lf/a/a/s$b$b;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
@ -36,7 +36,7 @@
|
|||
|
||||
const/4 v0, 0x0
|
||||
|
||||
invoke-direct {p0, v0}, Lf/a/a/r$e;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
invoke-direct {p0, v0}, Lf/a/a/s$b;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,11 +1,11 @@
|
|||
.class public abstract Lf/a/a/r$b;
|
||||
.class public abstract Lf/a/a/s$b;
|
||||
.super Ljava/lang/Object;
|
||||
.source "WidgetUrgentMessageDialogViewModel.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lf/a/a/r;
|
||||
value = Lf/a/a/s;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
|
@ -15,8 +15,8 @@
|
|||
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Lf/a/a/r$b$a;,
|
||||
Lf/a/a/r$b$b;
|
||||
Lf/a/a/s$b$a;,
|
||||
Lf/a/a/s$b$b;
|
||||
}
|
||||
.end annotation
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
.class public final Lf/a/a/r$c;
|
||||
.class public final Lf/a/a/s$c;
|
||||
.super Ljava/lang/Object;
|
||||
.source "WidgetUrgentMessageDialogViewModel.kt"
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
|||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lf/a/a/r;
|
||||
value = Lf/a/a/s;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
|
@ -42,7 +42,7 @@
|
|||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
new-instance p1, Lf/a/a/r;
|
||||
new-instance p1, Lf/a/a/s;
|
||||
|
||||
sget-object v0, Lcom/discord/utilities/rest/RestAPI;->Companion:Lcom/discord/utilities/rest/RestAPI$Companion;
|
||||
|
||||
|
@ -60,7 +60,7 @@
|
|||
|
||||
move-result-object v1
|
||||
|
||||
sget-object v2, Lf/a/a/s;->d:Lf/a/a/s;
|
||||
sget-object v2, Lf/a/a/t;->d:Lf/a/a/t;
|
||||
|
||||
invoke-virtual {v1, v2}, Lrx/Observable;->f(Lh0/l/i;)Lrx/Observable;
|
||||
|
||||
|
@ -70,7 +70,7 @@
|
|||
|
||||
invoke-static {v1, v2}, Lz/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-direct {p1, v0, v1}, Lf/a/a/r;-><init>(Lcom/discord/utilities/rest/RestAPI;Lrx/Observable;)V
|
||||
invoke-direct {p1, v0, v1}, Lf/a/a/s;-><init>(Lcom/discord/utilities/rest/RestAPI;Lrx/Observable;)V
|
||||
|
||||
return-object p1
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
.class public final Lf/a/a/r$d;
|
||||
.class public final Lf/a/a/s$d;
|
||||
.super Ljava/lang/Object;
|
||||
.source "WidgetUrgentMessageDialogViewModel.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lf/a/a/r;
|
||||
value = Lf/a/a/s;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
|
@ -26,7 +26,7 @@
|
|||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lf/a/a/r$d;->a:Lcom/discord/models/domain/ModelUser;
|
||||
iput-object p1, p0, Lf/a/a/s$d;->a:Lcom/discord/models/domain/ModelUser;
|
||||
|
||||
return-void
|
||||
|
||||
|
@ -47,15 +47,15 @@
|
|||
|
||||
if-eq p0, p1, :cond_1
|
||||
|
||||
instance-of v0, p1, Lf/a/a/r$d;
|
||||
instance-of v0, p1, Lf/a/a/s$d;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
check-cast p1, Lf/a/a/r$d;
|
||||
check-cast p1, Lf/a/a/s$d;
|
||||
|
||||
iget-object v0, p0, Lf/a/a/r$d;->a:Lcom/discord/models/domain/ModelUser;
|
||||
iget-object v0, p0, Lf/a/a/s$d;->a:Lcom/discord/models/domain/ModelUser;
|
||||
|
||||
iget-object p1, p1, Lf/a/a/r$d;->a:Lcom/discord/models/domain/ModelUser;
|
||||
iget-object p1, p1, Lf/a/a/s$d;->a:Lcom/discord/models/domain/ModelUser;
|
||||
|
||||
invoke-static {v0, p1}, Lz/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
|
@ -80,7 +80,7 @@
|
|||
.method public hashCode()I
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lf/a/a/r$d;->a:Lcom/discord/models/domain/ModelUser;
|
||||
iget-object v0, p0, Lf/a/a/s$d;->a:Lcom/discord/models/domain/ModelUser;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
|
@ -106,7 +106,7 @@
|
|||
|
||||
move-result-object v0
|
||||
|
||||
iget-object v1, p0, Lf/a/a/r$d;->a:Lcom/discord/models/domain/ModelUser;
|
||||
iget-object v1, p0, Lf/a/a/s$d;->a:Lcom/discord/models/domain/ModelUser;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
|
@ -1,16 +1,16 @@
|
|||
.class public final Lf/a/a/r$e$a;
|
||||
.super Lf/a/a/r$e;
|
||||
.class public final Lf/a/a/s$e;
|
||||
.super Ljava/lang/Object;
|
||||
.source "WidgetUrgentMessageDialogViewModel.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lf/a/a/r$e;
|
||||
value = Lf/a/a/s;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "a"
|
||||
name = "e"
|
||||
.end annotation
|
||||
|
||||
|
||||
|
@ -22,45 +22,51 @@
|
|||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/lang/Integer;Z)V
|
||||
.locals 1
|
||||
.locals 0
|
||||
|
||||
const/4 v0, 0x0
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
invoke-direct {p0, v0}, Lf/a/a/r$e;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
iput-object p1, p0, Lf/a/a/s$e;->a:Ljava/lang/Integer;
|
||||
|
||||
iput-object p1, p0, Lf/a/a/r$e$a;->a:Ljava/lang/Integer;
|
||||
|
||||
iput-boolean p2, p0, Lf/a/a/r$e$a;->b:Z
|
||||
iput-boolean p2, p0, Lf/a/a/s$e;->b:Z
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final a(Ljava/lang/Integer;Z)Lf/a/a/r$e$a;
|
||||
.method public final a(Ljava/lang/Integer;Z)Lf/a/a/s$e;
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lf/a/a/r$e$a;
|
||||
new-instance v0, Lf/a/a/s$e;
|
||||
|
||||
invoke-direct {v0, p1, p2}, Lf/a/a/r$e$a;-><init>(Ljava/lang/Integer;Z)V
|
||||
invoke-direct {v0, p1, p2}, Lf/a/a/s$e;-><init>(Ljava/lang/Integer;Z)V
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final a()Z
|
||||
.locals 1
|
||||
|
||||
iget-boolean v0, p0, Lf/a/a/s$e;->b:Z
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public equals(Ljava/lang/Object;)Z
|
||||
.locals 2
|
||||
|
||||
if-eq p0, p1, :cond_1
|
||||
|
||||
instance-of v0, p1, Lf/a/a/r$e$a;
|
||||
instance-of v0, p1, Lf/a/a/s$e;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
check-cast p1, Lf/a/a/r$e$a;
|
||||
check-cast p1, Lf/a/a/s$e;
|
||||
|
||||
iget-object v0, p0, Lf/a/a/r$e$a;->a:Ljava/lang/Integer;
|
||||
iget-object v0, p0, Lf/a/a/s$e;->a:Ljava/lang/Integer;
|
||||
|
||||
iget-object v1, p1, Lf/a/a/r$e$a;->a:Ljava/lang/Integer;
|
||||
iget-object v1, p1, Lf/a/a/s$e;->a:Ljava/lang/Integer;
|
||||
|
||||
invoke-static {v0, v1}, Lz/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
|
@ -68,9 +74,9 @@
|
|||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-boolean v0, p0, Lf/a/a/r$e$a;->b:Z
|
||||
iget-boolean v0, p0, Lf/a/a/s$e;->b:Z
|
||||
|
||||
iget-boolean p1, p1, Lf/a/a/r$e$a;->b:Z
|
||||
iget-boolean p1, p1, Lf/a/a/s$e;->b:Z
|
||||
|
||||
if-ne v0, p1, :cond_0
|
||||
|
||||
|
@ -91,7 +97,7 @@
|
|||
.method public hashCode()I
|
||||
.locals 2
|
||||
|
||||
iget-object v0, p0, Lf/a/a/r$e$a;->a:Ljava/lang/Integer;
|
||||
iget-object v0, p0, Lf/a/a/s$e;->a:Ljava/lang/Integer;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
|
@ -107,7 +113,7 @@
|
|||
:goto_0
|
||||
mul-int/lit8 v0, v0, 0x1f
|
||||
|
||||
iget-boolean v1, p0, Lf/a/a/r$e$a;->b:Z
|
||||
iget-boolean v1, p0, Lf/a/a/s$e;->b:Z
|
||||
|
||||
if-eqz v1, :cond_1
|
||||
|
||||
|
@ -122,13 +128,13 @@
|
|||
.method public toString()Ljava/lang/String;
|
||||
.locals 3
|
||||
|
||||
const-string v0, "Loaded(userFlags="
|
||||
const-string v0, "ViewState(userFlags="
|
||||
|
||||
invoke-static {v0}, Lf/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iget-object v1, p0, Lf/a/a/r$e$a;->a:Ljava/lang/Integer;
|
||||
iget-object v1, p0, Lf/a/a/s$e;->a:Ljava/lang/Integer;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
|
@ -136,7 +142,7 @@
|
|||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
iget-boolean v1, p0, Lf/a/a/r$e$a;->b:Z
|
||||
iget-boolean v1, p0, Lf/a/a/s$e;->b:Z
|
||||
|
||||
const-string v2, ")"
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
.class public final Lf/a/a/r$f;
|
||||
.class public final Lf/a/a/s$f;
|
||||
.super Ljava/lang/Object;
|
||||
.source "WidgetUrgentMessageDialogViewModel.kt"
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
|||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lf/a/a/r;->a(Landroid/content/Context;)V
|
||||
value = Lf/a/a/s;->a(Landroid/content/Context;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
|
@ -30,14 +30,14 @@
|
|||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:Lf/a/a/r;
|
||||
.field public final synthetic d:Lf/a/a/s;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lf/a/a/r;)V
|
||||
.method public constructor <init>(Lf/a/a/s;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lf/a/a/r$f;->d:Lf/a/a/r;
|
||||
iput-object p1, p0, Lf/a/a/s$f;->d:Lf/a/a/s;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
|
@ -51,11 +51,11 @@
|
|||
|
||||
check-cast p1, Lcom/discord/models/domain/ModelUser;
|
||||
|
||||
iget-object p1, p0, Lf/a/a/r$f;->d:Lf/a/a/r;
|
||||
iget-object p1, p0, Lf/a/a/s$f;->d:Lf/a/a/s;
|
||||
|
||||
iget-object p1, p1, Lf/a/a/r;->d:Lrx/subjects/PublishSubject;
|
||||
iget-object p1, p1, Lf/a/a/s;->d:Lrx/subjects/PublishSubject;
|
||||
|
||||
sget-object v0, Lf/a/a/r$b$a;->a:Lf/a/a/r$b$a;
|
||||
sget-object v0, Lf/a/a/s$b$a;->a:Lf/a/a/s$b$a;
|
||||
|
||||
invoke-virtual {p1, v0}, Lrx/subjects/PublishSubject;->onNext(Ljava/lang/Object;)V
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
.class public final Lf/a/a/r$g;
|
||||
.class public final Lf/a/a/s$g;
|
||||
.super Ljava/lang/Object;
|
||||
.source "WidgetUrgentMessageDialogViewModel.kt"
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
|||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lf/a/a/r;->a(Landroid/content/Context;)V
|
||||
value = Lf/a/a/s;->a(Landroid/content/Context;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
|
@ -30,14 +30,14 @@
|
|||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:Lf/a/a/r;
|
||||
.field public final synthetic d:Lf/a/a/s;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lf/a/a/r;)V
|
||||
.method public constructor <init>(Lf/a/a/s;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lf/a/a/r$g;->d:Lf/a/a/r;
|
||||
iput-object p1, p0, Lf/a/a/s$g;->d:Lf/a/a/s;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
|
@ -51,11 +51,11 @@
|
|||
|
||||
check-cast p1, Ljava/lang/Throwable;
|
||||
|
||||
iget-object p1, p0, Lf/a/a/r$g;->d:Lf/a/a/r;
|
||||
iget-object p1, p0, Lf/a/a/s$g;->d:Lf/a/a/s;
|
||||
|
||||
iget-object p1, p1, Lf/a/a/r;->d:Lrx/subjects/PublishSubject;
|
||||
iget-object p1, p1, Lf/a/a/s;->d:Lrx/subjects/PublishSubject;
|
||||
|
||||
sget-object v0, Lf/a/a/r$b$b;->a:Lf/a/a/r$b$b;
|
||||
sget-object v0, Lf/a/a/s$b$b;->a:Lf/a/a/s$b$b;
|
||||
|
||||
invoke-virtual {p1, v0}, Lrx/subjects/PublishSubject;->onNext(Ljava/lang/Object;)V
|
||||
|
|
@ -1,65 +1,299 @@
|
|||
.class public final Lf/a/a/s;
|
||||
.super Ljava/lang/Object;
|
||||
.super Lf/a/b/b0;
|
||||
.source "WidgetUrgentMessageDialogViewModel.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lh0/l/i;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Lf/a/a/s$e;,
|
||||
Lf/a/a/s$d;,
|
||||
Lf/a/a/s$b;,
|
||||
Lf/a/a/s$c;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
"R:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lh0/l/i<",
|
||||
"TT;TR;>;"
|
||||
"Lf/a/b/b0<",
|
||||
"Lf/a/a/s$e;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final d:Lf/a/a/s;
|
||||
# instance fields
|
||||
.field public final d:Lrx/subjects/PublishSubject;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lrx/subjects/PublishSubject<",
|
||||
"Lf/a/a/s$b;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field public final e:Lcom/discord/utilities/rest/RestAPI;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 1
|
||||
.method public constructor <init>(Lcom/discord/utilities/rest/RestAPI;Lrx/Observable;)V
|
||||
.locals 10
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lcom/discord/utilities/rest/RestAPI;",
|
||||
"Lrx/Observable<",
|
||||
"Lf/a/a/s$d;",
|
||||
">;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
new-instance v0, Lf/a/a/s;
|
||||
const/4 v0, 0x0
|
||||
|
||||
invoke-direct {v0}, Lf/a/a/s;-><init>()V
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
sput-object v0, Lf/a/a/s;->d:Lf/a/a/s;
|
||||
if-eqz p2, :cond_0
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
invoke-direct {p0, v0, v1, v0}, Lf/a/b/b0;-><init>(Ljava/lang/Object;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
|
||||
iput-object p1, p0, Lf/a/a/s;->e:Lcom/discord/utilities/rest/RestAPI;
|
||||
|
||||
invoke-static {p2}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->computationLatest(Lrx/Observable;)Lrx/Observable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const/4 p2, 0x2
|
||||
|
||||
invoke-static {p1, p0, v0, p2, v0}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->ui$default(Lrx/Observable;Lcom/discord/app/AppComponent;Lcom/discord/utilities/mg_recycler/MGRecyclerAdapterSimple;ILjava/lang/Object;)Lrx/Observable;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
const-class v2, Lf/a/a/s;
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
const/4 v4, 0x0
|
||||
|
||||
const/4 v5, 0x0
|
||||
|
||||
const/4 v6, 0x0
|
||||
|
||||
new-instance v7, Lf/a/a/s$a;
|
||||
|
||||
invoke-direct {v7, p0}, Lf/a/a/s$a;-><init>(Lf/a/a/s;)V
|
||||
|
||||
const/16 v8, 0x1e
|
||||
|
||||
const/4 v9, 0x0
|
||||
|
||||
invoke-static/range {v1 .. v9}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Ljava/lang/Class;Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
|
||||
|
||||
invoke-static {}, Lrx/subjects/PublishSubject;->o()Lrx/subjects/PublishSubject;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
iput-object p1, p0, Lf/a/a/s;->d:Lrx/subjects/PublishSubject;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
:cond_0
|
||||
const-string p1, "storeObservable"
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
invoke-static {p1}, Lz/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
return-void
|
||||
throw v0
|
||||
|
||||
:cond_1
|
||||
const-string p1, "restAPI"
|
||||
|
||||
invoke-static {p1}, Lz/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public call(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.method public final a(Landroid/content/Context;)V
|
||||
.locals 16
|
||||
.annotation build Landroidx/annotation/MainThread;
|
||||
.end annotation
|
||||
|
||||
move-object/from16 v0, p0
|
||||
|
||||
move-object/from16 v1, p1
|
||||
|
||||
if-eqz v1, :cond_1
|
||||
|
||||
sget-object v3, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
||||
|
||||
invoke-virtual {v3}, Lcom/discord/stores/StoreStream$Companion;->getChannelsSelected()Lcom/discord/stores/StoreChannelsSelected;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
const-wide v4, 0x8efc0ce7f420001L
|
||||
|
||||
invoke-virtual {v3, v1, v4, v5}, Lcom/discord/stores/StoreChannelsSelected;->findAndSetDirectMessage(Landroid/content/Context;J)V
|
||||
|
||||
invoke-virtual/range {p0 .. p0}, Lf/a/b/b0;->getViewState()Ljava/lang/Object;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
check-cast v1, Lf/a/a/s$e;
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
|
||||
iget-object v3, v1, Lf/a/a/s$e;->a:Ljava/lang/Integer;
|
||||
|
||||
if-eqz v3, :cond_0
|
||||
|
||||
invoke-virtual {v3}, Ljava/lang/Integer;->intValue()I
|
||||
|
||||
move-result v3
|
||||
|
||||
and-int/lit16 v3, v3, -0x2001
|
||||
|
||||
new-instance v15, Lcom/discord/restapi/RestAPIParams$UserInfo;
|
||||
|
||||
const/4 v5, 0x0
|
||||
|
||||
const/4 v6, 0x0
|
||||
|
||||
const/4 v7, 0x0
|
||||
|
||||
const/4 v8, 0x0
|
||||
|
||||
const/4 v9, 0x0
|
||||
|
||||
const/4 v10, 0x0
|
||||
|
||||
const/4 v11, 0x0
|
||||
|
||||
const/4 v12, 0x0
|
||||
|
||||
invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
move-result-object v13
|
||||
|
||||
const/16 v14, 0xff
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
move-object v4, v15
|
||||
|
||||
move-object v2, v15
|
||||
|
||||
move-object v15, v3
|
||||
|
||||
invoke-direct/range {v4 .. v15}, Lcom/discord/restapi/RestAPIParams$UserInfo;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
|
||||
iget-object v3, v1, Lf/a/a/s$e;->a:Ljava/lang/Integer;
|
||||
|
||||
const/4 v4, 0x1
|
||||
|
||||
invoke-virtual {v1, v3, v4}, Lf/a/a/s$e;->a(Ljava/lang/Integer;Z)Lf/a/a/s$e;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {v0, v1}, Lf/a/b/b0;->updateViewState(Ljava/lang/Object;)V
|
||||
|
||||
iget-object v1, v0, Lf/a/a/s;->e:Lcom/discord/utilities/rest/RestAPI;
|
||||
|
||||
invoke-virtual {v1, v2}, Lcom/discord/utilities/rest/RestAPI;->patchUser(Lcom/discord/restapi/RestAPIParams$UserInfo;)Lrx/Observable;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
invoke-static {v1, v2, v4, v3}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->restSubscribeOn$default(Lrx/Observable;ZILjava/lang/Object;)Lrx/Observable;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
const/4 v2, 0x2
|
||||
|
||||
invoke-static {v1, v0, v3, v2, v3}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->ui$default(Lrx/Observable;Lcom/discord/app/AppComponent;Lcom/discord/utilities/mg_recycler/MGRecyclerAdapterSimple;ILjava/lang/Object;)Lrx/Observable;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
new-instance v2, Lf/a/a/s$f;
|
||||
|
||||
invoke-direct {v2, v0}, Lf/a/a/s$f;-><init>(Lf/a/a/s;)V
|
||||
|
||||
new-instance v3, Lf/a/a/s$g;
|
||||
|
||||
invoke-direct {v3, v0}, Lf/a/a/s$g;-><init>(Lf/a/a/s;)V
|
||||
|
||||
invoke-virtual {v1, v2, v3}, Lrx/Observable;->a(Lrx/functions/Action1;Lrx/functions/Action1;)Lrx/Subscription;
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
|
||||
:cond_1
|
||||
const-string v1, "context"
|
||||
|
||||
invoke-static {v1}, Lz/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
throw v1
|
||||
.end method
|
||||
|
||||
.method public final a(Lf/a/a/s$d;)V
|
||||
.locals 2
|
||||
.annotation build Landroidx/annotation/MainThread;
|
||||
.end annotation
|
||||
|
||||
check-cast p1, Lcom/discord/models/domain/ModelUser;
|
||||
iget-object p1, p1, Lf/a/a/s$d;->a:Lcom/discord/models/domain/ModelUser;
|
||||
|
||||
new-instance v0, Lf/a/a/r$d;
|
||||
invoke-virtual {p0}, Lf/a/b/b0;->getViewState()Ljava/lang/Object;
|
||||
|
||||
const-string v1, "meUser"
|
||||
move-result-object v0
|
||||
|
||||
invoke-static {p1, v1}, Lz/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
check-cast v0, Lf/a/a/s$e;
|
||||
|
||||
invoke-direct {v0, p1}, Lf/a/a/r$d;-><init>(Lcom/discord/models/domain/ModelUser;)V
|
||||
if-nez v0, :cond_0
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
iget-boolean v0, v0, Lf/a/a/s$e;->b:Z
|
||||
|
||||
:goto_0
|
||||
new-instance v1, Lf/a/a/s$e;
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/models/domain/ModelUser;->getFlags()Ljava/lang/Integer;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-direct {v1, p1, v0}, Lf/a/a/s$e;-><init>(Ljava/lang/Integer;Z)V
|
||||
|
||||
invoke-virtual {p0, v1}, Lf/a/b/b0;->updateViewState(Ljava/lang/Object;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final observeEvents()Lrx/Observable;
|
||||
.locals 2
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"()",
|
||||
"Lrx/Observable<",
|
||||
"Lf/a/a/s$b;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lf/a/a/s;->d:Lrx/subjects/PublishSubject;
|
||||
|
||||
const-string v1, "eventSubject"
|
||||
|
||||
invoke-static {v0, v1}, Lz/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
|
65
com.discord/smali/f/a/a/t.smali
Normal file
65
com.discord/smali/f/a/a/t.smali
Normal file
|
@ -0,0 +1,65 @@
|
|||
.class public final Lf/a/a/t;
|
||||
.super Ljava/lang/Object;
|
||||
.source "WidgetUrgentMessageDialogViewModel.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lh0/l/i;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
"R:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lh0/l/i<",
|
||||
"TT;TR;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final d:Lf/a/a/t;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lf/a/a/t;
|
||||
|
||||
invoke-direct {v0}, Lf/a/a/t;-><init>()V
|
||||
|
||||
sput-object v0, Lf/a/a/t;->d:Lf/a/a/t;
|
||||
|
||||
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 call(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 2
|
||||
|
||||
check-cast p1, Lcom/discord/models/domain/ModelUser;
|
||||
|
||||
new-instance v0, Lf/a/a/s$d;
|
||||
|
||||
const-string v1, "meUser"
|
||||
|
||||
invoke-static {p1, v1}, Lz/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-direct {v0, p1}, Lf/a/a/s$d;-><init>(Lcom/discord/models/domain/ModelUser;)V
|
||||
|
||||
return-object v0
|
||||
.end method
|
|
@ -41,8 +41,20 @@
|
|||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 2
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
invoke-direct {p0, v0, v1, v0}, Lf/a/b/b0;-><init>(Ljava/lang/Object;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Ljava/lang/Object;)V
|
||||
.locals 1
|
||||
.locals 2
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(TV;)V"
|
||||
|
@ -51,21 +63,43 @@
|
|||
|
||||
invoke-direct {p0}, Landroidx/lifecycle/ViewModel;-><init>()V
|
||||
|
||||
invoke-static {p1}, Lrx/subjects/BehaviorSubject;->a(Ljava/lang/Object;)Lrx/subjects/BehaviorSubject;
|
||||
invoke-static {}, Lrx/subjects/BehaviorSubject;->p()Lrx/subjects/BehaviorSubject;
|
||||
|
||||
move-result-object p1
|
||||
move-result-object v0
|
||||
|
||||
iput-object p1, p0, Lf/a/b/b0;->viewStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
iput-object v0, p0, Lf/a/b/b0;->viewStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
|
||||
invoke-static {}, Lrx/subjects/PublishSubject;->o()Lrx/subjects/PublishSubject;
|
||||
|
||||
move-result-object p1
|
||||
move-result-object v0
|
||||
|
||||
const-string v0, "PublishSubject.create()"
|
||||
const-string v1, "PublishSubject.create()"
|
||||
|
||||
invoke-static {p1, v0}, Lz/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
invoke-static {v0, v1}, Lz/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iput-object p1, p0, Lf/a/b/b0;->paused:Lrx/subjects/Subject;
|
||||
iput-object v0, p0, Lf/a/b/b0;->paused:Lrx/subjects/Subject;
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
iget-object v0, p0, Lf/a/b/b0;->viewStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
|
||||
invoke-virtual {v0, p1}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public synthetic constructor <init>(Ljava/lang/Object;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
.locals 0
|
||||
|
||||
and-int/lit8 p2, p2, 0x1
|
||||
|
||||
if-eqz p2, :cond_0
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
:cond_0
|
||||
invoke-direct {p0, p1}, Lf/a/b/b0;-><init>(Ljava/lang/Object;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
@ -145,6 +179,30 @@
|
|||
return-void
|
||||
.end method
|
||||
|
||||
.method public final requireViewState()Ljava/lang/Object;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"()TV;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-virtual {p0}, Lf/a/b/b0;->getViewState()Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
return-object v0
|
||||
|
||||
:cond_0
|
||||
invoke-static {}, Lz/u/b/j;->throwNpe()V
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public updateViewState(Ljava/lang/Object;)V
|
||||
.locals 1
|
||||
.annotation build Landroidx/annotation/MainThread;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue