Changes of com.discord v970

This commit is contained in:
root 2019-10-10 04:17:24 +02:00
parent 988d638629
commit 788ca26a31
6224 changed files with 116187 additions and 91622 deletions

View file

@ -0,0 +1,132 @@
.class public final Lcom/discord/widgets/user/usersheet/WidgetUserSheet$Companion;
.super Ljava/lang/Object;
.source "WidgetUserSheet.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "Companion"
.end annotation
# direct methods
.method private 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}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$Companion;-><init>()V
return-void
.end method
.method public static synthetic show$default(Lcom/discord/widgets/user/usersheet/WidgetUserSheet$Companion;JJLandroidx/fragment/app/FragmentManager;Ljava/lang/Long;ILjava/lang/Object;)V
.locals 7
and-int/lit8 p7, p7, 0x8
if-eqz p7, :cond_0
const/4 p6, 0x0
:cond_0
move-object v6, p6
move-object v0, p0
move-wide v1, p1
move-wide v3, p3
move-object v5, p5
invoke-virtual/range {v0 .. v6}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$Companion;->show(JJLandroidx/fragment/app/FragmentManager;Ljava/lang/Long;)V
return-void
.end method
# virtual methods
.method public final show(JJLandroidx/fragment/app/FragmentManager;)V
.locals 9
const/4 v6, 0x0
const/16 v7, 0x8
const/4 v8, 0x0
move-object v0, p0
move-wide v1, p1
move-wide v3, p3
move-object v5, p5
invoke-static/range {v0 .. v8}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$Companion;->show$default(Lcom/discord/widgets/user/usersheet/WidgetUserSheet$Companion;JJLandroidx/fragment/app/FragmentManager;Ljava/lang/Long;ILjava/lang/Object;)V
return-void
.end method
.method public final show(JJLandroidx/fragment/app/FragmentManager;Ljava/lang/Long;)V
.locals 3
const-string v0, "fragmentManager"
invoke-static {p5, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
invoke-direct {v0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;-><init>()V
new-instance v1, Landroid/os/Bundle;
invoke-direct {v1}, Landroid/os/Bundle;-><init>()V
const-string v2, "ARG_USER_ID"
invoke-virtual {v1, v2, p1, p2}, Landroid/os/Bundle;->putLong(Ljava/lang/String;J)V
const-string p1, "ARG_CHANNEL_ID"
invoke-virtual {v1, p1, p3, p4}, Landroid/os/Bundle;->putLong(Ljava/lang/String;J)V
if-eqz p6, :cond_0
check-cast p6, Ljava/lang/Number;
invoke-virtual {p6}, Ljava/lang/Number;->longValue()J
move-result-wide p1
const-string p3, "ARG_GUILD_ID"
invoke-virtual {v1, p3, p1, p2}, Landroid/os/Bundle;->putLong(Ljava/lang/String;J)V
:cond_0
invoke-virtual {v0, v1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->setArguments(Landroid/os/Bundle;)V
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object p1
invoke-virtual {p1}, Ljava/lang/Class;->getName()Ljava/lang/String;
move-result-object p1
invoke-virtual {v0, p5, p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->show(Landroidx/fragment/app/FragmentManager;Ljava/lang/String;)V
return-void
.end method

View file

@ -0,0 +1,93 @@
.class final synthetic Lcom/discord/widgets/user/usersheet/WidgetUserSheet$bindSubscriptions$1;
.super Lkotlin/jvm/internal/j;
.source "WidgetUserSheet.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function1;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->bindSubscriptions(Lrx/subscriptions/CompositeSubscription;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1018
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/jvm/internal/j;",
"Lkotlin/jvm/functions/Function1<",
"Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;",
"Lkotlin/Unit;",
">;"
}
.end annotation
# direct methods
.method constructor <init>(Lcom/discord/widgets/user/usersheet/WidgetUserSheet;)V
.locals 1
const/4 v0, 0x1
invoke-direct {p0, v0, p1}, Lkotlin/jvm/internal/j;-><init>(ILjava/lang/Object;)V
return-void
.end method
# virtual methods
.method public final getName()Ljava/lang/String;
.locals 1
const-string v0, "configureUI"
return-object v0
.end method
.method public final getOwner()Lkotlin/reflect/KDeclarationContainer;
.locals 1
const-class v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
invoke-static {v0}, Lkotlin/jvm/internal/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Lkotlin/reflect/b;
move-result-object v0
return-object v0
.end method
.method public final getSignature()Ljava/lang/String;
.locals 1
const-string v0, "configureUI(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;)V"
return-object v0
.end method
.method public final bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;
invoke-virtual {p0, p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$bindSubscriptions$1;->invoke(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;)V
sget-object p1, Lkotlin/Unit;->bgt:Lkotlin/Unit;
return-object p1
.end method
.method public final invoke(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;)V
.locals 1
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$bindSubscriptions$1;->receiver:Ljava/lang/Object;
check-cast v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
invoke-static {v0, p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->access$configureUI(Lcom/discord/widgets/user/usersheet/WidgetUserSheet;Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;)V
return-void
.end method

View file

@ -0,0 +1,97 @@
.class final synthetic Lcom/discord/widgets/user/usersheet/WidgetUserSheet$bindSubscriptions$2;
.super Lkotlin/jvm/internal/j;
.source "WidgetUserSheet.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function1;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->bindSubscriptions(Lrx/subscriptions/CompositeSubscription;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1018
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/jvm/internal/j;",
"Lkotlin/jvm/functions/Function1<",
"Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event;",
"Lkotlin/Unit;",
">;"
}
.end annotation
# direct methods
.method constructor <init>(Lcom/discord/widgets/user/usersheet/WidgetUserSheet;)V
.locals 1
const/4 v0, 0x1
invoke-direct {p0, v0, p1}, Lkotlin/jvm/internal/j;-><init>(ILjava/lang/Object;)V
return-void
.end method
# virtual methods
.method public final getName()Ljava/lang/String;
.locals 1
const-string v0, "handleEvent"
return-object v0
.end method
.method public final getOwner()Lkotlin/reflect/KDeclarationContainer;
.locals 1
const-class v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
invoke-static {v0}, Lkotlin/jvm/internal/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Lkotlin/reflect/b;
move-result-object v0
return-object v0
.end method
.method public final getSignature()Ljava/lang/String;
.locals 1
const-string v0, "handleEvent(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event;)V"
return-object v0
.end method
.method public final bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event;
invoke-virtual {p0, p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$bindSubscriptions$2;->invoke(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event;)V
sget-object p1, Lkotlin/Unit;->bgt:Lkotlin/Unit;
return-object p1
.end method
.method public final invoke(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event;)V
.locals 1
const-string v0, "p1"
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$bindSubscriptions$2;->receiver:Ljava/lang/Object;
check-cast v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
invoke-static {v0, p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->access$handleEvent(Lcom/discord/widgets/user/usersheet/WidgetUserSheet;Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event;)V
return-void
.end method

View file

@ -0,0 +1,79 @@
.class final Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$2;
.super Ljava/lang/Object;
.source "WidgetUserSheet.kt"
# interfaces
.implements Landroid/view/View$OnClickListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->configureAdministrativeSection(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
# instance fields
.field final synthetic $channel:Lcom/discord/models/domain/ModelChannel;
.field final synthetic $user:Lcom/discord/models/domain/ModelUser;
.field final synthetic this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
# direct methods
.method constructor <init>(Lcom/discord/widgets/user/usersheet/WidgetUserSheet;Lcom/discord/models/domain/ModelChannel;Lcom/discord/models/domain/ModelUser;)V
.locals 0
iput-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$2;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
iput-object p2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$2;->$channel:Lcom/discord/models/domain/ModelChannel;
iput-object p3, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$2;->$user:Lcom/discord/models/domain/ModelUser;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final onClick(Landroid/view/View;)V
.locals 4
iget-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$2;->$channel:Lcom/discord/models/domain/ModelChannel;
invoke-virtual {p1}, Lcom/discord/models/domain/ModelChannel;->getGuildId()Ljava/lang/Long;
move-result-object p1
const-string v0, "channel.guildId"
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p1}, Ljava/lang/Long;->longValue()J
move-result-wide v0
iget-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$2;->$user:Lcom/discord/models/domain/ModelUser;
invoke-virtual {p1}, Lcom/discord/models/domain/ModelUser;->getId()J
move-result-wide v2
iget-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$2;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
invoke-virtual {p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->getActivity()Landroidx/fragment/app/FragmentActivity;
move-result-object p1
check-cast p1, Landroid/app/Activity;
invoke-static {v0, v1, v2, v3, p1}, Lcom/discord/widgets/servers/WidgetServerSettingsEditMember;->launch(JJLandroid/app/Activity;)V
return-void
.end method

View file

@ -0,0 +1,75 @@
.class final Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$3$1;
.super Lkotlin/jvm/internal/m;
.source "WidgetUserSheet.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function1;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$3;->onClick(Landroid/view/View;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/jvm/internal/m;",
"Lkotlin/jvm/functions/Function1<",
"Ljava/lang/Void;",
"Lkotlin/Unit;",
">;"
}
.end annotation
# static fields
.field public static final INSTANCE:Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$3$1;
# direct methods
.method static constructor <clinit>()V
.locals 1
new-instance v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$3$1;
invoke-direct {v0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$3$1;-><init>()V
sput-object v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$3$1;->INSTANCE:Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$3$1;
return-void
.end method
.method constructor <init>()V
.locals 1
const/4 v0, 0x1
invoke-direct {p0, v0}, Lkotlin/jvm/internal/m;-><init>(I)V
return-void
.end method
# virtual methods
.method public final bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Ljava/lang/Void;
invoke-virtual {p0, p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$3$1;->invoke(Ljava/lang/Void;)V
sget-object p1, Lkotlin/Unit;->bgt:Lkotlin/Unit;
return-object p1
.end method
.method public final invoke(Ljava/lang/Void;)V
.locals 0
return-void
.end method

View file

@ -0,0 +1,115 @@
.class final Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$3;
.super Ljava/lang/Object;
.source "WidgetUserSheet.kt"
# interfaces
.implements Landroid/view/View$OnClickListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->configureAdministrativeSection(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
# instance fields
.field final synthetic $channel:Lcom/discord/models/domain/ModelChannel;
.field final synthetic $user:Lcom/discord/models/domain/ModelUser;
.field final synthetic this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
# direct methods
.method constructor <init>(Lcom/discord/widgets/user/usersheet/WidgetUserSheet;Lcom/discord/models/domain/ModelChannel;Lcom/discord/models/domain/ModelUser;)V
.locals 0
iput-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$3;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
iput-object p2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$3;->$channel:Lcom/discord/models/domain/ModelChannel;
iput-object p3, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$3;->$user:Lcom/discord/models/domain/ModelUser;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final onClick(Landroid/view/View;)V
.locals 21
move-object/from16 v0, p0
sget-object v1, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
invoke-virtual {v1}, Lcom/discord/stores/StoreStream$Companion;->getChannels()Lcom/discord/stores/StoreChannels;
move-result-object v1
iget-object v2, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$3;->$channel:Lcom/discord/models/domain/ModelChannel;
invoke-virtual {v2}, Lcom/discord/models/domain/ModelChannel;->getId()J
move-result-wide v2
iget-object v4, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$3;->$user:Lcom/discord/models/domain/ModelUser;
invoke-virtual {v4}, Lcom/discord/models/domain/ModelUser;->getId()J
move-result-wide v4
invoke-virtual {v1, v2, v3, v4, v5}, Lcom/discord/stores/StoreChannels;->removeGroupRecipient(JJ)Lrx/Observable;
move-result-object v6
const-wide/16 v7, 0x0
const/4 v9, 0x0
const/4 v10, 0x1
const/4 v11, 0x0
invoke-static/range {v6 .. v11}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->takeSingleUntilTimeout$default(Lrx/Observable;JZILjava/lang/Object;)Lrx/Observable;
move-result-object v12
iget-object v1, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$3;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
invoke-virtual {v1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->getContext()Landroid/content/Context;
move-result-object v13
sget-object v1, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$3$1;->INSTANCE:Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$3$1;
move-object/from16 v16, v1
check-cast v16, Lkotlin/jvm/functions/Function1;
const-string v14, "REST: remove group member"
const/4 v15, 0x0
const/16 v17, 0x0
const/16 v18, 0x0
const/16 v19, 0x34
const/16 v20, 0x0
invoke-static/range {v12 .. v20}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Landroid/content/Context;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)V
iget-object v1, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$3;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
invoke-virtual {v1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->dismiss()V
return-void
.end method

View file

@ -0,0 +1,97 @@
.class final Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$4;
.super Ljava/lang/Object;
.source "WidgetUserSheet.kt"
# interfaces
.implements Landroid/view/View$OnClickListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->configureAdministrativeSection(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
# instance fields
.field final synthetic $channel:Lcom/discord/models/domain/ModelChannel;
.field final synthetic $user:Lcom/discord/models/domain/ModelUser;
.field final synthetic this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
# direct methods
.method constructor <init>(Lcom/discord/widgets/user/usersheet/WidgetUserSheet;Lcom/discord/models/domain/ModelUser;Lcom/discord/models/domain/ModelChannel;)V
.locals 0
iput-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$4;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
iput-object p2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$4;->$user:Lcom/discord/models/domain/ModelUser;
iput-object p3, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$4;->$channel:Lcom/discord/models/domain/ModelChannel;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final onClick(Landroid/view/View;)V
.locals 7
sget-object v0, Lcom/discord/widgets/user/WidgetKickUser;->Companion:Lcom/discord/widgets/user/WidgetKickUser$Companion;
iget-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$4;->$user:Lcom/discord/models/domain/ModelUser;
invoke-virtual {p1}, Lcom/discord/models/domain/ModelUser;->getUsername()Ljava/lang/String;
move-result-object v1
const-string p1, "user.username"
invoke-static {v1, p1}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
iget-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$4;->$channel:Lcom/discord/models/domain/ModelChannel;
invoke-virtual {p1}, Lcom/discord/models/domain/ModelChannel;->getGuildId()Ljava/lang/Long;
move-result-object p1
const-string v2, "channel.guildId"
invoke-static {p1, v2}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p1}, Ljava/lang/Long;->longValue()J
move-result-wide v2
iget-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$4;->$user:Lcom/discord/models/domain/ModelUser;
invoke-virtual {p1}, Lcom/discord/models/domain/ModelUser;->getId()J
move-result-wide v4
iget-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$4;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
invoke-virtual {p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->requireFragmentManager()Landroidx/fragment/app/FragmentManager;
move-result-object v6
const-string p1, "requireFragmentManager()"
invoke-static {v6, p1}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual/range {v0 .. v6}, Lcom/discord/widgets/user/WidgetKickUser$Companion;->launch(Ljava/lang/String;JJLandroidx/fragment/app/FragmentManager;)V
iget-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$4;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
invoke-virtual {p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->dismiss()V
return-void
.end method

View file

@ -0,0 +1,89 @@
.class final Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$5;
.super Ljava/lang/Object;
.source "WidgetUserSheet.kt"
# interfaces
.implements Landroid/view/View$OnClickListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->configureAdministrativeSection(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
# instance fields
.field final synthetic $channel:Lcom/discord/models/domain/ModelChannel;
.field final synthetic $user:Lcom/discord/models/domain/ModelUser;
.field final synthetic this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
# direct methods
.method constructor <init>(Lcom/discord/widgets/user/usersheet/WidgetUserSheet;Lcom/discord/models/domain/ModelUser;Lcom/discord/models/domain/ModelChannel;)V
.locals 0
iput-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$5;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
iput-object p2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$5;->$user:Lcom/discord/models/domain/ModelUser;
iput-object p3, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$5;->$channel:Lcom/discord/models/domain/ModelChannel;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final onClick(Landroid/view/View;)V
.locals 7
sget-object v0, Lcom/discord/widgets/user/WidgetBanUser;->Companion:Lcom/discord/widgets/user/WidgetBanUser$Companion;
iget-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$5;->$user:Lcom/discord/models/domain/ModelUser;
invoke-virtual {p1}, Lcom/discord/models/domain/ModelUser;->getUsername()Ljava/lang/String;
move-result-object v1
const-string p1, "user.username"
invoke-static {v1, p1}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
iget-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$5;->$channel:Lcom/discord/models/domain/ModelChannel;
invoke-virtual {p1}, Lcom/discord/models/domain/ModelChannel;->getGuildId()Ljava/lang/Long;
move-result-object p1
const-string v2, "channel.guildId"
invoke-static {p1, v2}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p1}, Ljava/lang/Long;->longValue()J
move-result-wide v2
iget-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$5;->$user:Lcom/discord/models/domain/ModelUser;
invoke-virtual {p1}, Lcom/discord/models/domain/ModelUser;->getId()J
move-result-wide v4
iget-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$5;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
invoke-virtual {p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->getFragmentManager()Landroidx/fragment/app/FragmentManager;
move-result-object v6
invoke-virtual/range {v0 .. v6}, Lcom/discord/widgets/user/WidgetBanUser$Companion;->launch(Ljava/lang/String;JJLandroidx/fragment/app/FragmentManager;)V
return-void
.end method

View file

@ -0,0 +1,73 @@
.class final Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$6$1;
.super Ljava/lang/Object;
.source "WidgetUserSheet.kt"
# interfaces
.implements Lrx/functions/Action1;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$6;->onClick(Landroid/view/View;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrx/functions/Action1<",
"Ljava/lang/Void;",
">;"
}
.end annotation
# static fields
.field public static final INSTANCE:Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$6$1;
# direct methods
.method static constructor <clinit>()V
.locals 1
new-instance v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$6$1;
invoke-direct {v0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$6$1;-><init>()V
sput-object v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$6$1;->INSTANCE:Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$6$1;
return-void
.end method
.method constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final bridge synthetic call(Ljava/lang/Object;)V
.locals 0
check-cast p1, Ljava/lang/Void;
invoke-virtual {p0, p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$6$1;->call(Ljava/lang/Void;)V
return-void
.end method
.method public final call(Ljava/lang/Void;)V
.locals 0
return-void
.end method

View file

@ -0,0 +1,123 @@
.class final Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$6;
.super Ljava/lang/Object;
.source "WidgetUserSheet.kt"
# interfaces
.implements Landroid/view/View$OnClickListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->configureAdministrativeSection(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
# instance fields
.field final synthetic $channel:Lcom/discord/models/domain/ModelChannel;
.field final synthetic $isServerMuted:Z
.field final synthetic $user:Lcom/discord/models/domain/ModelUser;
.field final synthetic this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
# direct methods
.method constructor <init>(Lcom/discord/widgets/user/usersheet/WidgetUserSheet;Lcom/discord/models/domain/ModelChannel;Lcom/discord/models/domain/ModelUser;Z)V
.locals 0
iput-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$6;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
iput-object p2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$6;->$channel:Lcom/discord/models/domain/ModelChannel;
iput-object p3, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$6;->$user:Lcom/discord/models/domain/ModelUser;
iput-boolean p4, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$6;->$isServerMuted:Z
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final onClick(Landroid/view/View;)V
.locals 7
sget-object p1, Lcom/discord/utilities/rest/RestAPI;->Companion:Lcom/discord/utilities/rest/RestAPI$Companion;
invoke-virtual {p1}, Lcom/discord/utilities/rest/RestAPI$Companion;->getApi()Lcom/discord/utilities/rest/RestAPI;
move-result-object v0
iget-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$6;->$channel:Lcom/discord/models/domain/ModelChannel;
invoke-virtual {p1}, Lcom/discord/models/domain/ModelChannel;->getGuildId()Ljava/lang/Long;
move-result-object p1
const-string v1, "channel.guildId"
invoke-static {p1, v1}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p1}, Ljava/lang/Long;->longValue()J
move-result-wide v1
iget-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$6;->$user:Lcom/discord/models/domain/ModelUser;
invoke-virtual {p1}, Lcom/discord/models/domain/ModelUser;->getId()J
move-result-wide v3
sget-object p1, Lcom/discord/restapi/RestAPIParams$GuildMember;->Companion:Lcom/discord/restapi/RestAPIParams$GuildMember$Companion;
iget-boolean v5, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$6;->$isServerMuted:Z
const/4 v6, 0x1
xor-int/2addr v5, v6
invoke-virtual {p1, v5}, Lcom/discord/restapi/RestAPIParams$GuildMember$Companion;->createWithMute(Z)Lcom/discord/restapi/RestAPIParams$GuildMember;
move-result-object v5
invoke-virtual/range {v0 .. v5}, Lcom/discord/utilities/rest/RestAPI;->changeGuildMember(JJLcom/discord/restapi/RestAPIParams$GuildMember;)Lrx/Observable;
move-result-object p1
const/4 v0, 0x0
const/4 v1, 0x0
invoke-static {p1, v0, v6, v1}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->restSubscribeOn$default(Lrx/Observable;ZILjava/lang/Object;)Lrx/Observable;
move-result-object p1
invoke-static {p1}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->ui(Lrx/Observable;)Lrx/Observable;
move-result-object p1
sget-object v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$6$1;->INSTANCE:Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$6$1;
check-cast v0, Lrx/functions/Action1;
iget-object v1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$6;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
invoke-virtual {v1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->getContext()Landroid/content/Context;
move-result-object v1
invoke-static {v0, v1}, Lcom/discord/app/i;->a(Lrx/functions/Action1;Landroid/content/Context;)Lrx/Observable$c;
move-result-object v0
invoke-virtual {p1, v0}, Lrx/Observable;->a(Lrx/Observable$c;)Lrx/Observable;
return-void
.end method

View file

@ -0,0 +1,73 @@
.class final Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$7$1;
.super Ljava/lang/Object;
.source "WidgetUserSheet.kt"
# interfaces
.implements Lrx/functions/Action1;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$7;->onClick(Landroid/view/View;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrx/functions/Action1<",
"Ljava/lang/Void;",
">;"
}
.end annotation
# static fields
.field public static final INSTANCE:Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$7$1;
# direct methods
.method static constructor <clinit>()V
.locals 1
new-instance v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$7$1;
invoke-direct {v0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$7$1;-><init>()V
sput-object v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$7$1;->INSTANCE:Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$7$1;
return-void
.end method
.method constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final bridge synthetic call(Ljava/lang/Object;)V
.locals 0
check-cast p1, Ljava/lang/Void;
invoke-virtual {p0, p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$7$1;->call(Ljava/lang/Void;)V
return-void
.end method
.method public final call(Ljava/lang/Void;)V
.locals 0
return-void
.end method

View file

@ -0,0 +1,129 @@
.class final Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$7;
.super Ljava/lang/Object;
.source "WidgetUserSheet.kt"
# interfaces
.implements Landroid/view/View$OnClickListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->configureAdministrativeSection(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
# instance fields
.field final synthetic $channel:Lcom/discord/models/domain/ModelChannel;
.field final synthetic $isServerDeafened:Z
.field final synthetic $user:Lcom/discord/models/domain/ModelUser;
.field final synthetic this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
# direct methods
.method constructor <init>(Lcom/discord/widgets/user/usersheet/WidgetUserSheet;Lcom/discord/models/domain/ModelChannel;Lcom/discord/models/domain/ModelUser;Z)V
.locals 0
iput-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$7;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
iput-object p2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$7;->$channel:Lcom/discord/models/domain/ModelChannel;
iput-object p3, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$7;->$user:Lcom/discord/models/domain/ModelUser;
iput-boolean p4, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$7;->$isServerDeafened:Z
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final onClick(Landroid/view/View;)V
.locals 7
sget-object p1, Lcom/discord/utilities/rest/RestAPI;->Companion:Lcom/discord/utilities/rest/RestAPI$Companion;
invoke-virtual {p1}, Lcom/discord/utilities/rest/RestAPI$Companion;->getApi()Lcom/discord/utilities/rest/RestAPI;
move-result-object v0
iget-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$7;->$channel:Lcom/discord/models/domain/ModelChannel;
invoke-virtual {p1}, Lcom/discord/models/domain/ModelChannel;->getGuildId()Ljava/lang/Long;
move-result-object p1
const-string v1, "channel.guildId"
invoke-static {p1, v1}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p1}, Ljava/lang/Long;->longValue()J
move-result-wide v1
iget-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$7;->$user:Lcom/discord/models/domain/ModelUser;
invoke-virtual {p1}, Lcom/discord/models/domain/ModelUser;->getId()J
move-result-wide v3
sget-object p1, Lcom/discord/restapi/RestAPIParams$GuildMember;->Companion:Lcom/discord/restapi/RestAPIParams$GuildMember$Companion;
iget-boolean v5, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$7;->$isServerDeafened:Z
const/4 v6, 0x1
xor-int/2addr v5, v6
invoke-virtual {p1, v5}, Lcom/discord/restapi/RestAPIParams$GuildMember$Companion;->createWithDeaf(Z)Lcom/discord/restapi/RestAPIParams$GuildMember;
move-result-object v5
invoke-virtual/range {v0 .. v5}, Lcom/discord/utilities/rest/RestAPI;->changeGuildMember(JJLcom/discord/restapi/RestAPIParams$GuildMember;)Lrx/Observable;
move-result-object p1
const/4 v0, 0x0
const/4 v1, 0x0
invoke-static {p1, v0, v6, v1}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->restSubscribeOn$default(Lrx/Observable;ZILjava/lang/Object;)Lrx/Observable;
move-result-object p1
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$7;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
check-cast v0, Lcom/discord/app/AppComponent;
const/4 v2, 0x2
invoke-static {p1, v0, v1, v2, v1}, 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 p1
sget-object v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$7$1;->INSTANCE:Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$7$1;
check-cast v0, Lrx/functions/Action1;
iget-object v1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$7;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
invoke-virtual {v1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->getContext()Landroid/content/Context;
move-result-object v1
invoke-static {v0, v1}, Lcom/discord/app/i;->a(Lrx/functions/Action1;Landroid/content/Context;)Lrx/Observable$c;
move-result-object v0
invoke-virtual {p1, v0}, Lrx/Observable;->a(Lrx/Observable$c;)Lrx/Observable;
return-void
.end method

View file

@ -0,0 +1,79 @@
.class final Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$8;
.super Ljava/lang/Object;
.source "WidgetUserSheet.kt"
# interfaces
.implements Landroid/view/View$OnClickListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->configureAdministrativeSection(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
# instance fields
.field final synthetic $channel:Lcom/discord/models/domain/ModelChannel;
.field final synthetic this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
# direct methods
.method constructor <init>(Lcom/discord/widgets/user/usersheet/WidgetUserSheet;Lcom/discord/models/domain/ModelChannel;)V
.locals 0
iput-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$8;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
iput-object p2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$8;->$channel:Lcom/discord/models/domain/ModelChannel;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final onClick(Landroid/view/View;)V
.locals 9
sget-object v0, Lcom/discord/widgets/channels/WidgetChannelSelector;->Companion:Lcom/discord/widgets/channels/WidgetChannelSelector$Companion;
iget-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$8;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
move-object v1, p1
check-cast v1, Landroidx/fragment/app/Fragment;
iget-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$8;->$channel:Lcom/discord/models/domain/ModelChannel;
invoke-virtual {p1}, Lcom/discord/models/domain/ModelChannel;->getGuildId()Ljava/lang/Long;
move-result-object p1
const-string v2, "channel.guildId"
invoke-static {p1, v2}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p1}, Ljava/lang/Long;->longValue()J
move-result-wide v2
const/16 v4, 0xfa0
const/4 v5, 0x0
const/4 v6, 0x0
const/16 v7, 0x18
const/4 v8, 0x0
invoke-static/range {v0 .. v8}, Lcom/discord/widgets/channels/WidgetChannelSelector$Companion;->launchForVoice$default(Lcom/discord/widgets/channels/WidgetChannelSelector$Companion;Landroidx/fragment/app/Fragment;JIZIILjava/lang/Object;)V
return-void
.end method

View file

@ -0,0 +1,75 @@
.class final Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$9$1;
.super Ljava/lang/Object;
.source "WidgetUserSheet.kt"
# interfaces
.implements Lrx/functions/Action1;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$9;->invoke(JLjava/lang/String;I)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrx/functions/Action1<",
"Ljava/lang/Void;",
">;"
}
.end annotation
# instance fields
.field final synthetic this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$9;
# direct methods
.method constructor <init>(Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$9;)V
.locals 0
iput-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$9$1;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$9;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final bridge synthetic call(Ljava/lang/Object;)V
.locals 0
check-cast p1, Ljava/lang/Void;
invoke-virtual {p0, p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$9$1;->call(Ljava/lang/Void;)V
return-void
.end method
.method public final call(Ljava/lang/Void;)V
.locals 1
iget-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$9$1;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$9;
iget-object p1, p1, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$9;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
invoke-virtual {p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->getContext()Landroid/content/Context;
move-result-object p1
const v0, 0x7f120bb1
invoke-static {p1, v0}, Lcom/discord/app/h;->c(Landroid/content/Context;I)V
return-void
.end method

View file

@ -0,0 +1,165 @@
.class final Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$9;
.super Lkotlin/jvm/internal/m;
.source "WidgetUserSheet.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function3;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->configureAdministrativeSection(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/jvm/internal/m;",
"Lkotlin/jvm/functions/Function3<",
"Ljava/lang/Long;",
"Ljava/lang/String;",
"Ljava/lang/Integer;",
"Lkotlin/Unit;",
">;"
}
.end annotation
# instance fields
.field final synthetic $channel:Lcom/discord/models/domain/ModelChannel;
.field final synthetic $user:Lcom/discord/models/domain/ModelUser;
.field final synthetic this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
# direct methods
.method constructor <init>(Lcom/discord/widgets/user/usersheet/WidgetUserSheet;Lcom/discord/models/domain/ModelChannel;Lcom/discord/models/domain/ModelUser;)V
.locals 0
iput-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$9;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
iput-object p2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$9;->$channel:Lcom/discord/models/domain/ModelChannel;
iput-object p3, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$9;->$user:Lcom/discord/models/domain/ModelUser;
const/4 p1, 0x3
invoke-direct {p0, p1}, Lkotlin/jvm/internal/m;-><init>(I)V
return-void
.end method
# virtual methods
.method public final synthetic invoke(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.locals 2
check-cast p1, Ljava/lang/Number;
invoke-virtual {p1}, Ljava/lang/Number;->longValue()J
move-result-wide v0
check-cast p2, Ljava/lang/String;
check-cast p3, Ljava/lang/Number;
invoke-virtual {p3}, Ljava/lang/Number;->intValue()I
move-result p1
invoke-virtual {p0, v0, v1, p2, p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$9;->invoke(JLjava/lang/String;I)V
sget-object p1, Lkotlin/Unit;->bgt:Lkotlin/Unit;
return-object p1
.end method
.method public final invoke(JLjava/lang/String;I)V
.locals 6
const-string p4, "<anonymous parameter 1>"
invoke-static {p3, p4}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
sget-object p3, Lcom/discord/utilities/rest/RestAPI;->Companion:Lcom/discord/utilities/rest/RestAPI$Companion;
invoke-virtual {p3}, Lcom/discord/utilities/rest/RestAPI$Companion;->getApi()Lcom/discord/utilities/rest/RestAPI;
move-result-object v0
iget-object p3, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$9;->$channel:Lcom/discord/models/domain/ModelChannel;
invoke-virtual {p3}, Lcom/discord/models/domain/ModelChannel;->getGuildId()Ljava/lang/Long;
move-result-object p3
const-string p4, "channel.guildId"
invoke-static {p3, p4}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p3}, Ljava/lang/Long;->longValue()J
move-result-wide v1
iget-object p3, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$9;->$user:Lcom/discord/models/domain/ModelUser;
invoke-virtual {p3}, Lcom/discord/models/domain/ModelUser;->getId()J
move-result-wide v3
sget-object p3, Lcom/discord/restapi/RestAPIParams$GuildMember;->Companion:Lcom/discord/restapi/RestAPIParams$GuildMember$Companion;
invoke-virtual {p3, p1, p2}, Lcom/discord/restapi/RestAPIParams$GuildMember$Companion;->createWithChannelId(J)Lcom/discord/restapi/RestAPIParams$GuildMember;
move-result-object v5
invoke-virtual/range {v0 .. v5}, Lcom/discord/utilities/rest/RestAPI;->changeGuildMember(JJLcom/discord/restapi/RestAPIParams$GuildMember;)Lrx/Observable;
move-result-object p1
const/4 p2, 0x0
const/4 p3, 0x0
const/4 p4, 0x1
invoke-static {p1, p3, p4, p2}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->restSubscribeOn$default(Lrx/Observable;ZILjava/lang/Object;)Lrx/Observable;
move-result-object p1
iget-object p3, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$9;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
check-cast p3, Lcom/discord/app/AppComponent;
const/4 p4, 0x2
invoke-static {p1, p3, p2, p4, p2}, 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 p1
new-instance p2, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$9$1;
invoke-direct {p2, p0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$9$1;-><init>(Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$9;)V
check-cast p2, Lrx/functions/Action1;
iget-object p3, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$9;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
invoke-virtual {p3}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->getContext()Landroid/content/Context;
move-result-object p3
invoke-static {p2, p3}, Lcom/discord/app/i;->a(Lrx/functions/Action1;Landroid/content/Context;)Lrx/Observable$c;
move-result-object p2
invoke-virtual {p1, p2}, Lrx/Observable;->a(Lrx/Observable$c;)Lrx/Observable;
return-void
.end method

View file

@ -0,0 +1,81 @@
.class final Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureDeveloperSection$$inlined$apply$lambda$1;
.super Ljava/lang/Object;
.source "WidgetUserSheet.kt"
# interfaces
.implements Landroid/view/View$OnClickListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->configureDeveloperSection(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
# instance fields
.field final synthetic $this_apply:Landroid/view/View;
.field final synthetic $viewState$inlined:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;
.field final synthetic this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
# direct methods
.method constructor <init>(Landroid/view/View;Lcom/discord/widgets/user/usersheet/WidgetUserSheet;Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;)V
.locals 0
iput-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureDeveloperSection$$inlined$apply$lambda$1;->$this_apply:Landroid/view/View;
iput-object p2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureDeveloperSection$$inlined$apply$lambda$1;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
iput-object p3, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureDeveloperSection$$inlined$apply$lambda$1;->$viewState$inlined:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final onClick(Landroid/view/View;)V
.locals 2
iget-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureDeveloperSection$$inlined$apply$lambda$1;->$this_apply:Landroid/view/View;
invoke-virtual {p1}, Landroid/view/View;->getContext()Landroid/content/Context;
move-result-object p1
const-string v0, "context"
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureDeveloperSection$$inlined$apply$lambda$1;->$viewState$inlined:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;
invoke-virtual {v0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;->getUser()Lcom/discord/models/domain/ModelUser;
move-result-object v0
invoke-virtual {v0}, Lcom/discord/models/domain/ModelUser;->getId()J
move-result-wide v0
invoke-static {v0, v1}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;
move-result-object v0
check-cast v0, Ljava/lang/CharSequence;
invoke-static {p1, v0}, Lcom/discord/app/h;->c(Landroid/content/Context;Ljava/lang/CharSequence;)V
iget-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureDeveloperSection$$inlined$apply$lambda$1;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
invoke-virtual {p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->dismiss()V
return-void
.end method

View file

@ -0,0 +1,45 @@
.class final Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureIncomingFriendRequest$1;
.super Ljava/lang/Object;
.source "WidgetUserSheet.kt"
# interfaces
.implements Landroid/view/View$OnClickListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->configureIncomingFriendRequest(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
# direct methods
.method constructor <init>(Lcom/discord/widgets/user/usersheet/WidgetUserSheet;)V
.locals 0
iput-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureIncomingFriendRequest$1;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final onClick(Landroid/view/View;)V
.locals 0
iget-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureIncomingFriendRequest$1;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
invoke-static {p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->access$acceptFriendRequest(Lcom/discord/widgets/user/usersheet/WidgetUserSheet;)V
return-void
.end method

View file

@ -0,0 +1,45 @@
.class final Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureIncomingFriendRequest$2;
.super Ljava/lang/Object;
.source "WidgetUserSheet.kt"
# interfaces
.implements Landroid/view/View$OnClickListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->configureIncomingFriendRequest(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
# direct methods
.method constructor <init>(Lcom/discord/widgets/user/usersheet/WidgetUserSheet;)V
.locals 0
iput-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureIncomingFriendRequest$2;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final onClick(Landroid/view/View;)V
.locals 0
iget-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureIncomingFriendRequest$2;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
invoke-static {p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->access$ignoreFriendRequest(Lcom/discord/widgets/user/usersheet/WidgetUserSheet;)V
return-void
.end method

View file

@ -0,0 +1,77 @@
.class final Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$1;
.super Ljava/lang/Object;
.source "WidgetUserSheet.kt"
# interfaces
.implements Landroid/view/View$OnClickListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->configureProfileActionButtons(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
# instance fields
.field final synthetic $viewState:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;
.field final synthetic this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
# direct methods
.method constructor <init>(Lcom/discord/widgets/user/usersheet/WidgetUserSheet;Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;)V
.locals 0
iput-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$1;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
iput-object p2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$1;->$viewState:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final onClick(Landroid/view/View;)V
.locals 3
sget-object p1, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
invoke-virtual {p1}, Lcom/discord/stores/StoreStream$Companion;->getChannelsSelected()Lcom/discord/stores/StoreChannelsSelected;
move-result-object p1
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$1;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
invoke-virtual {v0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->requireContext()Landroid/content/Context;
move-result-object v0
const-string v1, "this@WidgetUserSheet.requireContext()"
invoke-static {v0, v1}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
iget-object v1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$1;->$viewState:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;
invoke-virtual {v1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;->getUser()Lcom/discord/models/domain/ModelUser;
move-result-object v1
invoke-virtual {v1}, Lcom/discord/models/domain/ModelUser;->getId()J
move-result-wide v1
invoke-virtual {p1, v0, v1, v2}, Lcom/discord/stores/StoreChannelsSelected;->findAndSetDirectMessage(Landroid/content/Context;J)V
iget-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$1;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
invoke-virtual {p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->dismiss()V
return-void
.end method

View file

@ -0,0 +1,49 @@
.class final Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$2;
.super Ljava/lang/Object;
.source "WidgetUserSheet.kt"
# interfaces
.implements Landroid/view/View$OnClickListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->configureProfileActionButtons(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
# direct methods
.method constructor <init>(Lcom/discord/widgets/user/usersheet/WidgetUserSheet;)V
.locals 0
iput-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$2;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final onClick(Landroid/view/View;)V
.locals 0
iget-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$2;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
invoke-static {p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->access$getViewModel$p(Lcom/discord/widgets/user/usersheet/WidgetUserSheet;)Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;
move-result-object p1
invoke-virtual {p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;->launchVoiceCall()V
return-void
.end method

View file

@ -0,0 +1,49 @@
.class final Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$3;
.super Ljava/lang/Object;
.source "WidgetUserSheet.kt"
# interfaces
.implements Landroid/view/View$OnClickListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->configureProfileActionButtons(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
# direct methods
.method constructor <init>(Lcom/discord/widgets/user/usersheet/WidgetUserSheet;)V
.locals 0
iput-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$3;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final onClick(Landroid/view/View;)V
.locals 0
iget-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$3;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
invoke-static {p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->access$getViewModel$p(Lcom/discord/widgets/user/usersheet/WidgetUserSheet;)Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;
move-result-object p1
invoke-virtual {p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;->launchVideoCall()V
return-void
.end method

View file

@ -0,0 +1,45 @@
.class final Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$4;
.super Ljava/lang/Object;
.source "WidgetUserSheet.kt"
# interfaces
.implements Landroid/view/View$OnClickListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->configureProfileActionButtons(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
# direct methods
.method constructor <init>(Lcom/discord/widgets/user/usersheet/WidgetUserSheet;)V
.locals 0
iput-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$4;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final onClick(Landroid/view/View;)V
.locals 0
iget-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$4;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
invoke-static {p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->access$addFriend(Lcom/discord/widgets/user/usersheet/WidgetUserSheet;)V
return-void
.end method

View file

@ -0,0 +1,97 @@
.class final synthetic Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5$1;
.super Lkotlin/jvm/internal/j;
.source "WidgetUserSheet.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function1;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5;->onClick(Landroid/view/View;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1018
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/jvm/internal/j;",
"Lkotlin/jvm/functions/Function1<",
"Ljava/lang/Integer;",
"Lkotlin/Unit;",
">;"
}
.end annotation
# direct methods
.method constructor <init>(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;)V
.locals 1
const/4 v0, 0x1
invoke-direct {p0, v0, p1}, Lkotlin/jvm/internal/j;-><init>(ILjava/lang/Object;)V
return-void
.end method
# virtual methods
.method public final getName()Ljava/lang/String;
.locals 1
const-string v0, "removeRelationship"
return-object v0
.end method
.method public final getOwner()Lkotlin/reflect/KDeclarationContainer;
.locals 1
const-class v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;
invoke-static {v0}, Lkotlin/jvm/internal/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Lkotlin/reflect/b;
move-result-object v0
return-object v0
.end method
.method public final getSignature()Ljava/lang/String;
.locals 1
const-string v0, "removeRelationship(I)V"
return-object v0
.end method
.method public final synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Ljava/lang/Number;
invoke-virtual {p1}, Ljava/lang/Number;->intValue()I
move-result p1
invoke-virtual {p0, p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5$1;->invoke(I)V
sget-object p1, Lkotlin/Unit;->bgt:Lkotlin/Unit;
return-object p1
.end method
.method public final invoke(I)V
.locals 1
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5$1;->receiver:Ljava/lang/Object;
check-cast v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;
invoke-virtual {v0, p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;->removeRelationship(I)V
return-void
.end method

View file

@ -0,0 +1,90 @@
.class final synthetic Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5$2;
.super Lkotlin/jvm/internal/j;
.source "WidgetUserSheet.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function0;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5;->onClick(Landroid/view/View;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1018
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/jvm/internal/j;",
"Lkotlin/jvm/functions/Function0<",
"Lkotlin/Unit;",
">;"
}
.end annotation
# direct methods
.method constructor <init>(Lcom/discord/widgets/user/usersheet/WidgetUserSheet;)V
.locals 1
const/4 v0, 0x0
invoke-direct {p0, v0, p1}, Lkotlin/jvm/internal/j;-><init>(ILjava/lang/Object;)V
return-void
.end method
# virtual methods
.method public final getName()Ljava/lang/String;
.locals 1
const-string v0, "acceptFriendRequest"
return-object v0
.end method
.method public final getOwner()Lkotlin/reflect/KDeclarationContainer;
.locals 1
const-class v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
invoke-static {v0}, Lkotlin/jvm/internal/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Lkotlin/reflect/b;
move-result-object v0
return-object v0
.end method
.method public final getSignature()Ljava/lang/String;
.locals 1
const-string v0, "acceptFriendRequest()V"
return-object v0
.end method
.method public final bridge synthetic invoke()Ljava/lang/Object;
.locals 1
invoke-virtual {p0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5$2;->invoke()V
sget-object v0, Lkotlin/Unit;->bgt:Lkotlin/Unit;
return-object v0
.end method
.method public final invoke()V
.locals 1
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5$2;->receiver:Ljava/lang/Object;
check-cast v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
invoke-static {v0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->access$acceptFriendRequest(Lcom/discord/widgets/user/usersheet/WidgetUserSheet;)V
return-void
.end method

View file

@ -0,0 +1,90 @@
.class final synthetic Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5$3;
.super Lkotlin/jvm/internal/j;
.source "WidgetUserSheet.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function0;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5;->onClick(Landroid/view/View;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1018
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/jvm/internal/j;",
"Lkotlin/jvm/functions/Function0<",
"Lkotlin/Unit;",
">;"
}
.end annotation
# direct methods
.method constructor <init>(Lcom/discord/widgets/user/usersheet/WidgetUserSheet;)V
.locals 1
const/4 v0, 0x0
invoke-direct {p0, v0, p1}, Lkotlin/jvm/internal/j;-><init>(ILjava/lang/Object;)V
return-void
.end method
# virtual methods
.method public final getName()Ljava/lang/String;
.locals 1
const-string v0, "ignoreFriendRequest"
return-object v0
.end method
.method public final getOwner()Lkotlin/reflect/KDeclarationContainer;
.locals 1
const-class v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
invoke-static {v0}, Lkotlin/jvm/internal/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Lkotlin/reflect/b;
move-result-object v0
return-object v0
.end method
.method public final getSignature()Ljava/lang/String;
.locals 1
const-string v0, "ignoreFriendRequest()V"
return-object v0
.end method
.method public final bridge synthetic invoke()Ljava/lang/Object;
.locals 1
invoke-virtual {p0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5$3;->invoke()V
sget-object v0, Lkotlin/Unit;->bgt:Lkotlin/Unit;
return-object v0
.end method
.method public final invoke()V
.locals 1
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5$3;->receiver:Ljava/lang/Object;
check-cast v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
invoke-static {v0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->access$ignoreFriendRequest(Lcom/discord/widgets/user/usersheet/WidgetUserSheet;)V
return-void
.end method

View file

@ -0,0 +1,142 @@
.class final Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5;
.super Ljava/lang/Object;
.source "WidgetUserSheet.kt"
# interfaces
.implements Landroid/view/View$OnClickListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->configureProfileActionButtons(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
# instance fields
.field final synthetic $userRelationshipType:I
.field final synthetic $viewState:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;
.field final synthetic this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
# direct methods
.method constructor <init>(Lcom/discord/widgets/user/usersheet/WidgetUserSheet;ILcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;)V
.locals 0
iput-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
iput p2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5;->$userRelationshipType:I
iput-object p3, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5;->$viewState:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final onClick(Landroid/view/View;)V
.locals 4
iget p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5;->$userRelationshipType:I
const/4 v0, 0x3
const-string v1, "requireContext()"
const-string v2, "requireFragmentManager()"
if-eq p1, v0, :cond_1
const/4 v0, 0x4
if-eq p1, v0, :cond_0
goto :goto_0
:cond_0
iget-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5;->$viewState:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;
invoke-virtual {p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;->getUser()Lcom/discord/models/domain/ModelUser;
move-result-object p1
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
invoke-virtual {v0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->requireContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0, v1}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
iget-object v1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
invoke-virtual {v1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->requireFragmentManager()Landroidx/fragment/app/FragmentManager;
move-result-object v1
invoke-static {v1, v2}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v2, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5$1;
iget-object v3, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
invoke-static {v3}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->access$getViewModel$p(Lcom/discord/widgets/user/usersheet/WidgetUserSheet;)Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;
move-result-object v3
invoke-direct {v2, v3}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5$1;-><init>(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;)V
check-cast v2, Lkotlin/jvm/functions/Function1;
invoke-static {p1, v0, v1, v2}, Lcom/discord/dialogs/a;->a(Lcom/discord/models/domain/ModelUser;Landroid/content/Context;Landroidx/fragment/app/FragmentManager;Lkotlin/jvm/functions/Function1;)V
return-void
:cond_1
sget-object p1, Lcom/discord/dialogs/a;->xe:Lcom/discord/dialogs/a;
iget-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
invoke-virtual {p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->requireFragmentManager()Landroidx/fragment/app/FragmentManager;
move-result-object p1
invoke-static {p1, v2}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
invoke-virtual {v0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->requireContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0, v1}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v1, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5$2;
iget-object v2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
invoke-direct {v1, v2}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5$2;-><init>(Lcom/discord/widgets/user/usersheet/WidgetUserSheet;)V
check-cast v1, Lkotlin/jvm/functions/Function0;
new-instance v2, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5$3;
iget-object v3, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
invoke-direct {v2, v3}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5$3;-><init>(Lcom/discord/widgets/user/usersheet/WidgetUserSheet;)V
check-cast v2, Lkotlin/jvm/functions/Function0;
invoke-static {p1, v0, v1, v2}, Lcom/discord/dialogs/a;->a(Landroidx/fragment/app/FragmentManager;Landroid/content/Context;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function0;)V
:goto_0
return-void
.end method

View file

@ -0,0 +1,74 @@
.class final Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureUI$$inlined$apply$lambda$1;
.super Lkotlin/jvm/internal/m;
.source "WidgetUserSheet.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function0;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->configureUI(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/jvm/internal/m;",
"Lkotlin/jvm/functions/Function0<",
"Lkotlin/Unit;",
">;"
}
.end annotation
# instance fields
.field final synthetic $activity$inlined:Lcom/discord/models/domain/ModelPresence$Activity;
.field final synthetic $model$inlined:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;
.field final synthetic this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
# direct methods
.method constructor <init>(Lcom/discord/widgets/user/usersheet/WidgetUserSheet;Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;Lcom/discord/models/domain/ModelPresence$Activity;)V
.locals 0
iput-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureUI$$inlined$apply$lambda$1;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
iput-object p2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureUI$$inlined$apply$lambda$1;->$model$inlined:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;
iput-object p3, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureUI$$inlined$apply$lambda$1;->$activity$inlined:Lcom/discord/models/domain/ModelPresence$Activity;
const/4 p1, 0x0
invoke-direct {p0, p1}, Lkotlin/jvm/internal/m;-><init>(I)V
return-void
.end method
# virtual methods
.method public final bridge synthetic invoke()Ljava/lang/Object;
.locals 1
invoke-virtual {p0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureUI$$inlined$apply$lambda$1;->invoke()V
sget-object v0, Lkotlin/Unit;->bgt:Lkotlin/Unit;
return-object v0
.end method
.method public final invoke()V
.locals 1
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureUI$$inlined$apply$lambda$1;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
invoke-virtual {v0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->dismiss()V
return-void
.end method

View file

@ -0,0 +1,75 @@
.class final Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureUI$$inlined$apply$lambda$2;
.super Ljava/lang/Object;
.source "WidgetUserSheet.kt"
# interfaces
.implements Landroid/view/View$OnClickListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->configureUI(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
# instance fields
.field final synthetic $isMe$inlined:Z
.field final synthetic $model$inlined:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;
.field final synthetic $this_apply:Landroid/widget/TextView;
.field final synthetic $user$inlined:Lcom/discord/models/domain/ModelUser;
.field final synthetic this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
# direct methods
.method constructor <init>(Landroid/widget/TextView;Lcom/discord/widgets/user/usersheet/WidgetUserSheet;ZLcom/discord/models/domain/ModelUser;Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;)V
.locals 0
iput-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureUI$$inlined$apply$lambda$2;->$this_apply:Landroid/widget/TextView;
iput-object p2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureUI$$inlined$apply$lambda$2;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
iput-boolean p3, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureUI$$inlined$apply$lambda$2;->$isMe$inlined:Z
iput-object p4, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureUI$$inlined$apply$lambda$2;->$user$inlined:Lcom/discord/models/domain/ModelUser;
iput-object p5, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureUI$$inlined$apply$lambda$2;->$model$inlined:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final onClick(Landroid/view/View;)V
.locals 2
sget-object p1, Lcom/discord/widgets/settings/WidgetSettings;->Companion:Lcom/discord/widgets/settings/WidgetSettings$Companion;
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureUI$$inlined$apply$lambda$2;->$this_apply:Landroid/widget/TextView;
invoke-virtual {v0}, Landroid/widget/TextView;->getContext()Landroid/content/Context;
move-result-object v0
const-string v1, "context"
invoke-static {v0, v1}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p1, v0}, Lcom/discord/widgets/settings/WidgetSettings$Companion;->launch(Landroid/content/Context;)V
iget-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureUI$$inlined$apply$lambda$2;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
invoke-virtual {p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->dismiss()V
return-void
.end method

View file

@ -0,0 +1,85 @@
.class final Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureUI$$inlined$apply$lambda$3;
.super Ljava/lang/Object;
.source "WidgetUserSheet.kt"
# interfaces
.implements Landroid/view/View$OnClickListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->configureUI(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
# instance fields
.field final synthetic $isMe$inlined:Z
.field final synthetic $model$inlined:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;
.field final synthetic $this_apply:Landroid/widget/TextView;
.field final synthetic $user$inlined:Lcom/discord/models/domain/ModelUser;
.field final synthetic this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
# direct methods
.method constructor <init>(Landroid/widget/TextView;Lcom/discord/widgets/user/usersheet/WidgetUserSheet;ZLcom/discord/models/domain/ModelUser;Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;)V
.locals 0
iput-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureUI$$inlined$apply$lambda$3;->$this_apply:Landroid/widget/TextView;
iput-object p2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureUI$$inlined$apply$lambda$3;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
iput-boolean p3, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureUI$$inlined$apply$lambda$3;->$isMe$inlined:Z
iput-object p4, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureUI$$inlined$apply$lambda$3;->$user$inlined:Lcom/discord/models/domain/ModelUser;
iput-object p5, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureUI$$inlined$apply$lambda$3;->$model$inlined:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final onClick(Landroid/view/View;)V
.locals 3
iget-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureUI$$inlined$apply$lambda$3;->$this_apply:Landroid/widget/TextView;
invoke-virtual {p1}, Landroid/widget/TextView;->getContext()Landroid/content/Context;
move-result-object p1
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureUI$$inlined$apply$lambda$3;->$user$inlined:Lcom/discord/models/domain/ModelUser;
invoke-virtual {v0}, Lcom/discord/models/domain/ModelUser;->getId()J
move-result-wide v0
iget-object v2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureUI$$inlined$apply$lambda$3;->$model$inlined:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;
invoke-virtual {v2}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;->getChannel()Lcom/discord/models/domain/ModelChannel;
move-result-object v2
invoke-virtual {v2}, Lcom/discord/models/domain/ModelChannel;->getGuildId()Ljava/lang/Long;
move-result-object v2
invoke-static {p1, v0, v1, v2}, Lcom/discord/widgets/user/profile/WidgetUserProfile;->launch(Landroid/content/Context;JLjava/lang/Long;)V
iget-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureUI$$inlined$apply$lambda$3;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
invoke-virtual {p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->dismiss()V
return-void
.end method

View file

@ -0,0 +1,68 @@
.class final Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureVoiceSection$1;
.super Ljava/lang/Object;
.source "WidgetUserSheet.kt"
# interfaces
.implements Landroid/widget/CompoundButton$OnCheckedChangeListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->configureVoiceSection(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
# instance fields
.field final synthetic $viewState:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;
# direct methods
.method constructor <init>(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;)V
.locals 0
iput-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureVoiceSection$1;->$viewState:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final onCheckedChanged(Landroid/widget/CompoundButton;Z)V
.locals 2
iget-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureVoiceSection$1;->$viewState:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;
invoke-virtual {p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;->isUserMuted()Z
move-result p1
if-eq p2, p1, :cond_0
sget-object p1, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
invoke-virtual {p1}, Lcom/discord/stores/StoreStream$Companion;->getMediaSettings()Lcom/discord/stores/StoreMediaSettings;
move-result-object p1
iget-object p2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureVoiceSection$1;->$viewState:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;
invoke-virtual {p2}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;->getUser()Lcom/discord/models/domain/ModelUser;
move-result-object p2
invoke-virtual {p2}, Lcom/discord/models/domain/ModelUser;->getId()J
move-result-wide v0
invoke-virtual {p1, v0, v1}, Lcom/discord/stores/StoreMediaSettings;->toggleUserMuted(J)V
:cond_0
return-void
.end method

View file

@ -0,0 +1,55 @@
.class public final Lcom/discord/widgets/user/usersheet/WidgetUserSheet$onResume$1;
.super Lcom/discord/views/d;
.source "WidgetUserSheet.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->onResume()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
# instance fields
.field final synthetic $userId:J
# direct methods
.method constructor <init>(J)V
.locals 0
iput-wide p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$onResume$1;->$userId:J
invoke-direct {p0}, Lcom/discord/views/d;-><init>()V
return-void
.end method
# virtual methods
.method public final onProgressChanged(Landroid/widget/SeekBar;IZ)V
.locals 2
const-string v0, "seekBar"
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
if-eqz p3, :cond_0
sget-object p1, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
invoke-virtual {p1}, Lcom/discord/stores/StoreStream$Companion;->getMediaSettings()Lcom/discord/stores/StoreMediaSettings;
move-result-object p1
iget-wide v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$onResume$1;->$userId:J
invoke-virtual {p1, v0, v1, p2}, Lcom/discord/stores/StoreMediaSettings;->setUserOutputVolume(JI)V
:cond_0
return-void
.end method

View file

@ -0,0 +1,81 @@
.class final Lcom/discord/widgets/user/usersheet/WidgetUserSheet$onViewCreated$1;
.super Ljava/lang/Object;
.source "WidgetUserSheet.kt"
# interfaces
.implements Landroid/view/View$OnClickListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->onViewCreated(Landroid/view/View;Landroid/os/Bundle;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
# instance fields
.field final synthetic $channelId:J
.field final synthetic $userId:J
.field final synthetic this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
# direct methods
.method constructor <init>(Lcom/discord/widgets/user/usersheet/WidgetUserSheet;JJ)V
.locals 0
iput-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$onViewCreated$1;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
iput-wide p2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$onViewCreated$1;->$userId:J
iput-wide p4, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$onViewCreated$1;->$channelId:J
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final onClick(Landroid/view/View;)V
.locals 5
sget-object p1, Lcom/discord/dialogs/a/a;->xK:Lcom/discord/dialogs/a/a$a;
iget-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$onViewCreated$1;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
invoke-virtual {p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->requireFragmentManager()Landroidx/fragment/app/FragmentManager;
move-result-object p1
const-string v0, "requireFragmentManager()"
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
iget-wide v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$onViewCreated$1;->$userId:J
iget-wide v2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$onViewCreated$1;->$channelId:J
const-string v4, "fragmentManager"
invoke-static {p1, v4}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v4, Lcom/discord/dialogs/a/a;
invoke-direct {v4, v0, v1, v2, v3}, Lcom/discord/dialogs/a/a;-><init>(JJ)V
const-class v0, Lcom/discord/dialogs/a/a;
invoke-virtual {v0}, Ljava/lang/Class;->getName()Ljava/lang/String;
move-result-object v0
invoke-virtual {v4, p1, v0}, Lcom/discord/dialogs/a/a;->show(Landroidx/fragment/app/FragmentManager;Ljava/lang/String;)V
return-void
.end method

View file

@ -0,0 +1,81 @@
.class final Lcom/discord/widgets/user/usersheet/WidgetUserSheet$onViewCreated$2;
.super Lkotlin/jvm/internal/m;
.source "WidgetUserSheet.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function1;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->onViewCreated(Landroid/view/View;Landroid/os/Bundle;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/jvm/internal/m;",
"Lkotlin/jvm/functions/Function1<",
"Ljava/lang/Long;",
"Lkotlin/Unit;",
">;"
}
.end annotation
# instance fields
.field final synthetic this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
# direct methods
.method constructor <init>(Lcom/discord/widgets/user/usersheet/WidgetUserSheet;)V
.locals 0
iput-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$onViewCreated$2;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
const/4 p1, 0x1
invoke-direct {p0, p1}, Lkotlin/jvm/internal/m;-><init>(I)V
return-void
.end method
# virtual methods
.method public final synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 2
check-cast p1, Ljava/lang/Number;
invoke-virtual {p1}, Ljava/lang/Number;->longValue()J
move-result-wide v0
invoke-virtual {p0, v0, v1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$onViewCreated$2;->invoke(J)V
sget-object p1, Lkotlin/Unit;->bgt:Lkotlin/Unit;
return-object p1
.end method
.method public final invoke(J)V
.locals 1
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$onViewCreated$2;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
invoke-virtual {v0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0, p1, p2}, Lcom/discord/widgets/user/profile/WidgetUserProfile;->launch(Landroid/content/Context;J)V
iget-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$onViewCreated$2;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
invoke-virtual {p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->dismiss()V
return-void
.end method

View file

@ -0,0 +1,93 @@
.class final synthetic Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$1;
.super Lkotlin/jvm/internal/j;
.source "WidgetUserSheetViewModel.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function1;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;-><init>(Lcom/discord/stores/StoreGuilds;Lcom/discord/stores/StoreVoiceStates;Lcom/discord/stores/StoreMediaSettings;Lcom/discord/stores/StoreUserPresence;Lcom/discord/stores/StorePermissions;Lcom/discord/stores/StoreApplicationStreaming;Lcom/discord/stores/StoreUser;Lcom/discord/stores/StoreChannels;Lcom/discord/stores/StoreUserProfile;Lcom/discord/stores/StoreUserRelationships;Lcom/discord/utilities/rest/RestAPI;Lrx/Scheduler;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1018
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/jvm/internal/j;",
"Lkotlin/jvm/functions/Function1<",
"Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;",
"Lkotlin/Unit;",
">;"
}
.end annotation
# direct methods
.method constructor <init>(Lrx/subjects/BehaviorSubject;)V
.locals 1
const/4 v0, 0x1
invoke-direct {p0, v0, p1}, Lkotlin/jvm/internal/j;-><init>(ILjava/lang/Object;)V
return-void
.end method
# virtual methods
.method public final getName()Ljava/lang/String;
.locals 1
const-string v0, "onNext"
return-object v0
.end method
.method public final getOwner()Lkotlin/reflect/KDeclarationContainer;
.locals 1
const-class v0, Lrx/subjects/BehaviorSubject;
invoke-static {v0}, Lkotlin/jvm/internal/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Lkotlin/reflect/b;
move-result-object v0
return-object v0
.end method
.method public final getSignature()Ljava/lang/String;
.locals 1
const-string v0, "onNext(Ljava/lang/Object;)V"
return-object v0
.end method
.method public final bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;
invoke-virtual {p0, p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$1;->invoke(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;)V
sget-object p1, Lkotlin/Unit;->bgt:Lkotlin/Unit;
return-object p1
.end method
.method public final invoke(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;)V
.locals 1
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$1;->receiver:Ljava/lang/Object;
check-cast v0, Lrx/subjects/BehaviorSubject;
invoke-virtual {v0, p1}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
return-void
.end method

View file

@ -0,0 +1,32 @@
.class public final Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Companion;
.super Ljava/lang/Object;
.source "WidgetUserSheetViewModel.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "Companion"
.end annotation
# direct methods
.method private 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}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Companion;-><init>()V
return-void
.end method

View file

@ -0,0 +1,156 @@
.class public final Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$LaunchVideoCall;
.super Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event;
.source "WidgetUserSheetViewModel.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "LaunchVideoCall"
.end annotation
# instance fields
.field private final channelId:J
# direct methods
.method public constructor <init>(J)V
.locals 1
const/4 v0, 0x0
invoke-direct {p0, v0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
iput-wide p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$LaunchVideoCall;->channelId:J
return-void
.end method
.method public static synthetic copy$default(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$LaunchVideoCall;JILjava/lang/Object;)Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$LaunchVideoCall;
.locals 0
and-int/lit8 p3, p3, 0x1
if-eqz p3, :cond_0
iget-wide p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$LaunchVideoCall;->channelId:J
:cond_0
invoke-virtual {p0, p1, p2}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$LaunchVideoCall;->copy(J)Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$LaunchVideoCall;
move-result-object p0
return-object p0
.end method
# virtual methods
.method public final component1()J
.locals 2
iget-wide v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$LaunchVideoCall;->channelId:J
return-wide v0
.end method
.method public final copy(J)Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$LaunchVideoCall;
.locals 1
new-instance v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$LaunchVideoCall;
invoke-direct {v0, p1, p2}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$LaunchVideoCall;-><init>(J)V
return-object v0
.end method
.method public final equals(Ljava/lang/Object;)Z
.locals 7
const/4 v0, 0x1
if-eq p0, p1, :cond_2
instance-of v1, p1, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$LaunchVideoCall;
const/4 v2, 0x0
if-eqz v1, :cond_1
check-cast p1, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$LaunchVideoCall;
iget-wide v3, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$LaunchVideoCall;->channelId:J
iget-wide v5, p1, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$LaunchVideoCall;->channelId:J
cmp-long p1, v3, v5
if-nez p1, :cond_0
const/4 p1, 0x1
goto :goto_0
:cond_0
const/4 p1, 0x0
:goto_0
if-eqz p1, :cond_1
goto :goto_1
:cond_1
return v2
:cond_2
:goto_1
return v0
.end method
.method public final getChannelId()J
.locals 2
iget-wide v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$LaunchVideoCall;->channelId:J
return-wide v0
.end method
.method public final hashCode()I
.locals 2
iget-wide v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$LaunchVideoCall;->channelId:J
invoke-static {v0, v1}, L$r8$java8methods$utility$Long$hashCode$IJ;->hashCode(J)I
move-result v0
return v0
.end method
.method public final toString()Ljava/lang/String;
.locals 3
new-instance v0, Ljava/lang/StringBuilder;
const-string v1, "LaunchVideoCall(channelId="
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
iget-wide v1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$LaunchVideoCall;->channelId:J
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
const-string v1, ")"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method

View file

@ -0,0 +1,156 @@
.class public final Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$LaunchVoiceCall;
.super Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event;
.source "WidgetUserSheetViewModel.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "LaunchVoiceCall"
.end annotation
# instance fields
.field private final channelId:J
# direct methods
.method public constructor <init>(J)V
.locals 1
const/4 v0, 0x0
invoke-direct {p0, v0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
iput-wide p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$LaunchVoiceCall;->channelId:J
return-void
.end method
.method public static synthetic copy$default(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$LaunchVoiceCall;JILjava/lang/Object;)Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$LaunchVoiceCall;
.locals 0
and-int/lit8 p3, p3, 0x1
if-eqz p3, :cond_0
iget-wide p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$LaunchVoiceCall;->channelId:J
:cond_0
invoke-virtual {p0, p1, p2}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$LaunchVoiceCall;->copy(J)Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$LaunchVoiceCall;
move-result-object p0
return-object p0
.end method
# virtual methods
.method public final component1()J
.locals 2
iget-wide v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$LaunchVoiceCall;->channelId:J
return-wide v0
.end method
.method public final copy(J)Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$LaunchVoiceCall;
.locals 1
new-instance v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$LaunchVoiceCall;
invoke-direct {v0, p1, p2}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$LaunchVoiceCall;-><init>(J)V
return-object v0
.end method
.method public final equals(Ljava/lang/Object;)Z
.locals 7
const/4 v0, 0x1
if-eq p0, p1, :cond_2
instance-of v1, p1, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$LaunchVoiceCall;
const/4 v2, 0x0
if-eqz v1, :cond_1
check-cast p1, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$LaunchVoiceCall;
iget-wide v3, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$LaunchVoiceCall;->channelId:J
iget-wide v5, p1, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$LaunchVoiceCall;->channelId:J
cmp-long p1, v3, v5
if-nez p1, :cond_0
const/4 p1, 0x1
goto :goto_0
:cond_0
const/4 p1, 0x0
:goto_0
if-eqz p1, :cond_1
goto :goto_1
:cond_1
return v2
:cond_2
:goto_1
return v0
.end method
.method public final getChannelId()J
.locals 2
iget-wide v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$LaunchVoiceCall;->channelId:J
return-wide v0
.end method
.method public final hashCode()I
.locals 2
iget-wide v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$LaunchVoiceCall;->channelId:J
invoke-static {v0, v1}, L$r8$java8methods$utility$Long$hashCode$IJ;->hashCode(J)I
move-result v0
return v0
.end method
.method public final toString()Ljava/lang/String;
.locals 3
new-instance v0, Ljava/lang/StringBuilder;
const-string v1, "LaunchVoiceCall(channelId="
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
iget-wide v1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$LaunchVoiceCall;->channelId:J
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
const-string v1, ")"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method

View file

@ -0,0 +1,154 @@
.class public final Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$ShowToast;
.super Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event;
.source "WidgetUserSheetViewModel.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "ShowToast"
.end annotation
# instance fields
.field private final stringRes:I
# direct methods
.method public constructor <init>(I)V
.locals 1
const/4 v0, 0x0
invoke-direct {p0, v0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
iput p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$ShowToast;->stringRes:I
return-void
.end method
.method public static synthetic copy$default(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$ShowToast;IILjava/lang/Object;)Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$ShowToast;
.locals 0
and-int/lit8 p2, p2, 0x1
if-eqz p2, :cond_0
iget p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$ShowToast;->stringRes:I
:cond_0
invoke-virtual {p0, p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$ShowToast;->copy(I)Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$ShowToast;
move-result-object p0
return-object p0
.end method
# virtual methods
.method public final component1()I
.locals 1
iget v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$ShowToast;->stringRes:I
return v0
.end method
.method public final copy(I)Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$ShowToast;
.locals 1
new-instance v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$ShowToast;
invoke-direct {v0, p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$ShowToast;-><init>(I)V
return-object v0
.end method
.method public final equals(Ljava/lang/Object;)Z
.locals 3
const/4 v0, 0x1
if-eq p0, p1, :cond_2
instance-of v1, p1, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$ShowToast;
const/4 v2, 0x0
if-eqz v1, :cond_1
check-cast p1, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$ShowToast;
iget v1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$ShowToast;->stringRes:I
iget p1, p1, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$ShowToast;->stringRes:I
if-ne v1, p1, :cond_0
const/4 p1, 0x1
goto :goto_0
:cond_0
const/4 p1, 0x0
:goto_0
if-eqz p1, :cond_1
goto :goto_1
:cond_1
return v2
:cond_2
:goto_1
return v0
.end method
.method public final getStringRes()I
.locals 1
iget v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$ShowToast;->stringRes:I
return v0
.end method
.method public final hashCode()I
.locals 1
iget v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$ShowToast;->stringRes:I
invoke-static {v0}, L$r8$java8methods$utility$Integer$hashCode$II;->hashCode(I)I
move-result v0
return v0
.end method
.method public final toString()Ljava/lang/String;
.locals 2
new-instance v0, Ljava/lang/StringBuilder;
const-string v1, "ShowToast(stringRes="
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
iget v1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$ShowToast;->stringRes:I
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string v1, ")"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method

View file

@ -0,0 +1,40 @@
.class public abstract Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event;
.super Ljava/lang/Object;
.source "WidgetUserSheetViewModel.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x409
name = "Event"
.end annotation
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$ShowToast;,
Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$LaunchVoiceCall;,
Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$LaunchVideoCall;
}
.end annotation
# direct methods
.method private 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}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event;-><init>()V
return-void
.end method

View file

@ -0,0 +1,895 @@
.class final Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;
.super Ljava/lang/Object;
.source "WidgetUserSheetViewModel.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = "StoreChunk"
.end annotation
# instance fields
.field private final computedMembers:Ljava/util/Map;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Map<",
"Ljava/lang/Long;",
"Lcom/discord/models/domain/ModelGuildMember$Computed;",
">;"
}
.end annotation
.end field
.field private final guild:Lcom/discord/models/domain/ModelGuild;
.field private final guildRoles:Ljava/util/Map;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Map<",
"Ljava/lang/Long;",
"Lcom/discord/models/domain/ModelGuildRole;",
">;"
}
.end annotation
.end field
.field private final muted:Z
.field private final outputVolume:I
.field private final permissions:Ljava/lang/Integer;
.field private final richPresence:Lcom/discord/widgets/user/presence/ModelRichPresence;
.field private final streamContext:Lcom/discord/utilities/streams/StreamContext;
.field private final voiceStates:Ljava/util/Map;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Map<",
"Ljava/lang/Long;",
"Lcom/discord/models/domain/ModelVoice$State;",
">;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;ZILcom/discord/widgets/user/presence/ModelRichPresence;Lcom/discord/models/domain/ModelGuild;Ljava/lang/Integer;Lcom/discord/utilities/streams/StreamContext;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"+",
"Lcom/discord/models/domain/ModelGuildMember$Computed;",
">;",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"+",
"Lcom/discord/models/domain/ModelGuildRole;",
">;",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"+",
"Lcom/discord/models/domain/ModelVoice$State;",
">;ZI",
"Lcom/discord/widgets/user/presence/ModelRichPresence;",
"Lcom/discord/models/domain/ModelGuild;",
"Ljava/lang/Integer;",
"Lcom/discord/utilities/streams/StreamContext;",
")V"
}
.end annotation
const-string v0, "computedMembers"
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "guildRoles"
invoke-static {p2, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "voiceStates"
invoke-static {p3, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->computedMembers:Ljava/util/Map;
iput-object p2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->guildRoles:Ljava/util/Map;
iput-object p3, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->voiceStates:Ljava/util/Map;
iput-boolean p4, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->muted:Z
iput p5, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->outputVolume:I
iput-object p6, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->richPresence:Lcom/discord/widgets/user/presence/ModelRichPresence;
iput-object p7, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->guild:Lcom/discord/models/domain/ModelGuild;
iput-object p8, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->permissions:Ljava/lang/Integer;
iput-object p9, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->streamContext:Lcom/discord/utilities/streams/StreamContext;
return-void
.end method
.method public static synthetic copy$default(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;ZILcom/discord/widgets/user/presence/ModelRichPresence;Lcom/discord/models/domain/ModelGuild;Ljava/lang/Integer;Lcom/discord/utilities/streams/StreamContext;ILjava/lang/Object;)Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;
.locals 10
move-object v0, p0
move/from16 v1, p10
and-int/lit8 v2, v1, 0x1
if-eqz v2, :cond_0
iget-object v2, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->computedMembers:Ljava/util/Map;
goto :goto_0
:cond_0
move-object v2, p1
:goto_0
and-int/lit8 v3, v1, 0x2
if-eqz v3, :cond_1
iget-object v3, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->guildRoles:Ljava/util/Map;
goto :goto_1
:cond_1
move-object v3, p2
:goto_1
and-int/lit8 v4, v1, 0x4
if-eqz v4, :cond_2
iget-object v4, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->voiceStates:Ljava/util/Map;
goto :goto_2
:cond_2
move-object v4, p3
:goto_2
and-int/lit8 v5, v1, 0x8
if-eqz v5, :cond_3
iget-boolean v5, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->muted:Z
goto :goto_3
:cond_3
move v5, p4
:goto_3
and-int/lit8 v6, v1, 0x10
if-eqz v6, :cond_4
iget v6, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->outputVolume:I
goto :goto_4
:cond_4
move v6, p5
:goto_4
and-int/lit8 v7, v1, 0x20
if-eqz v7, :cond_5
iget-object v7, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->richPresence:Lcom/discord/widgets/user/presence/ModelRichPresence;
goto :goto_5
:cond_5
move-object/from16 v7, p6
:goto_5
and-int/lit8 v8, v1, 0x40
if-eqz v8, :cond_6
iget-object v8, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->guild:Lcom/discord/models/domain/ModelGuild;
goto :goto_6
:cond_6
move-object/from16 v8, p7
:goto_6
and-int/lit16 v9, v1, 0x80
if-eqz v9, :cond_7
iget-object v9, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->permissions:Ljava/lang/Integer;
goto :goto_7
:cond_7
move-object/from16 v9, p8
:goto_7
and-int/lit16 v1, v1, 0x100
if-eqz v1, :cond_8
iget-object v1, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->streamContext:Lcom/discord/utilities/streams/StreamContext;
goto :goto_8
:cond_8
move-object/from16 v1, p9
:goto_8
move-object p1, v2
move-object p2, v3
move-object p3, v4
move p4, v5
move p5, v6
move-object/from16 p6, v7
move-object/from16 p7, v8
move-object/from16 p8, v9
move-object/from16 p9, v1
invoke-virtual/range {p0 .. p9}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->copy(Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;ZILcom/discord/widgets/user/presence/ModelRichPresence;Lcom/discord/models/domain/ModelGuild;Ljava/lang/Integer;Lcom/discord/utilities/streams/StreamContext;)Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;
move-result-object v0
return-object v0
.end method
# virtual methods
.method public final component1()Ljava/util/Map;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"Lcom/discord/models/domain/ModelGuildMember$Computed;",
">;"
}
.end annotation
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->computedMembers:Ljava/util/Map;
return-object v0
.end method
.method public final component2()Ljava/util/Map;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"Lcom/discord/models/domain/ModelGuildRole;",
">;"
}
.end annotation
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->guildRoles:Ljava/util/Map;
return-object v0
.end method
.method public final component3()Ljava/util/Map;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"Lcom/discord/models/domain/ModelVoice$State;",
">;"
}
.end annotation
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->voiceStates:Ljava/util/Map;
return-object v0
.end method
.method public final component4()Z
.locals 1
iget-boolean v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->muted:Z
return v0
.end method
.method public final component5()I
.locals 1
iget v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->outputVolume:I
return v0
.end method
.method public final component6()Lcom/discord/widgets/user/presence/ModelRichPresence;
.locals 1
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->richPresence:Lcom/discord/widgets/user/presence/ModelRichPresence;
return-object v0
.end method
.method public final component7()Lcom/discord/models/domain/ModelGuild;
.locals 1
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->guild:Lcom/discord/models/domain/ModelGuild;
return-object v0
.end method
.method public final component8()Ljava/lang/Integer;
.locals 1
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->permissions:Ljava/lang/Integer;
return-object v0
.end method
.method public final component9()Lcom/discord/utilities/streams/StreamContext;
.locals 1
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->streamContext:Lcom/discord/utilities/streams/StreamContext;
return-object v0
.end method
.method public final copy(Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;ZILcom/discord/widgets/user/presence/ModelRichPresence;Lcom/discord/models/domain/ModelGuild;Ljava/lang/Integer;Lcom/discord/utilities/streams/StreamContext;)Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;
.locals 11
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"+",
"Lcom/discord/models/domain/ModelGuildMember$Computed;",
">;",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"+",
"Lcom/discord/models/domain/ModelGuildRole;",
">;",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"+",
"Lcom/discord/models/domain/ModelVoice$State;",
">;ZI",
"Lcom/discord/widgets/user/presence/ModelRichPresence;",
"Lcom/discord/models/domain/ModelGuild;",
"Ljava/lang/Integer;",
"Lcom/discord/utilities/streams/StreamContext;",
")",
"Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;"
}
.end annotation
const-string v0, "computedMembers"
move-object v2, p1
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "guildRoles"
move-object v3, p2
invoke-static {p2, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "voiceStates"
move-object v4, p3
invoke-static {p3, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;
move-object v1, v0
move v5, p4
move/from16 v6, p5
move-object/from16 v7, p6
move-object/from16 v8, p7
move-object/from16 v9, p8
move-object/from16 v10, p9
invoke-direct/range {v1 .. v10}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;-><init>(Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;ZILcom/discord/widgets/user/presence/ModelRichPresence;Lcom/discord/models/domain/ModelGuild;Ljava/lang/Integer;Lcom/discord/utilities/streams/StreamContext;)V
return-object v0
.end method
.method public final equals(Ljava/lang/Object;)Z
.locals 4
const/4 v0, 0x1
if-eq p0, p1, :cond_3
instance-of v1, p1, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;
const/4 v2, 0x0
if-eqz v1, :cond_2
check-cast p1, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;
iget-object v1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->computedMembers:Ljava/util/Map;
iget-object v3, p1, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->computedMembers:Ljava/util/Map;
invoke-static {v1, v3}, Lkotlin/jvm/internal/l;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_2
iget-object v1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->guildRoles:Ljava/util/Map;
iget-object v3, p1, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->guildRoles:Ljava/util/Map;
invoke-static {v1, v3}, Lkotlin/jvm/internal/l;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_2
iget-object v1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->voiceStates:Ljava/util/Map;
iget-object v3, p1, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->voiceStates:Ljava/util/Map;
invoke-static {v1, v3}, Lkotlin/jvm/internal/l;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_2
iget-boolean v1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->muted:Z
iget-boolean v3, p1, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->muted:Z
if-ne v1, v3, :cond_0
const/4 v1, 0x1
goto :goto_0
:cond_0
const/4 v1, 0x0
:goto_0
if-eqz v1, :cond_2
iget v1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->outputVolume:I
iget v3, p1, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->outputVolume:I
if-ne v1, v3, :cond_1
const/4 v1, 0x1
goto :goto_1
:cond_1
const/4 v1, 0x0
:goto_1
if-eqz v1, :cond_2
iget-object v1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->richPresence:Lcom/discord/widgets/user/presence/ModelRichPresence;
iget-object v3, p1, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->richPresence:Lcom/discord/widgets/user/presence/ModelRichPresence;
invoke-static {v1, v3}, Lkotlin/jvm/internal/l;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_2
iget-object v1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->guild:Lcom/discord/models/domain/ModelGuild;
iget-object v3, p1, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->guild:Lcom/discord/models/domain/ModelGuild;
invoke-static {v1, v3}, Lkotlin/jvm/internal/l;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_2
iget-object v1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->permissions:Ljava/lang/Integer;
iget-object v3, p1, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->permissions:Ljava/lang/Integer;
invoke-static {v1, v3}, Lkotlin/jvm/internal/l;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_2
iget-object v1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->streamContext:Lcom/discord/utilities/streams/StreamContext;
iget-object p1, p1, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->streamContext:Lcom/discord/utilities/streams/StreamContext;
invoke-static {v1, p1}, Lkotlin/jvm/internal/l;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p1
if-eqz p1, :cond_2
goto :goto_2
:cond_2
return v2
:cond_3
:goto_2
return v0
.end method
.method public final getComputedMembers()Ljava/util/Map;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"Lcom/discord/models/domain/ModelGuildMember$Computed;",
">;"
}
.end annotation
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->computedMembers:Ljava/util/Map;
return-object v0
.end method
.method public final getGuild()Lcom/discord/models/domain/ModelGuild;
.locals 1
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->guild:Lcom/discord/models/domain/ModelGuild;
return-object v0
.end method
.method public final getGuildRoles()Ljava/util/Map;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"Lcom/discord/models/domain/ModelGuildRole;",
">;"
}
.end annotation
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->guildRoles:Ljava/util/Map;
return-object v0
.end method
.method public final getMuted()Z
.locals 1
iget-boolean v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->muted:Z
return v0
.end method
.method public final getOutputVolume()I
.locals 1
iget v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->outputVolume:I
return v0
.end method
.method public final getPermissions()Ljava/lang/Integer;
.locals 1
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->permissions:Ljava/lang/Integer;
return-object v0
.end method
.method public final getRichPresence()Lcom/discord/widgets/user/presence/ModelRichPresence;
.locals 1
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->richPresence:Lcom/discord/widgets/user/presence/ModelRichPresence;
return-object v0
.end method
.method public final getStreamContext()Lcom/discord/utilities/streams/StreamContext;
.locals 1
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->streamContext:Lcom/discord/utilities/streams/StreamContext;
return-object v0
.end method
.method public final getVoiceStates()Ljava/util/Map;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"Lcom/discord/models/domain/ModelVoice$State;",
">;"
}
.end annotation
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->voiceStates:Ljava/util/Map;
return-object v0
.end method
.method public final hashCode()I
.locals 3
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->computedMembers:Ljava/util/Map;
const/4 v1, 0x0
if-eqz v0, :cond_0
invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I
move-result v0
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
mul-int/lit8 v0, v0, 0x1f
iget-object v2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->guildRoles:Ljava/util/Map;
if-eqz v2, :cond_1
invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I
move-result v2
goto :goto_1
:cond_1
const/4 v2, 0x0
:goto_1
add-int/2addr v0, v2
mul-int/lit8 v0, v0, 0x1f
iget-object v2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->voiceStates:Ljava/util/Map;
if-eqz v2, :cond_2
invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I
move-result v2
goto :goto_2
:cond_2
const/4 v2, 0x0
:goto_2
add-int/2addr v0, v2
mul-int/lit8 v0, v0, 0x1f
iget-boolean v2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->muted:Z
if-eqz v2, :cond_3
const/4 v2, 0x1
:cond_3
add-int/2addr v0, v2
mul-int/lit8 v0, v0, 0x1f
iget v2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->outputVolume:I
invoke-static {v2}, L$r8$java8methods$utility$Integer$hashCode$II;->hashCode(I)I
move-result v2
add-int/2addr v0, v2
mul-int/lit8 v0, v0, 0x1f
iget-object v2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->richPresence:Lcom/discord/widgets/user/presence/ModelRichPresence;
if-eqz v2, :cond_4
invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I
move-result v2
goto :goto_3
:cond_4
const/4 v2, 0x0
:goto_3
add-int/2addr v0, v2
mul-int/lit8 v0, v0, 0x1f
iget-object v2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->guild:Lcom/discord/models/domain/ModelGuild;
if-eqz v2, :cond_5
invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I
move-result v2
goto :goto_4
:cond_5
const/4 v2, 0x0
:goto_4
add-int/2addr v0, v2
mul-int/lit8 v0, v0, 0x1f
iget-object v2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->permissions:Ljava/lang/Integer;
if-eqz v2, :cond_6
invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I
move-result v2
goto :goto_5
:cond_6
const/4 v2, 0x0
:goto_5
add-int/2addr v0, v2
mul-int/lit8 v0, v0, 0x1f
iget-object v2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->streamContext:Lcom/discord/utilities/streams/StreamContext;
if-eqz v2, :cond_7
invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I
move-result v1
:cond_7
add-int/2addr v0, v1
return v0
.end method
.method public final toString()Ljava/lang/String;
.locals 2
new-instance v0, Ljava/lang/StringBuilder;
const-string v1, "StoreChunk(computedMembers="
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
iget-object v1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->computedMembers:Ljava/util/Map;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v1, ", guildRoles="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->guildRoles:Ljava/util/Map;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v1, ", voiceStates="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->voiceStates:Ljava/util/Map;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v1, ", muted="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-boolean v1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->muted:Z
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
const-string v1, ", outputVolume="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget v1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->outputVolume:I
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string v1, ", richPresence="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->richPresence:Lcom/discord/widgets/user/presence/ModelRichPresence;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v1, ", guild="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->guild:Lcom/discord/models/domain/ModelGuild;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v1, ", permissions="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->permissions:Ljava/lang/Integer;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v1, ", streamContext="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->streamContext:Lcom/discord/utilities/streams/StreamContext;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v1, ")"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method

View file

@ -0,0 +1,104 @@
.class final Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$addRelationship$1;
.super Ljava/lang/Object;
.source "WidgetUserSheetViewModel.kt"
# interfaces
.implements Lrx/functions/b;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;->addRelationship(Ljava/lang/Integer;I)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 $type:Ljava/lang/Integer;
.field final synthetic this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;
# direct methods
.method constructor <init>(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;Ljava/lang/Integer;)V
.locals 0
iput-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$addRelationship$1;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;
iput-object p2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$addRelationship$1;->$type:Ljava/lang/Integer;
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/user/usersheet/WidgetUserSheetViewModel$addRelationship$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 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Long;",
")",
"Lrx/Observable<",
"Ljava/lang/Void;",
">;"
}
.end annotation
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$addRelationship$1;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;
invoke-virtual {v0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;->getRestAPI()Lcom/discord/utilities/rest/RestAPI;
move-result-object v0
const-string v1, "userId"
invoke-static {p1, v1}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p1}, Ljava/lang/Long;->longValue()J
move-result-wide v1
iget-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$addRelationship$1;->$type:Ljava/lang/Integer;
const-string v3, "User Profile"
invoke-virtual {v0, v3, v1, v2, p1}, Lcom/discord/utilities/rest/RestAPI;->addRelationship(Ljava/lang/String;JLjava/lang/Integer;)Lrx/Observable;
move-result-object p1
return-object p1
.end method

View file

@ -0,0 +1,75 @@
.class final Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$addRelationship$2;
.super Lkotlin/jvm/internal/m;
.source "WidgetUserSheetViewModel.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function1;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;->addRelationship(Ljava/lang/Integer;I)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/jvm/internal/m;",
"Lkotlin/jvm/functions/Function1<",
"Ljava/lang/Void;",
"Lkotlin/Unit;",
">;"
}
.end annotation
# instance fields
.field final synthetic $successMessageStringRes:I
.field final synthetic this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;
# direct methods
.method constructor <init>(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;I)V
.locals 0
iput-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$addRelationship$2;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;
iput p2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$addRelationship$2;->$successMessageStringRes:I
const/4 p1, 0x1
invoke-direct {p0, p1}, Lkotlin/jvm/internal/m;-><init>(I)V
return-void
.end method
# virtual methods
.method public final bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Ljava/lang/Void;
invoke-virtual {p0, p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$addRelationship$2;->invoke(Ljava/lang/Void;)V
sget-object p1, Lkotlin/Unit;->bgt:Lkotlin/Unit;
return-object p1
.end method
.method public final invoke(Ljava/lang/Void;)V
.locals 1
iget-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$addRelationship$2;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;
iget v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$addRelationship$2;->$successMessageStringRes:I
invoke-static {p1, v0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;->access$emitShowToastEvent(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;I)V
return-void
.end method

View file

@ -0,0 +1,75 @@
.class final Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$addRelationship$3;
.super Lkotlin/jvm/internal/m;
.source "WidgetUserSheetViewModel.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function1;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;->addRelationship(Ljava/lang/Integer;I)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/jvm/internal/m;",
"Lkotlin/jvm/functions/Function1<",
"Lcom/discord/utilities/error/Error;",
"Lkotlin/Unit;",
">;"
}
.end annotation
# instance fields
.field final synthetic this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;
# direct methods
.method constructor <init>(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;)V
.locals 0
iput-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$addRelationship$3;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;
const/4 p1, 0x1
invoke-direct {p0, p1}, Lkotlin/jvm/internal/m;-><init>(I)V
return-void
.end method
# virtual methods
.method public final bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Lcom/discord/utilities/error/Error;
invoke-virtual {p0, p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$addRelationship$3;->invoke(Lcom/discord/utilities/error/Error;)V
sget-object p1, Lkotlin/Unit;->bgt:Lkotlin/Unit;
return-object p1
.end method
.method public final invoke(Lcom/discord/utilities/error/Error;)V
.locals 1
const-string v0, "it"
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
iget-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$addRelationship$3;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;
const v0, 0x7f1204c4
invoke-static {p1, v0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;->access$emitShowToastEvent(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;I)V
return-void
.end method

View file

@ -0,0 +1,92 @@
.class final Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$launchVideoCall$1;
.super Ljava/lang/Object;
.source "WidgetUserSheetViewModel.kt"
# interfaces
.implements Lrx/functions/b;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;->launchVideoCall()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/user/usersheet/WidgetUserSheetViewModel;
# direct methods
.method constructor <init>(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;)V
.locals 0
iput-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$launchVideoCall$1;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;
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/user/usersheet/WidgetUserSheetViewModel$launchVideoCall$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 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Long;",
")",
"Lrx/Observable<",
"Ljava/lang/Long;",
">;"
}
.end annotation
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$launchVideoCall$1;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;
const-string v1, "userId"
invoke-static {p1, v1}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p1}, Ljava/lang/Long;->longValue()J
move-result-wide v1
invoke-static {v0, v1, v2}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;->access$createPrivateChannelWithUser(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;J)Lrx/Observable;
move-result-object p1
return-object p1
.end method

View file

@ -0,0 +1,77 @@
.class final Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$launchVideoCall$2;
.super Lkotlin/jvm/internal/m;
.source "WidgetUserSheetViewModel.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function1;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;->launchVideoCall()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/jvm/internal/m;",
"Lkotlin/jvm/functions/Function1<",
"Ljava/lang/Long;",
"Lkotlin/Unit;",
">;"
}
.end annotation
# instance fields
.field final synthetic this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;
# direct methods
.method constructor <init>(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;)V
.locals 0
iput-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$launchVideoCall$2;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;
const/4 p1, 0x1
invoke-direct {p0, p1}, Lkotlin/jvm/internal/m;-><init>(I)V
return-void
.end method
# virtual methods
.method public final bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Ljava/lang/Long;
invoke-virtual {p0, p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$launchVideoCall$2;->invoke(Ljava/lang/Long;)V
sget-object p1, Lkotlin/Unit;->bgt:Lkotlin/Unit;
return-object p1
.end method
.method public final invoke(Ljava/lang/Long;)V
.locals 3
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$launchVideoCall$2;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;
const-string v1, "channelId"
invoke-static {p1, v1}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p1}, Ljava/lang/Long;->longValue()J
move-result-wide v1
invoke-static {v0, v1, v2}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;->access$emitLaunchVideoCallEvent(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;J)V
return-void
.end method

View file

@ -0,0 +1,75 @@
.class final Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$launchVideoCall$3;
.super Lkotlin/jvm/internal/m;
.source "WidgetUserSheetViewModel.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function1;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;->launchVideoCall()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/jvm/internal/m;",
"Lkotlin/jvm/functions/Function1<",
"Lcom/discord/utilities/error/Error;",
"Lkotlin/Unit;",
">;"
}
.end annotation
# instance fields
.field final synthetic this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;
# direct methods
.method constructor <init>(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;)V
.locals 0
iput-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$launchVideoCall$3;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;
const/4 p1, 0x1
invoke-direct {p0, p1}, Lkotlin/jvm/internal/m;-><init>(I)V
return-void
.end method
# virtual methods
.method public final bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Lcom/discord/utilities/error/Error;
invoke-virtual {p0, p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$launchVideoCall$3;->invoke(Lcom/discord/utilities/error/Error;)V
sget-object p1, Lkotlin/Unit;->bgt:Lkotlin/Unit;
return-object p1
.end method
.method public final invoke(Lcom/discord/utilities/error/Error;)V
.locals 1
const-string v0, "it"
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
iget-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$launchVideoCall$3;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;
const v0, 0x7f1204c4
invoke-static {p1, v0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;->access$emitShowToastEvent(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;I)V
return-void
.end method

View file

@ -0,0 +1,92 @@
.class final Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$launchVoiceCall$1;
.super Ljava/lang/Object;
.source "WidgetUserSheetViewModel.kt"
# interfaces
.implements Lrx/functions/b;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;->launchVoiceCall()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/user/usersheet/WidgetUserSheetViewModel;
# direct methods
.method constructor <init>(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;)V
.locals 0
iput-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$launchVoiceCall$1;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;
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/user/usersheet/WidgetUserSheetViewModel$launchVoiceCall$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 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Long;",
")",
"Lrx/Observable<",
"Ljava/lang/Long;",
">;"
}
.end annotation
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$launchVoiceCall$1;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;
const-string v1, "userId"
invoke-static {p1, v1}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p1}, Ljava/lang/Long;->longValue()J
move-result-wide v1
invoke-static {v0, v1, v2}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;->access$createPrivateChannelWithUser(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;J)Lrx/Observable;
move-result-object p1
return-object p1
.end method

View file

@ -0,0 +1,77 @@
.class final Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$launchVoiceCall$2;
.super Lkotlin/jvm/internal/m;
.source "WidgetUserSheetViewModel.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function1;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;->launchVoiceCall()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/jvm/internal/m;",
"Lkotlin/jvm/functions/Function1<",
"Ljava/lang/Long;",
"Lkotlin/Unit;",
">;"
}
.end annotation
# instance fields
.field final synthetic this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;
# direct methods
.method constructor <init>(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;)V
.locals 0
iput-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$launchVoiceCall$2;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;
const/4 p1, 0x1
invoke-direct {p0, p1}, Lkotlin/jvm/internal/m;-><init>(I)V
return-void
.end method
# virtual methods
.method public final bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Ljava/lang/Long;
invoke-virtual {p0, p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$launchVoiceCall$2;->invoke(Ljava/lang/Long;)V
sget-object p1, Lkotlin/Unit;->bgt:Lkotlin/Unit;
return-object p1
.end method
.method public final invoke(Ljava/lang/Long;)V
.locals 3
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$launchVoiceCall$2;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;
const-string v1, "channelId"
invoke-static {p1, v1}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p1}, Ljava/lang/Long;->longValue()J
move-result-wide v1
invoke-static {v0, v1, v2}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;->access$emitLaunchVoiceCallEvent(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;J)V
return-void
.end method

View file

@ -0,0 +1,75 @@
.class final Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$launchVoiceCall$3;
.super Lkotlin/jvm/internal/m;
.source "WidgetUserSheetViewModel.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function1;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;->launchVoiceCall()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/jvm/internal/m;",
"Lkotlin/jvm/functions/Function1<",
"Lcom/discord/utilities/error/Error;",
"Lkotlin/Unit;",
">;"
}
.end annotation
# instance fields
.field final synthetic this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;
# direct methods
.method constructor <init>(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;)V
.locals 0
iput-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$launchVoiceCall$3;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;
const/4 p1, 0x1
invoke-direct {p0, p1}, Lkotlin/jvm/internal/m;-><init>(I)V
return-void
.end method
# virtual methods
.method public final bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Lcom/discord/utilities/error/Error;
invoke-virtual {p0, p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$launchVoiceCall$3;->invoke(Lcom/discord/utilities/error/Error;)V
sget-object p1, Lkotlin/Unit;->bgt:Lkotlin/Unit;
return-object p1
.end method
.method public final invoke(Lcom/discord/utilities/error/Error;)V
.locals 1
const-string v0, "it"
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
iget-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$launchVoiceCall$3;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;
const v0, 0x7f1204c4
invoke-static {p1, v0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;->access$emitShowToastEvent(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;I)V
return-void
.end method

View file

@ -0,0 +1,186 @@
.class final Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeStoreChunk$1;
.super Ljava/lang/Object;
.source "WidgetUserSheetViewModel.kt"
# interfaces
.implements Lrx/functions/Func9;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;->observeStoreChunk(Lcom/discord/models/domain/ModelUser;Lcom/discord/models/domain/ModelUser;Lcom/discord/models/domain/ModelChannel;)Lrx/Observable;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T1:",
"Ljava/lang/Object;",
"T2:",
"Ljava/lang/Object;",
"T3:",
"Ljava/lang/Object;",
"T4:",
"Ljava/lang/Object;",
"T5:",
"Ljava/lang/Object;",
"T6:",
"Ljava/lang/Object;",
"T7:",
"Ljava/lang/Object;",
"T8:",
"Ljava/lang/Object;",
"T9:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrx/functions/Func9<",
"TT1;TT2;TT3;TT4;TT5;TT6;TT7;TT8;TT9;TR;>;"
}
.end annotation
# static fields
.field public static final INSTANCE:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeStoreChunk$1;
# direct methods
.method static constructor <clinit>()V
.locals 1
new-instance v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeStoreChunk$1;
invoke-direct {v0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeStoreChunk$1;-><init>()V
sput-object v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeStoreChunk$1;->INSTANCE:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeStoreChunk$1;
return-void
.end method
.method constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final call(Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/lang/Boolean;Ljava/lang/Integer;Lcom/discord/widgets/user/presence/ModelRichPresence;Lcom/discord/models/domain/ModelGuild;Ljava/lang/Integer;Lcom/discord/utilities/streams/StreamContext;)Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;
.locals 11
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"Lcom/discord/models/domain/ModelGuildMember$Computed;",
">;",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"Lcom/discord/models/domain/ModelGuildRole;",
">;",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"+",
"Lcom/discord/models/domain/ModelVoice$State;",
">;",
"Ljava/lang/Boolean;",
"Ljava/lang/Integer;",
"Lcom/discord/widgets/user/presence/ModelRichPresence;",
"Lcom/discord/models/domain/ModelGuild;",
"Ljava/lang/Integer;",
"Lcom/discord/utilities/streams/StreamContext;",
")",
"Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;"
}
.end annotation
new-instance v10, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;
const-string v0, "computedMembers"
move-object v1, p1
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "guildRoles"
move-object v2, p2
invoke-static {p2, v0}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "voiceStates"
move-object v3, p3
invoke-static {p3, v0}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "muted"
move-object v4, p4
invoke-static {p4, v0}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p4}, Ljava/lang/Boolean;->booleanValue()Z
move-result v4
const-string v0, "outputVolume"
move-object/from16 v5, p5
invoke-static {v5, v0}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual/range {p5 .. p5}, Ljava/lang/Integer;->intValue()I
move-result v5
move-object v0, v10
move-object/from16 v6, p6
move-object/from16 v7, p7
move-object/from16 v8, p8
move-object/from16 v9, p9
invoke-direct/range {v0 .. v9}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;-><init>(Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;ZILcom/discord/widgets/user/presence/ModelRichPresence;Lcom/discord/models/domain/ModelGuild;Ljava/lang/Integer;Lcom/discord/utilities/streams/StreamContext;)V
return-object v10
.end method
.method public final bridge synthetic call(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Ljava/util/Map;
check-cast p2, Ljava/util/Map;
check-cast p3, Ljava/util/Map;
check-cast p4, Ljava/lang/Boolean;
check-cast p5, Ljava/lang/Integer;
check-cast p6, Lcom/discord/widgets/user/presence/ModelRichPresence;
check-cast p7, Lcom/discord/models/domain/ModelGuild;
check-cast p8, Ljava/lang/Integer;
check-cast p9, Lcom/discord/utilities/streams/StreamContext;
invoke-virtual/range {p0 .. p9}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeStoreChunk$1;->call(Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/lang/Boolean;Ljava/lang/Integer;Lcom/discord/widgets/user/presence/ModelRichPresence;Lcom/discord/models/domain/ModelGuild;Ljava/lang/Integer;Lcom/discord/utilities/streams/StreamContext;)Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;
move-result-object p1
return-object p1
.end method

View file

@ -0,0 +1,134 @@
.class final Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeStoreState$1;
.super Ljava/lang/Object;
.source "WidgetUserSheetViewModel.kt"
# interfaces
.implements Lrx/functions/Func3;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;->observeStoreState(Lcom/discord/models/domain/ModelUser;Lcom/discord/models/domain/ModelUser;Lcom/discord/models/domain/ModelChannel;)Lrx/Observable;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T1:",
"Ljava/lang/Object;",
"T2:",
"Ljava/lang/Object;",
"T3:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrx/functions/Func3<",
"TT1;TT2;TT3;TR;>;"
}
.end annotation
# static fields
.field public static final INSTANCE:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeStoreState$1;
# direct methods
.method static constructor <clinit>()V
.locals 1
new-instance v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeStoreState$1;
invoke-direct {v0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeStoreState$1;-><init>()V
sput-object v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeStoreState$1;->INSTANCE:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeStoreState$1;
return-void
.end method
.method constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final call(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;Lcom/discord/models/domain/ModelUserProfile;Ljava/lang/Integer;)Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreState;
.locals 13
new-instance v12, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreState;
invoke-virtual {p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->getComputedMembers()Ljava/util/Map;
move-result-object v1
invoke-virtual {p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->getGuildRoles()Ljava/util/Map;
move-result-object v2
invoke-virtual {p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->getVoiceStates()Ljava/util/Map;
move-result-object v3
invoke-virtual {p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->getMuted()Z
move-result v4
invoke-virtual {p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->getOutputVolume()I
move-result v5
invoke-virtual {p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->getRichPresence()Lcom/discord/widgets/user/presence/ModelRichPresence;
move-result-object v6
invoke-virtual {p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->getGuild()Lcom/discord/models/domain/ModelGuild;
move-result-object v7
invoke-virtual {p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->getPermissions()Ljava/lang/Integer;
move-result-object v8
invoke-virtual {p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;->getStreamContext()Lcom/discord/utilities/streams/StreamContext;
move-result-object v9
const-string v0, "userProfile"
move-object v10, p2
invoke-static {p2, v0}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
move-object v0, v12
move-object/from16 v11, p3
invoke-direct/range {v0 .. v11}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreState;-><init>(Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;ZILcom/discord/widgets/user/presence/ModelRichPresence;Lcom/discord/models/domain/ModelGuild;Ljava/lang/Integer;Lcom/discord/utilities/streams/StreamContext;Lcom/discord/models/domain/ModelUserProfile;Ljava/lang/Integer;)V
return-object v12
.end method
.method public final bridge synthetic call(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;
check-cast p2, Lcom/discord/models/domain/ModelUserProfile;
check-cast p3, Ljava/lang/Integer;
invoke-virtual {p0, p1, p2, p3}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeStoreState$1;->call(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreChunk;Lcom/discord/models/domain/ModelUserProfile;Ljava/lang/Integer;)Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreState;
move-result-object p1
return-object p1
.end method

View file

@ -0,0 +1,96 @@
.class final Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$1;
.super Ljava/lang/Object;
.source "WidgetUserSheetViewModel.kt"
# interfaces
.implements Lrx/functions/Func2;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;->observeViewStateFromStores()Lrx/Observable;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T1:",
"Ljava/lang/Object;",
"T2:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrx/functions/Func2<",
"TT1;TT2;TR;>;"
}
.end annotation
# static fields
.field public static final INSTANCE:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$1;
# direct methods
.method static constructor <clinit>()V
.locals 1
new-instance v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$1;
invoke-direct {v0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$1;-><init>()V
sput-object v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$1;->INSTANCE:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$1;
return-void
.end method
.method constructor <init>()V
.locals 0
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;)Ljava/lang/Object;
.locals 0
check-cast p1, Ljava/lang/Long;
check-cast p2, Ljava/lang/Long;
invoke-virtual {p0, p1, p2}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$1;->call(Ljava/lang/Long;Ljava/lang/Long;)Lkotlin/Pair;
move-result-object p1
return-object p1
.end method
.method public final call(Ljava/lang/Long;Ljava/lang/Long;)Lkotlin/Pair;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Long;",
"Ljava/lang/Long;",
")",
"Lkotlin/Pair<",
"Ljava/lang/Long;",
"Ljava/lang/Long;",
">;"
}
.end annotation
new-instance v0, Lkotlin/Pair;
invoke-direct {v0, p1, p2}, Lkotlin/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
return-object v0
.end method

View file

@ -0,0 +1,96 @@
.class final Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$2$1;
.super Ljava/lang/Object;
.source "WidgetUserSheetViewModel.kt"
# interfaces
.implements Lrx/functions/Func2;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$2;->call(Lkotlin/Pair;)Lrx/Observable;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T1:",
"Ljava/lang/Object;",
"T2:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrx/functions/Func2<",
"TT1;TT2;TR;>;"
}
.end annotation
# static fields
.field public static final INSTANCE:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$2$1;
# direct methods
.method static constructor <clinit>()V
.locals 1
new-instance v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$2$1;
invoke-direct {v0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$2$1;-><init>()V
sput-object v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$2$1;->INSTANCE:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$2$1;
return-void
.end method
.method constructor <init>()V
.locals 0
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;)Ljava/lang/Object;
.locals 0
check-cast p1, Lcom/discord/models/domain/ModelUser;
check-cast p2, Lcom/discord/models/domain/ModelUser;
invoke-virtual {p0, p1, p2}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$2$1;->call(Lcom/discord/models/domain/ModelUser;Lcom/discord/models/domain/ModelUser;)Lkotlin/Pair;
move-result-object p1
return-object p1
.end method
.method public final call(Lcom/discord/models/domain/ModelUser;Lcom/discord/models/domain/ModelUser;)Lkotlin/Pair;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/discord/models/domain/ModelUser;",
"Lcom/discord/models/domain/ModelUser;",
")",
"Lkotlin/Pair<",
"Lcom/discord/models/domain/ModelUser;",
"Lcom/discord/models/domain/ModelUser;",
">;"
}
.end annotation
invoke-static {p1, p2}, Lkotlin/q;->to(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
move-result-object p1
return-object p1
.end method

View file

@ -0,0 +1,118 @@
.class final Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$2$2$$special$$inlined$let$lambda$1;
.super Ljava/lang/Object;
.source "WidgetUserSheetViewModel.kt"
# interfaces
.implements Lrx/functions/b;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$2$2;->call(Lkotlin/Pair;)Lrx/Observable;
.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 $me$inlined:Lcom/discord/models/domain/ModelUser;
.field final synthetic $user$inlined:Lcom/discord/models/domain/ModelUser;
.field final synthetic this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$2$2;
# direct methods
.method constructor <init>(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$2$2;Lcom/discord/models/domain/ModelUser;Lcom/discord/models/domain/ModelUser;)V
.locals 0
iput-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$2$2$$special$$inlined$let$lambda$1;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$2$2;
iput-object p2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$2$2$$special$$inlined$let$lambda$1;->$user$inlined:Lcom/discord/models/domain/ModelUser;
iput-object p3, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$2$2$$special$$inlined$let$lambda$1;->$me$inlined:Lcom/discord/models/domain/ModelUser;
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, Lcom/discord/models/domain/ModelChannel;
invoke-virtual {p0, p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$2$2$$special$$inlined$let$lambda$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;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/discord/models/domain/ModelChannel;",
")",
"Lrx/Observable<",
"Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;",
">;"
}
.end annotation
if-eqz p1, :cond_0
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$2$2$$special$$inlined$let$lambda$1;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$2$2;
iget-object v0, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$2$2;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$2;
iget-object v0, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$2;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;
iget-object v1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$2$2$$special$$inlined$let$lambda$1;->$user$inlined:Lcom/discord/models/domain/ModelUser;
iget-object v2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$2$2$$special$$inlined$let$lambda$1;->$me$inlined:Lcom/discord/models/domain/ModelUser;
const-string v3, "me"
invoke-static {v2, v3}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {v0, v1, v2, p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;->access$observeViewStateFromUsersAndChannel(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;Lcom/discord/models/domain/ModelUser;Lcom/discord/models/domain/ModelUser;Lcom/discord/models/domain/ModelChannel;)Lrx/Observable;
move-result-object p1
if-nez p1, :cond_1
:cond_0
invoke-static {}, Lrx/Observable;->IS()Lrx/Observable;
move-result-object p1
const-string v0, "Observable.empty()"
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
:cond_1
return-object p1
.end method

View file

@ -0,0 +1,144 @@
.class final Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$2$2;
.super Ljava/lang/Object;
.source "WidgetUserSheetViewModel.kt"
# interfaces
.implements Lrx/functions/b;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$2;->call(Lkotlin/Pair;)Lrx/Observable;
.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 $channelId:Ljava/lang/Long;
.field final synthetic this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$2;
# direct methods
.method constructor <init>(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$2;Ljava/lang/Long;)V
.locals 0
iput-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$2$2;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$2;
iput-object p2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$2$2;->$channelId:Ljava/lang/Long;
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, Lkotlin/Pair;
invoke-virtual {p0, p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$2$2;->call(Lkotlin/Pair;)Lrx/Observable;
move-result-object p1
return-object p1
.end method
.method public final call(Lkotlin/Pair;)Lrx/Observable;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkotlin/Pair<",
"+",
"Lcom/discord/models/domain/ModelUser;",
"+",
"Lcom/discord/models/domain/ModelUser;",
">;)",
"Lrx/Observable<",
"Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;",
">;"
}
.end annotation
invoke-virtual {p1}, Lkotlin/Pair;->component1()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/discord/models/domain/ModelUser;
invoke-virtual {p1}, Lkotlin/Pair;->component2()Ljava/lang/Object;
move-result-object p1
check-cast p1, Lcom/discord/models/domain/ModelUser;
if-eqz v0, :cond_0
iget-object v1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$2$2;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$2;
iget-object v1, v1, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$2;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;
invoke-virtual {v1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;->getStoreChannels()Lcom/discord/stores/StoreChannels;
move-result-object v1
iget-object v2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$2$2;->$channelId:Ljava/lang/Long;
const-string v3, "channelId"
invoke-static {v2, v3}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {v2}, Ljava/lang/Long;->longValue()J
move-result-wide v2
invoke-virtual {v1, v2, v3}, Lcom/discord/stores/StoreChannels;->get(J)Lrx/Observable;
move-result-object v1
new-instance v2, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$2$2$$special$$inlined$let$lambda$1;
invoke-direct {v2, p0, v0, p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$2$2$$special$$inlined$let$lambda$1;-><init>(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$2$2;Lcom/discord/models/domain/ModelUser;Lcom/discord/models/domain/ModelUser;)V
check-cast v2, Lrx/functions/b;
invoke-virtual {v1, v2}, Lrx/Observable;->g(Lrx/functions/b;)Lrx/Observable;
move-result-object p1
if-nez p1, :cond_1
:cond_0
invoke-static {}, Lrx/Observable;->IS()Lrx/Observable;
move-result-object p1
const-string v0, "Observable.empty()"
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
:cond_1
return-object p1
.end method

View file

@ -0,0 +1,138 @@
.class final Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$2;
.super Ljava/lang/Object;
.source "WidgetUserSheetViewModel.kt"
# interfaces
.implements Lrx/functions/b;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;->observeViewStateFromStores()Lrx/Observable;
.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/user/usersheet/WidgetUserSheetViewModel;
# direct methods
.method constructor <init>(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;)V
.locals 0
iput-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$2;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;
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, Lkotlin/Pair;
invoke-virtual {p0, p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$2;->call(Lkotlin/Pair;)Lrx/Observable;
move-result-object p1
return-object p1
.end method
.method public final call(Lkotlin/Pair;)Lrx/Observable;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkotlin/Pair<",
"Ljava/lang/Long;",
"Ljava/lang/Long;",
">;)",
"Lrx/Observable<",
"Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;",
">;"
}
.end annotation
invoke-virtual {p1}, Lkotlin/Pair;->component1()Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/Long;
invoke-virtual {p1}, Lkotlin/Pair;->component2()Ljava/lang/Object;
move-result-object p1
check-cast p1, Ljava/lang/Long;
iget-object v1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$2;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;
invoke-virtual {v1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;->getStoreUser()Lcom/discord/stores/StoreUser;
move-result-object v1
const-string v2, "userId"
invoke-static {v0, v2}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {v0}, Ljava/lang/Long;->longValue()J
move-result-wide v2
invoke-virtual {v1, v2, v3}, Lcom/discord/stores/StoreUser;->getUser(J)Lrx/Observable;
move-result-object v0
iget-object v1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$2;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;
invoke-virtual {v1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;->getStoreUser()Lcom/discord/stores/StoreUser;
move-result-object v1
invoke-virtual {v1}, Lcom/discord/stores/StoreUser;->getMe()Lrx/Observable;
move-result-object v1
sget-object v2, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$2$1;->INSTANCE:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$2$1;
check-cast v2, Lrx/functions/Func2;
invoke-static {v0, v1, v2}, Lrx/Observable;->a(Lrx/Observable;Lrx/Observable;Lrx/functions/Func2;)Lrx/Observable;
move-result-object v0
new-instance v1, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$2$2;
invoke-direct {v1, p0, p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$2$2;-><init>(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromStores$2;Ljava/lang/Long;)V
check-cast v1, Lrx/functions/b;
invoke-virtual {v0, v1}, Lrx/Observable;->g(Lrx/functions/b;)Lrx/Observable;
move-result-object p1
return-object p1
.end method

View file

@ -0,0 +1,371 @@
.class final Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromUsersAndChannel$1;
.super Ljava/lang/Object;
.source "WidgetUserSheetViewModel.kt"
# interfaces
.implements Lrx/functions/b;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;->observeViewStateFromUsersAndChannel(Lcom/discord/models/domain/ModelUser;Lcom/discord/models/domain/ModelUser;Lcom/discord/models/domain/ModelChannel;)Lrx/Observable;
.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;TR;>;"
}
.end annotation
# instance fields
.field final synthetic $channel:Lcom/discord/models/domain/ModelChannel;
.field final synthetic $me:Lcom/discord/models/domain/ModelUser;
.field final synthetic $user:Lcom/discord/models/domain/ModelUser;
# direct methods
.method constructor <init>(Lcom/discord/models/domain/ModelUser;Lcom/discord/models/domain/ModelUser;Lcom/discord/models/domain/ModelChannel;)V
.locals 0
iput-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromUsersAndChannel$1;->$me:Lcom/discord/models/domain/ModelUser;
iput-object p2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromUsersAndChannel$1;->$user:Lcom/discord/models/domain/ModelUser;
iput-object p3, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromUsersAndChannel$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(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreState;)Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;
.locals 27
move-object/from16 v0, p0
invoke-virtual/range {p1 .. p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreState;->getComputedMembers()Ljava/util/Map;
move-result-object v1
invoke-virtual/range {p1 .. p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreState;->getGuildRoles()Ljava/util/Map;
move-result-object v9
invoke-virtual/range {p1 .. p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreState;->getGuild()Lcom/discord/models/domain/ModelGuild;
move-result-object v10
iget-object v2, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromUsersAndChannel$1;->$me:Lcom/discord/models/domain/ModelUser;
invoke-virtual {v2}, Lcom/discord/models/domain/ModelUser;->getId()J
move-result-wide v2
iget-object v4, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromUsersAndChannel$1;->$user:Lcom/discord/models/domain/ModelUser;
invoke-virtual {v4}, Lcom/discord/models/domain/ModelUser;->getId()J
move-result-wide v4
const/4 v11, 0x1
const/4 v12, 0x0
cmp-long v6, v2, v4
if-nez v6, :cond_0
const/4 v15, 0x1
goto :goto_0
:cond_0
const/4 v15, 0x0
:goto_0
iget-object v2, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromUsersAndChannel$1;->$user:Lcom/discord/models/domain/ModelUser;
invoke-virtual {v2}, Lcom/discord/models/domain/ModelUser;->getId()J
move-result-wide v2
invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object v2
invoke-interface {v1, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v2
check-cast v2, Lcom/discord/models/domain/ModelGuildMember$Computed;
iget-object v3, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromUsersAndChannel$1;->$me:Lcom/discord/models/domain/ModelUser;
invoke-virtual {v3}, Lcom/discord/models/domain/ModelUser;->getId()J
move-result-wide v3
invoke-static {v3, v4}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object v3
invoke-interface {v1, v3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
check-cast v1, Lcom/discord/models/domain/ModelGuildMember$Computed;
if-eqz v2, :cond_3
invoke-virtual {v2}, Lcom/discord/models/domain/ModelGuildMember$Computed;->getRoles()Ljava/util/List;
move-result-object v3
if-eqz v3, :cond_3
check-cast v3, Ljava/lang/Iterable;
new-instance v4, Ljava/util/ArrayList;
invoke-direct {v4}, Ljava/util/ArrayList;-><init>()V
check-cast v4, Ljava/util/Collection;
invoke-interface {v3}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object v3
:cond_1
:goto_1
invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z
move-result v5
if-eqz v5, :cond_2
invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v5
check-cast v5, Ljava/lang/Long;
invoke-interface {v9, v5}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v5
check-cast v5, Lcom/discord/models/domain/ModelGuildRole;
if-eqz v5, :cond_1
invoke-interface {v4, v5}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
goto :goto_1
:cond_2
check-cast v4, Ljava/util/List;
check-cast v4, Ljava/lang/Iterable;
invoke-static {v4}, Lkotlin/a/m;->sorted(Ljava/lang/Iterable;)Ljava/util/List;
move-result-object v3
if-nez v3, :cond_4
:cond_3
invoke-static {}, Lkotlin/a/m;->emptyList()Ljava/util/List;
move-result-object v3
:cond_4
move-object/from16 v21, v3
const/4 v13, 0x0
if-eqz v2, :cond_6
if-eqz v1, :cond_6
if-nez v10, :cond_5
goto :goto_2
:cond_5
sget-object v3, Lcom/discord/utilities/permissions/ManageUserContext;->Companion:Lcom/discord/utilities/permissions/ManageUserContext$Companion;
iget-object v4, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromUsersAndChannel$1;->$me:Lcom/discord/models/domain/ModelUser;
iget-object v5, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromUsersAndChannel$1;->$user:Lcom/discord/models/domain/ModelUser;
invoke-virtual {v1}, Lcom/discord/models/domain/ModelGuildMember$Computed;->getRoles()Ljava/util/List;
move-result-object v1
const-string v6, "memberMe.roles"
invoke-static {v1, v6}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
move-object v6, v1
check-cast v6, Ljava/util/Collection;
invoke-virtual {v2}, Lcom/discord/models/domain/ModelGuildMember$Computed;->getRoles()Ljava/util/List;
move-result-object v1
const-string v2, "member.roles"
invoke-static {v1, v2}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
move-object v7, v1
check-cast v7, Ljava/util/Collection;
invoke-virtual/range {p1 .. p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreState;->getPermissions()Ljava/lang/Integer;
move-result-object v8
move-object v2, v3
move-object v3, v10
invoke-virtual/range {v2 .. v9}, Lcom/discord/utilities/permissions/ManageUserContext$Companion;->from(Lcom/discord/models/domain/ModelGuild;Lcom/discord/models/domain/ModelUser;Lcom/discord/models/domain/ModelUser;Ljava/util/Collection;Ljava/util/Collection;Ljava/lang/Integer;Ljava/util/Map;)Lcom/discord/utilities/permissions/ManageUserContext;
move-result-object v1
move-object/from16 v23, v1
goto :goto_3
:cond_6
:goto_2
move-object/from16 v23, v13
:goto_3
invoke-virtual/range {p1 .. p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreState;->getVoiceStates()Ljava/util/Map;
move-result-object v1
iget-object v2, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromUsersAndChannel$1;->$user:Lcom/discord/models/domain/ModelUser;
invoke-virtual {v2}, Lcom/discord/models/domain/ModelUser;->getId()J
move-result-wide v2
invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object v2
invoke-interface {v1, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
move-object/from16 v19, v1
check-cast v19, Lcom/discord/models/domain/ModelVoice$State;
iget-object v1, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromUsersAndChannel$1;->$channel:Lcom/discord/models/domain/ModelChannel;
invoke-virtual {v1}, Lcom/discord/models/domain/ModelChannel;->getOwnerId()J
move-result-wide v1
iget-object v3, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromUsersAndChannel$1;->$me:Lcom/discord/models/domain/ModelUser;
invoke-virtual {v3}, Lcom/discord/models/domain/ModelUser;->getId()J
move-result-wide v3
cmp-long v5, v1, v3
if-nez v5, :cond_7
const/16 v16, 0x1
goto :goto_4
:cond_7
const/16 v16, 0x0
:goto_4
invoke-virtual/range {p1 .. p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreState;->getUserRelationshipType()Ljava/lang/Integer;
move-result-object v1
invoke-static {v1}, Lcom/discord/models/domain/ModelUserRelationship;->getType(Ljava/lang/Integer;)I
move-result v26
new-instance v1, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;
iget-object v14, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromUsersAndChannel$1;->$user:Lcom/discord/models/domain/ModelUser;
invoke-virtual/range {p1 .. p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreState;->getMuted()Z
move-result v17
invoke-virtual/range {p1 .. p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreState;->getOutputVolume()I
move-result v18
invoke-virtual/range {p1 .. p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreState;->getRichPresence()Lcom/discord/widgets/user/presence/ModelRichPresence;
move-result-object v20
iget-object v2, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromUsersAndChannel$1;->$channel:Lcom/discord/models/domain/ModelChannel;
invoke-virtual/range {p1 .. p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreState;->getStreamContext()Lcom/discord/utilities/streams/StreamContext;
move-result-object v24
if-eqz v10, :cond_8
invoke-virtual {v10}, Lcom/discord/models/domain/ModelGuild;->getName()Ljava/lang/String;
move-result-object v3
move-object/from16 v25, v3
goto :goto_5
:cond_8
move-object/from16 v25, v13
:goto_5
move-object v13, v1
move-object/from16 v22, v2
invoke-direct/range {v13 .. v26}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;-><init>(Lcom/discord/models/domain/ModelUser;ZZZILcom/discord/models/domain/ModelVoice$State;Lcom/discord/widgets/user/presence/ModelRichPresence;Ljava/util/List;Lcom/discord/models/domain/ModelChannel;Lcom/discord/utilities/permissions/ManageUserContext;Lcom/discord/utilities/streams/StreamContext;Ljava/lang/String;I)V
return-object v1
.end method
.method public final bridge synthetic call(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreState;
invoke-virtual {p0, p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$observeViewStateFromUsersAndChannel$1;->call(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreState;)Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;
move-result-object p1
return-object p1
.end method

View file

@ -0,0 +1,98 @@
.class final Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$removeRelationship$1;
.super Ljava/lang/Object;
.source "WidgetUserSheetViewModel.kt"
# interfaces
.implements Lrx/functions/b;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;->removeRelationship(I)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/user/usersheet/WidgetUserSheetViewModel;
# direct methods
.method constructor <init>(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;)V
.locals 0
iput-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$removeRelationship$1;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;
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/user/usersheet/WidgetUserSheetViewModel$removeRelationship$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 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Long;",
")",
"Lrx/Observable<",
"Ljava/lang/Void;",
">;"
}
.end annotation
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$removeRelationship$1;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;
invoke-virtual {v0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;->getRestAPI()Lcom/discord/utilities/rest/RestAPI;
move-result-object v0
const-string v1, "userId"
invoke-static {p1, v1}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p1}, Ljava/lang/Long;->longValue()J
move-result-wide v1
const-string p1, "User Profile"
invoke-virtual {v0, p1, v1, v2}, Lcom/discord/utilities/rest/RestAPI;->removeRelationship(Ljava/lang/String;J)Lrx/Observable;
move-result-object p1
return-object p1
.end method

View file

@ -0,0 +1,75 @@
.class final Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$removeRelationship$2;
.super Lkotlin/jvm/internal/m;
.source "WidgetUserSheetViewModel.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function1;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;->removeRelationship(I)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/jvm/internal/m;",
"Lkotlin/jvm/functions/Function1<",
"Ljava/lang/Void;",
"Lkotlin/Unit;",
">;"
}
.end annotation
# instance fields
.field final synthetic $successMessageStringRes:I
.field final synthetic this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;
# direct methods
.method constructor <init>(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;I)V
.locals 0
iput-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$removeRelationship$2;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;
iput p2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$removeRelationship$2;->$successMessageStringRes:I
const/4 p1, 0x1
invoke-direct {p0, p1}, Lkotlin/jvm/internal/m;-><init>(I)V
return-void
.end method
# virtual methods
.method public final bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Ljava/lang/Void;
invoke-virtual {p0, p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$removeRelationship$2;->invoke(Ljava/lang/Void;)V
sget-object p1, Lkotlin/Unit;->bgt:Lkotlin/Unit;
return-object p1
.end method
.method public final invoke(Ljava/lang/Void;)V
.locals 1
iget-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$removeRelationship$2;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;
iget v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$removeRelationship$2;->$successMessageStringRes:I
invoke-static {p1, v0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;->access$emitShowToastEvent(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;I)V
return-void
.end method

View file

@ -0,0 +1,75 @@
.class final Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$removeRelationship$3;
.super Lkotlin/jvm/internal/m;
.source "WidgetUserSheetViewModel.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function1;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;->removeRelationship(I)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/jvm/internal/m;",
"Lkotlin/jvm/functions/Function1<",
"Lcom/discord/utilities/error/Error;",
"Lkotlin/Unit;",
">;"
}
.end annotation
# instance fields
.field final synthetic this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;
# direct methods
.method constructor <init>(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;)V
.locals 0
iput-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$removeRelationship$3;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;
const/4 p1, 0x1
invoke-direct {p0, p1}, Lkotlin/jvm/internal/m;-><init>(I)V
return-void
.end method
# virtual methods
.method public final bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Lcom/discord/utilities/error/Error;
invoke-virtual {p0, p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$removeRelationship$3;->invoke(Lcom/discord/utilities/error/Error;)V
sget-object p1, Lkotlin/Unit;->bgt:Lkotlin/Unit;
return-object p1
.end method
.method public final invoke(Lcom/discord/utilities/error/Error;)V
.locals 1
const-string v0, "it"
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
iget-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$removeRelationship$3;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;
const v0, 0x7f1204c4
invoke-static {p1, v0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;->access$emitShowToastEvent(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;I)V
return-void
.end method

View file

@ -45,7 +45,7 @@
iget-object v0, p0, Lcom/discord/widgets/voice/call/PrivateCallUsersAdapter$CallUserViewHolder;->itemView:Landroid/view/View;
const v1, 0x7f0a0110
const v1, 0x7f0a0111
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

View file

@ -57,7 +57,7 @@
invoke-virtual {p0, p1}, Lcom/discord/widgets/voice/call/WidgetCallFailed$configureUI$$inlined$let$lambda$1;->invoke(Landroid/view/View;)V
sget-object p1, Lkotlin/Unit;->bgo:Lkotlin/Unit;
sget-object p1, Lkotlin/Unit;->bgt:Lkotlin/Unit;
return-object p1
.end method

View file

@ -53,7 +53,7 @@
invoke-virtual {p0, p1}, Lcom/discord/widgets/voice/call/WidgetCallFailed$onViewBoundOrOnResume$1;->invoke(Lcom/discord/models/domain/ModelUser;)V
sget-object p1, Lkotlin/Unit;->bgo:Lkotlin/Unit;
sget-object p1, Lkotlin/Unit;->bgt:Lkotlin/Unit;
return-object p1
.end method

View file

@ -53,7 +53,7 @@
invoke-virtual {p0, p1}, Lcom/discord/widgets/voice/call/WidgetCallFailed$sendFriendRequest$1;->invoke(Ljava/lang/Void;)V
sget-object p1, Lkotlin/Unit;->bgo:Lkotlin/Unit;
sget-object p1, Lkotlin/Unit;->bgt:Lkotlin/Unit;
return-object p1
.end method

View file

@ -145,7 +145,7 @@
invoke-direct {p0}, Lcom/discord/app/AppDialog;-><init>()V
const v0, 0x7f0a07fe
const v0, 0x7f0a081f
invoke-static {p0, v0}, Lkotterknife/b;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -153,7 +153,7 @@
iput-object v0, p0, Lcom/discord/widgets/voice/call/WidgetCallFailed;->dialogHeader$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a07ff
const v0, 0x7f0a0820
invoke-static {p0, v0}, Lkotterknife/b;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -161,7 +161,7 @@
iput-object v0, p0, Lcom/discord/widgets/voice/call/WidgetCallFailed;->dialogText$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a07fd
const v0, 0x7f0a081e
invoke-static {p0, v0}, Lkotterknife/b;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -169,7 +169,7 @@
iput-object v0, p0, Lcom/discord/widgets/voice/call/WidgetCallFailed;->dialogConfirm$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a07fc
const v0, 0x7f0a081d
invoke-static {p0, v0}, Lkotterknife/b;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -366,7 +366,7 @@
move-result-object p1
sget-object p2, Lcom/discord/app/i;->vP:Lcom/discord/app/i;
sget-object p2, Lcom/discord/app/i;->vO:Lcom/discord/app/i;
invoke-virtual {p0}, Lcom/discord/widgets/voice/call/WidgetCallFailed;->getContext()Landroid/content/Context;
@ -392,7 +392,7 @@
.method public final getContentViewResId()I
.locals 1
const v0, 0x7f0d007d
const v0, 0x7f0d007e
return v0
.end method

View file

@ -75,7 +75,7 @@
invoke-virtual {p0, p1}, Lcom/discord/widgets/voice/call/WidgetPrivateCall$Companion$callAndLaunch$1;->invoke(Lrx/functions/Action0;)V
sget-object p1, Lkotlin/Unit;->bgo:Lkotlin/Unit;
sget-object p1, Lkotlin/Unit;->bgt:Lkotlin/Unit;
return-object p1
.end method

View file

@ -75,7 +75,7 @@
invoke-virtual {p0, p1}, Lcom/discord/widgets/voice/call/WidgetPrivateCall$Companion$callAndLaunch$2;->invoke(Lrx/functions/Action0;)V
sget-object p1, Lkotlin/Unit;->bgo:Lkotlin/Unit;
sget-object p1, Lkotlin/Unit;->bgt:Lkotlin/Unit;
return-object p1
.end method

View file

@ -78,7 +78,7 @@
.method public final call(Lcom/discord/rtcconnection/RtcConnection$State;)Z
.locals 1
sget-object v0, Lcom/discord/rtcconnection/RtcConnection$State$f;->zs:Lcom/discord/rtcconnection/RtcConnection$State$f;
sget-object v0, Lcom/discord/rtcconnection/RtcConnection$State$f;->zr:Lcom/discord/rtcconnection/RtcConnection$State$f;
if-ne p1, v0, :cond_0

View file

@ -53,7 +53,7 @@
invoke-virtual {p0, p1}, Lcom/discord/widgets/voice/call/WidgetPrivateCall$Companion$callAndLaunch$3$5;->invoke(Ljava/lang/Long;)V
sget-object p1, Lkotlin/Unit;->bgo:Lkotlin/Unit;
sget-object p1, Lkotlin/Unit;->bgt:Lkotlin/Unit;
return-object p1
.end method

View file

@ -60,7 +60,7 @@
invoke-virtual {p0}, Lcom/discord/widgets/voice/call/WidgetPrivateCall$Companion$callAndLaunch$3$6$1;->invoke()V
sget-object v0, Lkotlin/Unit;->bgo:Lkotlin/Unit;
sget-object v0, Lkotlin/Unit;->bgt:Lkotlin/Unit;
return-object v0
.end method

View file

@ -50,7 +50,7 @@
invoke-virtual {p0}, Lcom/discord/widgets/voice/call/WidgetPrivateCall$Companion$callAndLaunch$3$6;->invoke()V
sget-object v0, Lkotlin/Unit;->bgo:Lkotlin/Unit;
sget-object v0, Lkotlin/Unit;->bgt:Lkotlin/Unit;
return-object v0
.end method

View file

@ -74,7 +74,7 @@
invoke-virtual {p0}, Lcom/discord/widgets/voice/call/WidgetPrivateCall$Companion$callAndLaunch$3$7;->invoke()V
sget-object v0, Lkotlin/Unit;->bgo:Lkotlin/Unit;
sget-object v0, Lkotlin/Unit;->bgt:Lkotlin/Unit;
return-object v0
.end method

View file

@ -125,7 +125,7 @@
move-result-object v0
invoke-virtual {v0}, Lrx/Observable;->IU()Lrx/Observable;
invoke-virtual {v0}, Lrx/Observable;->IW()Lrx/Observable;
move-result-object v0

View file

@ -72,11 +72,17 @@
invoke-static {v0, v1}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
sget-object v1, Lcom/discord/widgets/voice/model/CallModel;->Companion:Lcom/discord/widgets/voice/model/CallModel$Companion;
sget-object v5, Lcom/discord/widgets/voice/model/CallModel;->Companion:Lcom/discord/widgets/voice/model/CallModel$Companion;
move-wide v5, p1
const/4 v8, 0x0
invoke-virtual {v1, p1, p2}, Lcom/discord/widgets/voice/model/CallModel$Companion;->get(J)Lrx/Observable;
const/4 v9, 0x2
const/4 v10, 0x0
move-wide v6, p1
invoke-static/range {v5 .. v10}, Lcom/discord/widgets/voice/model/CallModel$Companion;->get$default(Lcom/discord/widgets/voice/model/CallModel$Companion;JLcom/discord/widgets/voice/model/CallModel$Type;ILjava/lang/Object;)Lrx/Observable;
move-result-object v2
@ -88,7 +94,7 @@
move-result-object v0
invoke-static {}, Lrx/internal/a/ae;->Jn()Lrx/internal/a/ae;
invoke-static {}, Lrx/internal/a/ae;->Jp()Lrx/internal/a/ae;
move-result-object v1
@ -138,7 +144,7 @@
move-result-object v0
invoke-static {}, Lrx/internal/a/ae;->Jn()Lrx/internal/a/ae;
invoke-static {}, Lrx/internal/a/ae;->Jp()Lrx/internal/a/ae;
move-result-object v1

View file

@ -193,7 +193,7 @@
return-void
:pswitch_data_0
.packed-switch 0x7f0a0466
.packed-switch 0x7f0a046b
:pswitch_5
:pswitch_4
:pswitch_3

View file

@ -53,7 +53,7 @@
.method public final call(Landroid/view/Menu;)V
.locals 9
const v0, 0x7f0a0469
const v0, 0x7f0a046e
invoke-interface {p1, v0}, Landroid/view/Menu;->findItem(I)Landroid/view/MenuItem;
@ -155,7 +155,7 @@
invoke-interface {v0, v1}, Landroid/view/MenuItem;->setIcon(Landroid/graphics/drawable/Drawable;)Landroid/view/MenuItem;
const v0, 0x7f0a0468
const v0, 0x7f0a046d
invoke-interface {p1, v0}, Landroid/view/Menu;->findItem(I)Landroid/view/MenuItem;
@ -190,7 +190,7 @@
:cond_2
invoke-interface {v0, v4}, Landroid/view/MenuItem;->setVisible(Z)Landroid/view/MenuItem;
const v0, 0x7f0a046a
const v0, 0x7f0a046f
invoke-interface {p1, v0}, Landroid/view/Menu;->findItem(I)Landroid/view/MenuItem;
@ -214,7 +214,7 @@
invoke-interface {v0, v1}, Landroid/view/MenuItem;->setVisible(Z)Landroid/view/MenuItem;
const v0, 0x7f0a0467
const v0, 0x7f0a046c
invoke-interface {p1, v0}, Landroid/view/Menu;->findItem(I)Landroid/view/MenuItem;
@ -236,7 +236,7 @@
invoke-interface {v0, v1}, Landroid/view/MenuItem;->setVisible(Z)Landroid/view/MenuItem;
const v0, 0x7f0a0466
const v0, 0x7f0a046b
invoke-interface {p1, v0}, Landroid/view/Menu;->findItem(I)Landroid/view/MenuItem;

View file

@ -57,7 +57,7 @@
invoke-virtual {p0, p1}, Lcom/discord/widgets/voice/call/WidgetPrivateCall$configureConnectionStatusText$1;->invoke(Ljava/lang/Long;)V
sget-object p1, Lkotlin/Unit;->bgo:Lkotlin/Unit;
sget-object p1, Lkotlin/Unit;->bgt:Lkotlin/Unit;
return-object p1
.end method

View file

@ -53,7 +53,7 @@
invoke-virtual {p0, p1}, Lcom/discord/widgets/voice/call/WidgetPrivateCall$configureConnectionStatusText$2;->invoke(Lrx/Subscription;)V
sget-object p1, Lkotlin/Unit;->bgo:Lkotlin/Unit;
sget-object p1, Lkotlin/Unit;->bgt:Lkotlin/Unit;
return-object p1
.end method

View file

@ -105,7 +105,7 @@
return-object p1
:cond_0
invoke-static {}, Lrx/Observable;->IR()Lrx/Observable;
invoke-static {}, Lrx/Observable;->IT()Lrx/Observable;
move-result-object p1

View file

@ -55,7 +55,7 @@
move-result-object p1
sget-object v0, Lkotlin/Unit;->bgo:Lkotlin/Unit;
sget-object v0, Lkotlin/Unit;->bgt:Lkotlin/Unit;
invoke-virtual {p1, v0}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V

View file

@ -63,7 +63,7 @@
invoke-virtual {p0, p1}, Lcom/discord/widgets/voice/call/WidgetPrivateCall$initUserTapListener$2;->invoke(Ljava/lang/Long;)V
sget-object p1, Lkotlin/Unit;->bgo:Lkotlin/Unit;
sget-object p1, Lkotlin/Unit;->bgt:Lkotlin/Unit;
return-object p1
.end method

View file

@ -62,7 +62,7 @@
invoke-virtual {p0, p1}, Lcom/discord/widgets/voice/call/WidgetPrivateCall$initializeSystemUiListeners$1;->invoke(Lkotlin/jvm/functions/Function1;)V
sget-object p1, Lkotlin/Unit;->bgo:Lkotlin/Unit;
sget-object p1, Lkotlin/Unit;->bgt:Lkotlin/Unit;
return-object p1
.end method

View file

@ -63,7 +63,7 @@
invoke-virtual {p0, p1}, Lcom/discord/widgets/voice/call/WidgetPrivateCall$initializeSystemUiListeners$2;->invoke(Landroid/view/View;)V
sget-object p1, Lkotlin/Unit;->bgo:Lkotlin/Unit;
sget-object p1, Lkotlin/Unit;->bgt:Lkotlin/Unit;
return-object p1
.end method

View file

@ -53,7 +53,7 @@
invoke-virtual {p0, p1}, Lcom/discord/widgets/voice/call/WidgetPrivateCall$initializeSystemUiListeners$3$1;->invoke(Landroid/view/View;)V
sget-object p1, Lkotlin/Unit;->bgo:Lkotlin/Unit;
sget-object p1, Lkotlin/Unit;->bgt:Lkotlin/Unit;
return-object p1
.end method

View file

@ -57,7 +57,7 @@
invoke-virtual {p0, v0, v1}, Lcom/discord/widgets/voice/call/WidgetPrivateCall$onViewBound$$inlined$apply$lambda$1;->invoke(J)V
sget-object p1, Lkotlin/Unit;->bgo:Lkotlin/Unit;
sget-object p1, Lkotlin/Unit;->bgt:Lkotlin/Unit;
return-object p1
.end method

View file

@ -55,7 +55,7 @@
move-result-object p1
sget-object v2, Lkotlin/Unit;->bgo:Lkotlin/Unit;
sget-object v2, Lkotlin/Unit;->bgt:Lkotlin/Unit;
invoke-virtual {p1, v2}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V

View file

@ -53,7 +53,7 @@
invoke-virtual {p0, p1}, Lcom/discord/widgets/voice/call/WidgetPrivateCall$onViewBound$3;->invoke(Landroid/view/View;)V
sget-object p1, Lkotlin/Unit;->bgo:Lkotlin/Unit;
sget-object p1, Lkotlin/Unit;->bgt:Lkotlin/Unit;
return-object p1
.end method

View file

@ -75,7 +75,7 @@
invoke-virtual {p0, p1}, Lcom/discord/widgets/voice/call/WidgetPrivateCall$onViewBound$5;->invoke(Ljava/lang/Boolean;)V
sget-object p1, Lkotlin/Unit;->bgo:Lkotlin/Unit;
sget-object p1, Lkotlin/Unit;->bgt:Lkotlin/Unit;
return-object p1
.end method

View file

@ -50,7 +50,7 @@
invoke-virtual {p0}, Lcom/discord/widgets/voice/call/WidgetPrivateCall$onViewBound$6;->invoke()V
sget-object v0, Lkotlin/Unit;->bgo:Lkotlin/Unit;
sget-object v0, Lkotlin/Unit;->bgt:Lkotlin/Unit;
return-object v0
.end method

View file

@ -63,7 +63,7 @@
invoke-virtual {p0, p1}, Lcom/discord/widgets/voice/call/WidgetPrivateCall$onViewBoundOrOnResume$1;->invoke(Ljava/lang/Boolean;)V
sget-object p1, Lkotlin/Unit;->bgo:Lkotlin/Unit;
sget-object p1, Lkotlin/Unit;->bgt:Lkotlin/Unit;
return-object p1
.end method

View file

@ -53,7 +53,7 @@
invoke-virtual {p0, p1}, Lcom/discord/widgets/voice/call/WidgetPrivateCall$onViewBoundOrOnResume$2;->invoke(Lcom/discord/widgets/voice/call/WidgetPrivateCall$Model;)V
sget-object p1, Lkotlin/Unit;->bgo:Lkotlin/Unit;
sget-object p1, Lkotlin/Unit;->bgt:Lkotlin/Unit;
return-object p1
.end method

View file

@ -396,7 +396,7 @@
iput-object v0, p0, Lcom/discord/widgets/voice/call/WidgetPrivateCall;->actionBar$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a0545
const v0, 0x7f0a054d
invoke-static {p0, v0}, Lkotterknife/b;->c(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -404,7 +404,7 @@
iput-object v0, p0, Lcom/discord/widgets/voice/call/WidgetPrivateCall;->voiceCallStatusGroup$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a0541
const v0, 0x7f0a0549
invoke-static {p0, v0}, Lkotterknife/b;->c(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -412,7 +412,7 @@
iput-object v0, p0, Lcom/discord/widgets/voice/call/WidgetPrivateCall;->statusPrimary$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a0542
const v0, 0x7f0a054a
invoke-static {p0, v0}, Lkotterknife/b;->c(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -420,7 +420,7 @@
iput-object v0, p0, Lcom/discord/widgets/voice/call/WidgetPrivateCall;->statusSecondary$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a010f
const v0, 0x7f0a0110
invoke-static {p0, v0}, Lkotterknife/b;->c(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -428,7 +428,7 @@
iput-object v0, p0, Lcom/discord/widgets/voice/call/WidgetPrivateCall;->controls$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a0539
const v0, 0x7f0a0541
invoke-static {p0, v0}, Lkotterknife/b;->c(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -436,7 +436,7 @@
iput-object v0, p0, Lcom/discord/widgets/voice/call/WidgetPrivateCall;->connectButton$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a053f
const v0, 0x7f0a0547
invoke-static {p0, v0}, Lkotterknife/b;->c(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -444,7 +444,7 @@
iput-object v0, p0, Lcom/discord/widgets/voice/call/WidgetPrivateCall;->pushToTalkButton$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a0544
const v0, 0x7f0a054c
invoke-static {p0, v0}, Lkotterknife/b;->c(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -452,7 +452,7 @@
iput-object v0, p0, Lcom/discord/widgets/voice/call/WidgetPrivateCall;->videoCallGridView$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a053e
const v0, 0x7f0a0546
invoke-static {p0, v0}, Lkotterknife/b;->c(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -460,7 +460,7 @@
iput-object v0, p0, Lcom/discord/widgets/voice/call/WidgetPrivateCall;->videoCallPip$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a053d
const v0, 0x7f0a0545
invoke-static {p0, v0}, Lkotterknife/b;->c(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -468,7 +468,7 @@
iput-object v0, p0, Lcom/discord/widgets/voice/call/WidgetPrivateCall;->memberListRecycler$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a0111
const v0, 0x7f0a0112
invoke-static {p0, v0}, Lkotterknife/b;->c(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -506,7 +506,7 @@
iput-object v0, p0, Lcom/discord/widgets/voice/call/WidgetPrivateCall;->videoParticipantTapStream:Lrx/subjects/BehaviorSubject;
sget-object v0, Lkotlin/Unit;->bgo:Lkotlin/Unit;
sget-object v0, Lkotlin/Unit;->bgt:Lkotlin/Unit;
invoke-static {v0}, Lrx/subjects/BehaviorSubject;->bD(Ljava/lang/Object;)Lrx/subjects/BehaviorSubject;
@ -743,7 +743,7 @@
move-result-object v0
const v1, 0x7f0800ea
const v1, 0x7f0800eb
invoke-virtual {v0, v1}, Landroid/view/View;->setBackgroundResource(I)V
@ -1299,7 +1299,7 @@
move-result-object v2
sget-object v3, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$InputMode;->zT:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$InputMode;
sget-object v3, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$InputMode;->zR:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$InputMode;
if-ne v2, v3, :cond_8
@ -1746,7 +1746,7 @@
.method public final getContentViewResId()I
.locals 1
const v0, 0x7f0d0159
const v0, 0x7f0d015b
return v0
.end method

View file

@ -157,7 +157,7 @@
invoke-direct {p0, p1, p2, p3}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
const p1, 0x7f0a053a
const p1, 0x7f0a0542
invoke-static {p0, p1}, Lkotterknife/b;->d(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
@ -165,7 +165,7 @@
iput-object p1, p0, Lcom/discord/widgets/voice/call/WidgetPrivateCallControlsView;->disconnect$delegate:Lkotlin/properties/ReadOnlyProperty;
const p1, 0x7f0a053b
const p1, 0x7f0a0543
invoke-static {p0, p1}, Lkotterknife/b;->d(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
@ -173,7 +173,7 @@
iput-object p1, p0, Lcom/discord/widgets/voice/call/WidgetPrivateCallControlsView;->mute$delegate:Lkotlin/properties/ReadOnlyProperty;
const p1, 0x7f0a053c
const p1, 0x7f0a0544
invoke-static {p0, p1}, Lkotterknife/b;->d(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
@ -189,7 +189,7 @@
check-cast p2, Landroid/view/ViewGroup;
const p3, 0x7f0d015a
const p3, 0x7f0d015c
invoke-static {p1, p3, p2}, Landroid/widget/FrameLayout;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;
@ -309,12 +309,12 @@
if-eqz v1, :cond_0
const v1, 0x7f0802fc
const v1, 0x7f080308
goto :goto_0
:cond_0
const v1, 0x7f080301
const v1, 0x7f08030d
:goto_0
invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V
@ -377,12 +377,12 @@
if-eqz v0, :cond_2
const v1, 0x7f0803c7
const v1, 0x7f0803d4
goto :goto_2
:cond_2
const v1, 0x7f0803c6
const v1, 0x7f0803d3
:goto_2
invoke-virtual {p1, v1}, Landroid/widget/ImageView;->setImageResource(I)V

View file

@ -72,7 +72,7 @@
.end method
.method public final call(Ljava/util/Set;)Lrx/Observable;
.locals 3
.locals 6
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
@ -125,7 +125,13 @@
move-result-wide v1
invoke-virtual {v0, v1, v2}, Lcom/discord/widgets/voice/model/CallModel$Companion;->get(J)Lrx/Observable;
const/4 v3, 0x0
const/4 v4, 0x2
const/4 v5, 0x0
invoke-static/range {v0 .. v5}, Lcom/discord/widgets/voice/model/CallModel$Companion;->get$default(Lcom/discord/widgets/voice/model/CallModel$Companion;JLcom/discord/widgets/voice/model/CallModel$Type;ILjava/lang/Object;)Lrx/Observable;
move-result-object v0

View file

@ -70,7 +70,7 @@
move-result-object v0
invoke-static {}, Lrx/internal/a/ae;->Jn()Lrx/internal/a/ae;
invoke-static {}, Lrx/internal/a/ae;->Jp()Lrx/internal/a/ae;
move-result-object v1

View file

@ -53,7 +53,7 @@
invoke-virtual {p0, p1}, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming$onViewBoundOrOnResume$1;->invoke(Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming$Model;)V
sget-object p1, Lkotlin/Unit;->bgo:Lkotlin/Unit;
sget-object p1, Lkotlin/Unit;->bgt:Lkotlin/Unit;
return-object p1
.end method

Some files were not shown because too many files have changed in this diff Show more