apkfuckery/com.discord/smali/com/discord/widgets/chat/list/WidgetChatListActions.smali

1912 lines
64 KiB
Smali
Raw Normal View History

2019-02-04 20:42:43 +00:00
.class public final Lcom/discord/widgets/chat/list/WidgetChatListActions;
2019-02-04 20:08:30 +00:00
.super Lcom/discord/app/AppBottomSheet;
2019-02-04 20:42:43 +00:00
.source "WidgetChatListActions.kt"
2019-02-04 20:08:30 +00:00
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
2019-02-04 20:42:43 +00:00
Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;,
Lcom/discord/widgets/chat/list/WidgetChatListActions$Companion;
2019-02-04 20:08:30 +00:00
}
.end annotation
# static fields
2019-02-04 20:42:43 +00:00
.field static final synthetic $$delegatedProperties:[Lkotlin/reflect/KProperty;
.field public static final Companion:Lcom/discord/widgets/chat/list/WidgetChatListActions$Companion;
2019-02-04 20:08:30 +00:00
.field private static final INTENT_EXTRA_MESSAGE_CHANNEL_ID:Ljava/lang/String; = "INTENT_EXTRA_MESSAGE_CHANNEL_ID"
.field private static final INTENT_EXTRA_MESSAGE_CONTENT:Ljava/lang/String; = "INTENT_EXTRA_MESSAGE_CONTENT"
.field private static final INTENT_EXTRA_MESSAGE_ID:Ljava/lang/String; = "INTENT_EXTRA_MESSAGE_ID"
.field private static final INTENT_EXTRA_TYPE:Ljava/lang/String; = "INTENT_EXTRA_TYPE"
.field private static final TYPE_CHAT:I = 0x0
.field private static final TYPE_PINS:I = 0x1
2019-02-04 20:05:16 +00:00
# instance fields
2019-02-04 20:08:30 +00:00
.field private channelId:J
2019-02-04 20:42:43 +00:00
.field private final chatActionsAddReaction$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
.field private final chatActionsAvatar$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
.field private final chatActionsCopy$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
.field private final chatActionsCopyId$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
.field private final chatActionsDelete$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
.field private final chatActionsEdit$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
.field private final chatActionsHeader$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
.field private final chatActionsManageReactions$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
.field private final chatActionsPin$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
.field private final chatActionsProfile$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:08:30 +00:00
2019-02-04 20:45:28 +00:00
.field private final chatActionsRemoveReactions$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:42:43 +00:00
.field private final chatActionsResend$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
.field private final chatActionsShare$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
.field private final chatActionsSubtitle$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
.field private final chatActionsTitle$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:08:30 +00:00
.field private messageId:J
# direct methods
2019-02-04 20:42:43 +00:00
.method static constructor <clinit>()V
.locals 5
2019-02-04 20:08:30 +00:00
2019-02-04 20:45:28 +00:00
const/16 v0, 0xf
2019-02-04 20:42:43 +00:00
new-array v0, v0, [Lkotlin/reflect/KProperty;
new-instance v1, Lkotlin/jvm/internal/u;
const-class v2, Lcom/discord/widgets/chat/list/WidgetChatListActions;
invoke-static {v2}, Lkotlin/jvm/internal/v;->N(Ljava/lang/Class;)Lkotlin/reflect/b;
move-result-object v2
const-string v3, "chatActionsAddReaction"
const-string v4, "getChatActionsAddReaction()Landroid/view/View;"
invoke-direct {v1, v2, v3, v4}, Lkotlin/jvm/internal/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
invoke-static {v1}, Lkotlin/jvm/internal/v;->a(Lkotlin/jvm/internal/t;)Lkotlin/reflect/d;
move-result-object v1
check-cast v1, Lkotlin/reflect/KProperty;
const/4 v2, 0x0
aput-object v1, v0, v2
new-instance v1, Lkotlin/jvm/internal/u;
const-class v2, Lcom/discord/widgets/chat/list/WidgetChatListActions;
invoke-static {v2}, Lkotlin/jvm/internal/v;->N(Ljava/lang/Class;)Lkotlin/reflect/b;
move-result-object v2
const-string v3, "chatActionsManageReactions"
const-string v4, "getChatActionsManageReactions()Landroid/widget/TextView;"
invoke-direct {v1, v2, v3, v4}, Lkotlin/jvm/internal/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
invoke-static {v1}, Lkotlin/jvm/internal/v;->a(Lkotlin/jvm/internal/t;)Lkotlin/reflect/d;
move-result-object v1
check-cast v1, Lkotlin/reflect/KProperty;
const/4 v2, 0x1
aput-object v1, v0, v2
new-instance v1, Lkotlin/jvm/internal/u;
const-class v2, Lcom/discord/widgets/chat/list/WidgetChatListActions;
invoke-static {v2}, Lkotlin/jvm/internal/v;->N(Ljava/lang/Class;)Lkotlin/reflect/b;
move-result-object v2
2019-02-04 20:45:28 +00:00
const-string v3, "chatActionsRemoveReactions"
const-string v4, "getChatActionsRemoveReactions()Landroid/widget/TextView;"
invoke-direct {v1, v2, v3, v4}, Lkotlin/jvm/internal/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
invoke-static {v1}, Lkotlin/jvm/internal/v;->a(Lkotlin/jvm/internal/t;)Lkotlin/reflect/d;
move-result-object v1
check-cast v1, Lkotlin/reflect/KProperty;
const/4 v2, 0x2
aput-object v1, v0, v2
new-instance v1, Lkotlin/jvm/internal/u;
const-class v2, Lcom/discord/widgets/chat/list/WidgetChatListActions;
invoke-static {v2}, Lkotlin/jvm/internal/v;->N(Ljava/lang/Class;)Lkotlin/reflect/b;
move-result-object v2
2019-02-04 20:42:43 +00:00
const-string v3, "chatActionsEdit"
const-string v4, "getChatActionsEdit()Landroid/view/View;"
invoke-direct {v1, v2, v3, v4}, Lkotlin/jvm/internal/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
invoke-static {v1}, Lkotlin/jvm/internal/v;->a(Lkotlin/jvm/internal/t;)Lkotlin/reflect/d;
move-result-object v1
check-cast v1, Lkotlin/reflect/KProperty;
2019-02-04 20:45:28 +00:00
const/4 v2, 0x3
2019-02-04 20:42:43 +00:00
aput-object v1, v0, v2
new-instance v1, Lkotlin/jvm/internal/u;
const-class v2, Lcom/discord/widgets/chat/list/WidgetChatListActions;
invoke-static {v2}, Lkotlin/jvm/internal/v;->N(Ljava/lang/Class;)Lkotlin/reflect/b;
move-result-object v2
const-string v3, "chatActionsResend"
const-string v4, "getChatActionsResend()Landroid/view/View;"
invoke-direct {v1, v2, v3, v4}, Lkotlin/jvm/internal/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
invoke-static {v1}, Lkotlin/jvm/internal/v;->a(Lkotlin/jvm/internal/t;)Lkotlin/reflect/d;
move-result-object v1
check-cast v1, Lkotlin/reflect/KProperty;
2019-02-04 20:45:28 +00:00
const/4 v2, 0x4
2019-02-04 20:42:43 +00:00
aput-object v1, v0, v2
new-instance v1, Lkotlin/jvm/internal/u;
const-class v2, Lcom/discord/widgets/chat/list/WidgetChatListActions;
invoke-static {v2}, Lkotlin/jvm/internal/v;->N(Ljava/lang/Class;)Lkotlin/reflect/b;
move-result-object v2
const-string v3, "chatActionsCopy"
const-string v4, "getChatActionsCopy()Landroid/view/View;"
invoke-direct {v1, v2, v3, v4}, Lkotlin/jvm/internal/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
invoke-static {v1}, Lkotlin/jvm/internal/v;->a(Lkotlin/jvm/internal/t;)Lkotlin/reflect/d;
move-result-object v1
check-cast v1, Lkotlin/reflect/KProperty;
2019-02-04 20:45:28 +00:00
const/4 v2, 0x5
2019-02-04 20:42:43 +00:00
aput-object v1, v0, v2
new-instance v1, Lkotlin/jvm/internal/u;
const-class v2, Lcom/discord/widgets/chat/list/WidgetChatListActions;
invoke-static {v2}, Lkotlin/jvm/internal/v;->N(Ljava/lang/Class;)Lkotlin/reflect/b;
move-result-object v2
const-string v3, "chatActionsCopyId"
const-string v4, "getChatActionsCopyId()Landroid/view/View;"
invoke-direct {v1, v2, v3, v4}, Lkotlin/jvm/internal/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
invoke-static {v1}, Lkotlin/jvm/internal/v;->a(Lkotlin/jvm/internal/t;)Lkotlin/reflect/d;
move-result-object v1
check-cast v1, Lkotlin/reflect/KProperty;
2019-02-04 20:45:28 +00:00
const/4 v2, 0x6
2019-02-04 20:42:43 +00:00
aput-object v1, v0, v2
new-instance v1, Lkotlin/jvm/internal/u;
const-class v2, Lcom/discord/widgets/chat/list/WidgetChatListActions;
invoke-static {v2}, Lkotlin/jvm/internal/v;->N(Ljava/lang/Class;)Lkotlin/reflect/b;
move-result-object v2
const-string v3, "chatActionsShare"
const-string v4, "getChatActionsShare()Landroid/view/View;"
invoke-direct {v1, v2, v3, v4}, Lkotlin/jvm/internal/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
invoke-static {v1}, Lkotlin/jvm/internal/v;->a(Lkotlin/jvm/internal/t;)Lkotlin/reflect/d;
move-result-object v1
check-cast v1, Lkotlin/reflect/KProperty;
2019-02-04 20:45:28 +00:00
const/4 v2, 0x7
2019-02-04 20:42:43 +00:00
aput-object v1, v0, v2
new-instance v1, Lkotlin/jvm/internal/u;
const-class v2, Lcom/discord/widgets/chat/list/WidgetChatListActions;
invoke-static {v2}, Lkotlin/jvm/internal/v;->N(Ljava/lang/Class;)Lkotlin/reflect/b;
move-result-object v2
const-string v3, "chatActionsDelete"
const-string v4, "getChatActionsDelete()Landroid/view/View;"
invoke-direct {v1, v2, v3, v4}, Lkotlin/jvm/internal/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
invoke-static {v1}, Lkotlin/jvm/internal/v;->a(Lkotlin/jvm/internal/t;)Lkotlin/reflect/d;
move-result-object v1
check-cast v1, Lkotlin/reflect/KProperty;
2019-02-04 20:45:28 +00:00
const/16 v2, 0x8
2019-02-04 20:42:43 +00:00
aput-object v1, v0, v2
new-instance v1, Lkotlin/jvm/internal/u;
const-class v2, Lcom/discord/widgets/chat/list/WidgetChatListActions;
invoke-static {v2}, Lkotlin/jvm/internal/v;->N(Ljava/lang/Class;)Lkotlin/reflect/b;
move-result-object v2
const-string v3, "chatActionsPin"
const-string v4, "getChatActionsPin()Landroid/widget/TextView;"
invoke-direct {v1, v2, v3, v4}, Lkotlin/jvm/internal/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
invoke-static {v1}, Lkotlin/jvm/internal/v;->a(Lkotlin/jvm/internal/t;)Lkotlin/reflect/d;
move-result-object v1
check-cast v1, Lkotlin/reflect/KProperty;
2019-02-04 20:45:28 +00:00
const/16 v2, 0x9
2019-02-04 20:42:43 +00:00
aput-object v1, v0, v2
new-instance v1, Lkotlin/jvm/internal/u;
const-class v2, Lcom/discord/widgets/chat/list/WidgetChatListActions;
invoke-static {v2}, Lkotlin/jvm/internal/v;->N(Ljava/lang/Class;)Lkotlin/reflect/b;
move-result-object v2
const-string v3, "chatActionsTitle"
const-string v4, "getChatActionsTitle()Landroid/widget/TextView;"
invoke-direct {v1, v2, v3, v4}, Lkotlin/jvm/internal/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
invoke-static {v1}, Lkotlin/jvm/internal/v;->a(Lkotlin/jvm/internal/t;)Lkotlin/reflect/d;
move-result-object v1
check-cast v1, Lkotlin/reflect/KProperty;
2019-02-04 20:45:28 +00:00
const/16 v2, 0xa
2019-02-04 20:42:43 +00:00
aput-object v1, v0, v2
new-instance v1, Lkotlin/jvm/internal/u;
const-class v2, Lcom/discord/widgets/chat/list/WidgetChatListActions;
invoke-static {v2}, Lkotlin/jvm/internal/v;->N(Ljava/lang/Class;)Lkotlin/reflect/b;
move-result-object v2
const-string v3, "chatActionsSubtitle"
const-string v4, "getChatActionsSubtitle()Landroid/widget/TextView;"
invoke-direct {v1, v2, v3, v4}, Lkotlin/jvm/internal/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
invoke-static {v1}, Lkotlin/jvm/internal/v;->a(Lkotlin/jvm/internal/t;)Lkotlin/reflect/d;
move-result-object v1
check-cast v1, Lkotlin/reflect/KProperty;
2019-02-04 20:45:28 +00:00
const/16 v2, 0xb
2019-02-04 20:42:43 +00:00
aput-object v1, v0, v2
new-instance v1, Lkotlin/jvm/internal/u;
const-class v2, Lcom/discord/widgets/chat/list/WidgetChatListActions;
invoke-static {v2}, Lkotlin/jvm/internal/v;->N(Ljava/lang/Class;)Lkotlin/reflect/b;
move-result-object v2
const-string v3, "chatActionsAvatar"
const-string v4, "getChatActionsAvatar()Lcom/facebook/drawee/view/SimpleDraweeView;"
invoke-direct {v1, v2, v3, v4}, Lkotlin/jvm/internal/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
invoke-static {v1}, Lkotlin/jvm/internal/v;->a(Lkotlin/jvm/internal/t;)Lkotlin/reflect/d;
move-result-object v1
check-cast v1, Lkotlin/reflect/KProperty;
2019-02-04 20:45:28 +00:00
const/16 v2, 0xc
2019-02-04 20:42:43 +00:00
aput-object v1, v0, v2
new-instance v1, Lkotlin/jvm/internal/u;
const-class v2, Lcom/discord/widgets/chat/list/WidgetChatListActions;
invoke-static {v2}, Lkotlin/jvm/internal/v;->N(Ljava/lang/Class;)Lkotlin/reflect/b;
move-result-object v2
const-string v3, "chatActionsProfile"
const-string v4, "getChatActionsProfile()Landroid/view/View;"
invoke-direct {v1, v2, v3, v4}, Lkotlin/jvm/internal/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
invoke-static {v1}, Lkotlin/jvm/internal/v;->a(Lkotlin/jvm/internal/t;)Lkotlin/reflect/d;
move-result-object v1
check-cast v1, Lkotlin/reflect/KProperty;
2019-02-04 20:45:28 +00:00
const/16 v2, 0xd
2019-02-04 20:42:43 +00:00
aput-object v1, v0, v2
new-instance v1, Lkotlin/jvm/internal/u;
const-class v2, Lcom/discord/widgets/chat/list/WidgetChatListActions;
invoke-static {v2}, Lkotlin/jvm/internal/v;->N(Ljava/lang/Class;)Lkotlin/reflect/b;
move-result-object v2
const-string v3, "chatActionsHeader"
const-string v4, "getChatActionsHeader()Landroid/view/View;"
invoke-direct {v1, v2, v3, v4}, Lkotlin/jvm/internal/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
invoke-static {v1}, Lkotlin/jvm/internal/v;->a(Lkotlin/jvm/internal/t;)Lkotlin/reflect/d;
move-result-object v1
check-cast v1, Lkotlin/reflect/KProperty;
2019-02-04 20:45:28 +00:00
const/16 v2, 0xe
2019-02-04 20:42:43 +00:00
aput-object v1, v0, v2
sput-object v0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
new-instance v0, Lcom/discord/widgets/chat/list/WidgetChatListActions$Companion;
const/4 v1, 0x0
invoke-direct {v0, v1}, Lcom/discord/widgets/chat/list/WidgetChatListActions$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
sput-object v0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->Companion:Lcom/discord/widgets/chat/list/WidgetChatListActions$Companion;
2019-02-04 20:08:30 +00:00
return-void
.end method
2019-02-04 20:42:43 +00:00
.method public constructor <init>()V
.locals 1
invoke-direct {p0}, Lcom/discord/app/AppBottomSheet;-><init>()V
const v0, 0x7f0a01cc
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-static {p0, v0}, Lkotterknife/b;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:08:30 +00:00
move-result-object v0
2019-02-04 20:42:43 +00:00
iput-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsAddReaction$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
const v0, 0x7f0a01d2
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-static {p0, v0}, Lkotterknife/b;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
iput-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsManageReactions$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:08:30 +00:00
2019-02-04 20:45:28 +00:00
const v0, 0x7f0a01d5
invoke-static {p0, v0}, Lkotterknife/b;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
move-result-object v0
iput-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsRemoveReactions$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:42:43 +00:00
const v0, 0x7f0a01d1
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-static {p0, v0}, Lkotterknife/b;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:08:30 +00:00
move-result-object v0
2019-02-04 20:42:43 +00:00
iput-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsEdit$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:08:30 +00:00
2019-02-04 20:45:28 +00:00
const v0, 0x7f0a01d6
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-static {p0, v0}, Lkotterknife/b;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:08:30 +00:00
move-result-object v0
2019-02-04 20:42:43 +00:00
iput-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsResend$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
const v0, 0x7f0a01ce
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-static {p0, v0}, Lkotterknife/b;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
iput-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsCopy$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
const v0, 0x7f0a01cf
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-static {p0, v0}, Lkotterknife/b;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:08:30 +00:00
move-result-object v0
2019-02-04 20:42:43 +00:00
iput-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsCopyId$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:45:28 +00:00
const v0, 0x7f0a01d7
2019-02-04 20:42:43 +00:00
invoke-static {p0, v0}, Lkotterknife/b;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
move-result-object v0
iput-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsShare$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a01d0
invoke-static {p0, v0}, Lkotterknife/b;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
move-result-object v0
iput-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsDelete$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a01d3
invoke-static {p0, v0}, Lkotterknife/b;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
move-result-object v0
iput-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsPin$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:45:28 +00:00
const v0, 0x7f0a01d9
2019-02-04 20:42:43 +00:00
invoke-static {p0, v0}, Lkotterknife/b;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
move-result-object v0
iput-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsTitle$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:45:28 +00:00
const v0, 0x7f0a01d8
2019-02-04 20:42:43 +00:00
invoke-static {p0, v0}, Lkotterknife/b;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
move-result-object v0
iput-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsSubtitle$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a01cd
invoke-static {p0, v0}, Lkotterknife/b;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
move-result-object v0
iput-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsAvatar$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a01d4
invoke-static {p0, v0}, Lkotterknife/b;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
move-result-object v0
iput-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsProfile$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a01cb
invoke-static {p0, v0}, Lkotterknife/b;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
move-result-object v0
iput-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsHeader$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:08:30 +00:00
return-void
.end method
2019-02-04 20:42:43 +00:00
.method public static final synthetic access$addReaction(Lcom/discord/widgets/chat/list/WidgetChatListActions;Lcom/discord/models/domain/emoji/Emoji;)V
.locals 0
invoke-direct {p0, p1}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->addReaction(Lcom/discord/models/domain/emoji/Emoji;)V
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
return-void
.end method
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
.method public static final synthetic access$configureUI(Lcom/discord/widgets/chat/list/WidgetChatListActions;Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;)V
.locals 0
invoke-direct {p0, p1}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->configureUI(Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;)V
2019-02-04 20:08:30 +00:00
return-void
2019-02-04 20:42:43 +00:00
.end method
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
.method public static final synthetic access$editMessage(Lcom/discord/widgets/chat/list/WidgetChatListActions;Lcom/discord/models/domain/ModelMessage;)V
.locals 0
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-direct {p0, p1}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->editMessage(Lcom/discord/models/domain/ModelMessage;)V
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
return-void
.end method
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
.method public static final synthetic access$getChannelId$p(Lcom/discord/widgets/chat/list/WidgetChatListActions;)J
.locals 2
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
iget-wide v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->channelId:J
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
return-wide v0
.end method
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
.method public static final synthetic access$getMessageId$p(Lcom/discord/widgets/chat/list/WidgetChatListActions;)J
.locals 2
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
iget-wide v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->messageId:J
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
return-wide v0
.end method
2019-02-04 20:08:30 +00:00
2019-02-04 20:45:28 +00:00
.method public static final synthetic access$removeAllReactions(Lcom/discord/widgets/chat/list/WidgetChatListActions;Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;)V
.locals 0
invoke-direct {p0, p1}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->removeAllReactions(Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;)V
return-void
.end method
2019-02-04 20:42:43 +00:00
.method public static final synthetic access$setChannelId$p(Lcom/discord/widgets/chat/list/WidgetChatListActions;J)V
.locals 0
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
iput-wide p1, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->channelId:J
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
return-void
.end method
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
.method public static final synthetic access$setMessageId$p(Lcom/discord/widgets/chat/list/WidgetChatListActions;J)V
.locals 0
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
iput-wide p1, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->messageId:J
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
return-void
.end method
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
.method public static final synthetic access$toggleMessagePin(Lcom/discord/widgets/chat/list/WidgetChatListActions;Lcom/discord/models/domain/ModelMessage;)V
.locals 0
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-direct {p0, p1}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->toggleMessagePin(Lcom/discord/models/domain/ModelMessage;)V
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
return-void
.end method
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
.method private final addReaction(Lcom/discord/models/domain/emoji/Emoji;)V
.locals 7
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
sget-object v0, Lcom/discord/utilities/rest/RestAPI;->Companion:Lcom/discord/utilities/rest/RestAPI$Companion;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-virtual {v0}, Lcom/discord/utilities/rest/RestAPI$Companion;->getApi()Lcom/discord/utilities/rest/RestAPI;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v1
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
iget-wide v2, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->channelId:J
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
iget-wide v4, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->messageId:J
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-interface {p1}, Lcom/discord/models/domain/emoji/Emoji;->getReactionKey()Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v6
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
const-string p1, "emoji.reactionKey"
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-static {v6, p1}, Lkotlin/jvm/internal/j;->g(Ljava/lang/Object;Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-virtual/range {v1 .. v6}, Lcom/discord/utilities/rest/RestAPI;->addReaction(JJLjava/lang/String;)Lrx/Observable;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-object p1
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-static {}, Lcom/discord/app/g;->dt()Lrx/Observable$Transformer;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-virtual {p1, v0}, Lrx/Observable;->a(Lrx/Observable$Transformer;)Lrx/Observable;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-object p1
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-object v0, p0
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
check-cast v0, Lcom/discord/app/AppComponent;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-static {v0}, Lcom/discord/app/g;->a(Lcom/discord/app/AppComponent;)Lrx/Observable$Transformer;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-virtual {p1, v0}, Lrx/Observable;->a(Lrx/Observable$Transformer;)Lrx/Observable;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-object p1
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
new-instance v0, Lcom/discord/widgets/chat/list/WidgetChatListActions$addReaction$1;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-direct {v0, p0}, Lcom/discord/widgets/chat/list/WidgetChatListActions$addReaction$1;-><init>(Lcom/discord/widgets/chat/list/WidgetChatListActions;)V
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
check-cast v0, Lrx/functions/Action1;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-virtual {p0}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->getContext()Landroid/content/Context;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v1
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-static {v0, v1}, Lcom/discord/app/g;->a(Lrx/functions/Action1;Landroid/content/Context;)Lrx/Observable$Transformer;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-virtual {p1, v0}, Lrx/Observable;->a(Lrx/Observable$Transformer;)Lrx/Observable;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
return-void
.end method
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
.method private final configureUI(Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;)V
.locals 12
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
if-nez p1, :cond_0
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-virtual {p0}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->dismiss()V
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
return-void
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
:cond_0
invoke-virtual {p1}, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;->getType()I
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
const/16 v1, 0x8
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
packed-switch v0, :pswitch_data_0
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
goto :goto_0
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
:pswitch_0
invoke-direct {p0}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->getChatActionsEdit()Landroid/view/View;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
goto :goto_0
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
:pswitch_1
invoke-direct {p0}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->getChatActionsEdit()Landroid/view/View;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-virtual {p1}, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;->getManageMessageContext()Lcom/discord/utilities/permissions/ManageMessageContext;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v2
invoke-virtual {v2}, Lcom/discord/utilities/permissions/ManageMessageContext;->getCanEdit()Z
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result v2
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-static {v0, v2}, Lcom/discord/utilities/view/extensions/ViewExtensions;->setVisibilityBy(Landroid/view/View;Z)V
invoke-direct {p0}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->getChatActionsEdit()Landroid/view/View;
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
new-instance v2, Lcom/discord/widgets/chat/list/WidgetChatListActions$configureUI$1;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-direct {v2, p0, p1}, Lcom/discord/widgets/chat/list/WidgetChatListActions$configureUI$1;-><init>(Lcom/discord/widgets/chat/list/WidgetChatListActions;Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;)V
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
check-cast v2, Landroid/view/View$OnClickListener;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-virtual {v0, v2}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
:goto_0
invoke-virtual {p1}, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;->getMessage()Lcom/discord/models/domain/ModelMessage;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-virtual {v0}, Lcom/discord/models/domain/ModelMessage;->getType()I
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
const/4 v2, -0x2
2019-02-04 20:08:30 +00:00
const/4 v3, 0x0
2019-02-04 20:42:43 +00:00
const/4 v4, 0x1
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
if-ne v0, v2, :cond_1
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
const/4 v0, 0x1
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
goto :goto_1
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
:cond_1
const/4 v0, 0x0
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
:goto_1
invoke-direct {p0}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->getChatActionsAddReaction()Landroid/view/View;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v2
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-virtual {p1}, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;->getManageMessageContext()Lcom/discord/utilities/permissions/ManageMessageContext;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v5
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-virtual {v5}, Lcom/discord/utilities/permissions/ManageMessageContext;->getCanAddReactions()Z
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result v5
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-static {v2, v5}, Lcom/discord/utilities/view/extensions/ViewExtensions;->setVisibilityBy(Landroid/view/View;Z)V
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-direct {p0}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->getChatActionsAddReaction()Landroid/view/View;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v2
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
new-instance v5, Lcom/discord/widgets/chat/list/WidgetChatListActions$configureUI$2;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-direct {v5, p0}, Lcom/discord/widgets/chat/list/WidgetChatListActions$configureUI$2;-><init>(Lcom/discord/widgets/chat/list/WidgetChatListActions;)V
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
check-cast v5, Landroid/view/View$OnClickListener;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-virtual {v2, v5}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-direct {p0}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->getChatActionsManageReactions()Landroid/widget/TextView;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v2
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
check-cast v2, Landroid/view/View;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-virtual {p1}, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;->getMessage()Lcom/discord/models/domain/ModelMessage;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v5
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-virtual {v5}, Lcom/discord/models/domain/ModelMessage;->getReactions()Ljava/util/Map;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v5
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
const-string v6, "data.message.reactions"
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-static {v5, v6}, Lkotlin/jvm/internal/j;->g(Ljava/lang/Object;Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-interface {v5}, Ljava/util/Map;->isEmpty()Z
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result v5
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
xor-int/2addr v5, v4
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-static {v2, v5}, Lcom/discord/utilities/view/extensions/ViewExtensions;->setVisibilityBy(Landroid/view/View;Z)V
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-direct {p0}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->getChatActionsManageReactions()Landroid/widget/TextView;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v2
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
new-instance v5, Lcom/discord/widgets/chat/list/WidgetChatListActions$configureUI$3;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-direct {v5, p0}, Lcom/discord/widgets/chat/list/WidgetChatListActions$configureUI$3;-><init>(Lcom/discord/widgets/chat/list/WidgetChatListActions;)V
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
check-cast v5, Landroid/view/View$OnClickListener;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-virtual {v2, v5}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V
2019-02-04 20:08:30 +00:00
2019-02-04 20:45:28 +00:00
invoke-direct {p0}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->getChatActionsRemoveReactions()Landroid/widget/TextView;
move-result-object v2
check-cast v2, Landroid/view/View;
invoke-virtual {p1}, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;->getMessage()Lcom/discord/models/domain/ModelMessage;
move-result-object v5
invoke-virtual {v5}, Lcom/discord/models/domain/ModelMessage;->getReactions()Ljava/util/Map;
move-result-object v5
invoke-interface {v5}, Ljava/util/Map;->isEmpty()Z
move-result v5
if-nez v5, :cond_2
invoke-virtual {p1}, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;->getManageMessageContext()Lcom/discord/utilities/permissions/ManageMessageContext;
move-result-object v5
invoke-virtual {v5}, Lcom/discord/utilities/permissions/ManageMessageContext;->getCanDelete()Z
move-result v5
if-eqz v5, :cond_2
const/4 v5, 0x1
goto :goto_2
:cond_2
const/4 v5, 0x0
:goto_2
invoke-static {v2, v5}, Lcom/discord/utilities/view/extensions/ViewExtensions;->setVisibilityBy(Landroid/view/View;Z)V
invoke-direct {p0}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->getChatActionsRemoveReactions()Landroid/widget/TextView;
move-result-object v2
new-instance v5, Lcom/discord/widgets/chat/list/WidgetChatListActions$configureUI$4;
invoke-direct {v5, p0, p1}, Lcom/discord/widgets/chat/list/WidgetChatListActions$configureUI$4;-><init>(Lcom/discord/widgets/chat/list/WidgetChatListActions;Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;)V
check-cast v5, Landroid/view/View$OnClickListener;
invoke-virtual {v2, v5}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V
2019-02-04 20:42:43 +00:00
invoke-direct {p0}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->getChatActionsResend()Landroid/view/View;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v2
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-static {v2, v0}, Lcom/discord/utilities/view/extensions/ViewExtensions;->setVisibilityBy(Landroid/view/View;Z)V
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-direct {p0}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->getChatActionsResend()Landroid/view/View;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:45:28 +00:00
new-instance v2, Lcom/discord/widgets/chat/list/WidgetChatListActions$configureUI$5;
2019-02-04 20:08:30 +00:00
2019-02-04 20:45:28 +00:00
invoke-direct {v2, p0, p1}, Lcom/discord/widgets/chat/list/WidgetChatListActions$configureUI$5;-><init>(Lcom/discord/widgets/chat/list/WidgetChatListActions;Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;)V
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
check-cast v2, Landroid/view/View$OnClickListener;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-virtual {v0, v2}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-virtual {p1}, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;->getFormattedMessageContent()Ljava/lang/CharSequence;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:45:28 +00:00
if-eqz v0, :cond_3
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-direct {p0}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->getChatActionsCopy()Landroid/view/View;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-virtual {v0, v3}, Landroid/view/View;->setVisibility(I)V
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-direct {p0}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->getChatActionsCopy()Landroid/view/View;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:45:28 +00:00
new-instance v1, Lcom/discord/widgets/chat/list/WidgetChatListActions$configureUI$6;
2019-02-04 20:08:30 +00:00
2019-02-04 20:45:28 +00:00
invoke-direct {v1, p0, p1}, Lcom/discord/widgets/chat/list/WidgetChatListActions$configureUI$6;-><init>(Lcom/discord/widgets/chat/list/WidgetChatListActions;Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;)V
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
check-cast v1, Landroid/view/View$OnClickListener;
2019-02-04 20:08:30 +00:00
invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
2019-02-04 20:45:28 +00:00
goto :goto_3
2019-02-04 20:08:30 +00:00
2019-02-04 20:45:28 +00:00
:cond_3
2019-02-04 20:42:43 +00:00
invoke-direct {p0}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->getChatActionsCopy()Landroid/view/View;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V
2019-02-04 20:08:30 +00:00
2019-02-04 20:45:28 +00:00
:goto_3
2019-02-04 20:42:43 +00:00
invoke-direct {p0}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->getChatActionsCopyId()Landroid/view/View;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-virtual {p1}, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;->isDeveloper()Z
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result v1
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-static {v0, v1}, Lcom/discord/utilities/view/extensions/ViewExtensions;->setVisibilityBy(Landroid/view/View;Z)V
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-direct {p0}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->getChatActionsCopyId()Landroid/view/View;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:45:28 +00:00
new-instance v1, Lcom/discord/widgets/chat/list/WidgetChatListActions$configureUI$7;
2019-02-04 20:08:30 +00:00
2019-02-04 20:45:28 +00:00
invoke-direct {v1, p0, p1}, Lcom/discord/widgets/chat/list/WidgetChatListActions$configureUI$7;-><init>(Lcom/discord/widgets/chat/list/WidgetChatListActions;Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;)V
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
check-cast v1, Landroid/view/View$OnClickListener;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-direct {p0}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->getChatActionsShare()Landroid/view/View;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-virtual {p1}, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;->isDeveloper()Z
move-result v1
invoke-static {v0, v1}, Lcom/discord/utilities/view/extensions/ViewExtensions;->setVisibilityBy(Landroid/view/View;Z)V
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-direct {p0}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->getChatActionsShare()Landroid/view/View;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:45:28 +00:00
new-instance v1, Lcom/discord/widgets/chat/list/WidgetChatListActions$configureUI$8;
2019-02-04 20:08:30 +00:00
2019-02-04 20:45:28 +00:00
invoke-direct {v1, p0, p1}, Lcom/discord/widgets/chat/list/WidgetChatListActions$configureUI$8;-><init>(Lcom/discord/widgets/chat/list/WidgetChatListActions;Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;)V
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
check-cast v1, Landroid/view/View$OnClickListener;
2019-02-04 20:08:30 +00:00
invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
2019-02-04 20:42:43 +00:00
invoke-direct {p0}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->getChatActionsPin()Landroid/widget/TextView;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
check-cast v0, Landroid/view/View;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-virtual {p1}, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;->getManageMessageContext()Lcom/discord/utilities/permissions/ManageMessageContext;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v1
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-virtual {v1}, Lcom/discord/utilities/permissions/ManageMessageContext;->getCanTogglePinned()Z
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result v1
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-static {v0, v1}, Lcom/discord/utilities/view/extensions/ViewExtensions;->setVisibilityBy(Landroid/view/View;Z)V
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-direct {p0}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->getChatActionsPin()Landroid/widget/TextView;
2019-02-04 20:08:30 +00:00
move-result-object v0
2019-02-04 20:42:43 +00:00
invoke-virtual {p1}, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;->getMessage()Lcom/discord/models/domain/ModelMessage;
move-result-object v1
invoke-virtual {v1}, Lcom/discord/models/domain/ModelMessage;->isPinned()Z
move-result v1
2019-02-04 20:45:28 +00:00
if-eqz v1, :cond_4
2019-02-04 20:42:43 +00:00
2019-02-04 20:45:28 +00:00
const v1, 0x7f120eb3
2019-02-04 20:42:43 +00:00
2019-02-04 20:45:28 +00:00
goto :goto_4
2019-02-04 20:42:43 +00:00
2019-02-04 20:45:28 +00:00
:cond_4
const v1, 0x7f120b47
2019-02-04 20:42:43 +00:00
2019-02-04 20:45:28 +00:00
:goto_4
2019-02-04 20:42:43 +00:00
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V
invoke-direct {p0}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->getChatActionsPin()Landroid/widget/TextView;
2019-02-04 20:08:30 +00:00
move-result-object v0
2019-02-04 20:45:28 +00:00
new-instance v1, Lcom/discord/widgets/chat/list/WidgetChatListActions$configureUI$9;
2019-02-04 20:08:30 +00:00
2019-02-04 20:45:28 +00:00
invoke-direct {v1, p0, p1}, Lcom/discord/widgets/chat/list/WidgetChatListActions$configureUI$9;-><init>(Lcom/discord/widgets/chat/list/WidgetChatListActions;Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;)V
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
check-cast v1, Landroid/view/View$OnClickListener;
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V
invoke-direct {p0}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->getChatActionsDelete()Landroid/view/View;
2019-02-04 20:08:30 +00:00
move-result-object v0
2019-02-04 20:42:43 +00:00
invoke-virtual {p1}, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;->getManageMessageContext()Lcom/discord/utilities/permissions/ManageMessageContext;
2019-02-04 20:08:30 +00:00
move-result-object v1
2019-02-04 20:42:43 +00:00
invoke-virtual {v1}, Lcom/discord/utilities/permissions/ManageMessageContext;->getCanDelete()Z
move-result v1
invoke-static {v0, v1}, Lcom/discord/utilities/view/extensions/ViewExtensions;->setVisibilityBy(Landroid/view/View;Z)V
invoke-direct {p0}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->getChatActionsDelete()Landroid/view/View;
2019-02-04 20:08:30 +00:00
move-result-object v0
2019-02-04 20:45:28 +00:00
new-instance v1, Lcom/discord/widgets/chat/list/WidgetChatListActions$configureUI$10;
2019-02-04 20:42:43 +00:00
2019-02-04 20:45:28 +00:00
invoke-direct {v1, p0, p1}, Lcom/discord/widgets/chat/list/WidgetChatListActions$configureUI$10;-><init>(Lcom/discord/widgets/chat/list/WidgetChatListActions;Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;)V
2019-02-04 20:42:43 +00:00
check-cast v1, Landroid/view/View$OnClickListener;
invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
invoke-direct {p0}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->getChatActionsTitle()Landroid/widget/TextView;
move-result-object v0
invoke-virtual {p1}, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;->getMessageAuthorName()Ljava/lang/String;
2019-02-04 20:08:30 +00:00
move-result-object v1
2019-02-04 20:42:43 +00:00
check-cast v1, Ljava/lang/CharSequence;
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
invoke-virtual {p1}, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;->getFormattedMessageContent()Ljava/lang/CharSequence;
2019-02-04 20:08:30 +00:00
move-result-object v0
2019-02-04 20:45:28 +00:00
if-eqz v0, :cond_5
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-direct {p0}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->getChatActionsSubtitle()Landroid/widget/TextView;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-virtual {p1}, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;->getFormattedMessageContent()Ljava/lang/CharSequence;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v1
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
2019-02-04 20:08:30 +00:00
2019-02-04 20:45:28 +00:00
:cond_5
2019-02-04 20:42:43 +00:00
invoke-direct {p0}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->getChatActionsAvatar()Lcom/facebook/drawee/view/SimpleDraweeView;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-object v5, v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
check-cast v5, Landroid/widget/ImageView;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-virtual {p1}, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;->getMessage()Lcom/discord/models/domain/ModelMessage;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-virtual {v0}, Lcom/discord/models/domain/ModelMessage;->getAuthor()Lcom/discord/models/domain/ModelUser;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-static {v0, v4}, Lcom/discord/utilities/icon/IconUtils;->getForUser(Lcom/discord/models/domain/ModelUser;Z)Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v6
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
const/4 v7, 0x0
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
const/4 v8, 0x0
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
const/4 v9, 0x0
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
const/16 v10, 0x1c
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
const/4 v11, 0x0
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-static/range {v5 .. v11}, Lcom/discord/utilities/icon/IconUtils;->setIcon$default(Landroid/widget/ImageView;Ljava/lang/String;ILkotlin/jvm/functions/Function1;Lcom/discord/utilities/images/MGImages$ChangeDetector;ILjava/lang/Object;)V
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-direct {p0}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->getChatActionsProfile()Landroid/view/View;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:45:28 +00:00
new-instance v1, Lcom/discord/widgets/chat/list/WidgetChatListActions$configureUI$11;
2019-02-04 20:08:30 +00:00
2019-02-04 20:45:28 +00:00
invoke-direct {v1, p1}, Lcom/discord/widgets/chat/list/WidgetChatListActions$configureUI$11;-><init>(Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;)V
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
check-cast v1, Landroid/view/View$OnClickListener;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-direct {p0}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->getChatActionsHeader()Landroid/view/View;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:45:28 +00:00
new-instance v1, Lcom/discord/widgets/chat/list/WidgetChatListActions$configureUI$12;
2019-02-04 20:08:30 +00:00
2019-02-04 20:45:28 +00:00
invoke-direct {v1, p1}, Lcom/discord/widgets/chat/list/WidgetChatListActions$configureUI$12;-><init>(Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;)V
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
check-cast v1, Landroid/view/View$OnClickListener;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
2019-02-04 20:08:30 +00:00
return-void
2019-02-04 20:42:43 +00:00
:pswitch_data_0
.packed-switch 0x0
:pswitch_1
:pswitch_0
.end packed-switch
2019-02-04 20:08:30 +00:00
.end method
2019-02-04 20:42:43 +00:00
.method private final editMessage(Lcom/discord/models/domain/ModelMessage;)V
.locals 8
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-static {}, Lcom/discord/stores/StoreStream;->getChannels()Lcom/discord/stores/StoreChannels;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-virtual {v0}, Lcom/discord/stores/StoreChannels;->get()Lrx/Observable;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
new-instance v1, Lcom/discord/widgets/chat/list/WidgetChatListActions$editMessage$1;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-direct {v1, p1}, Lcom/discord/widgets/chat/list/WidgetChatListActions$editMessage$1;-><init>(Lcom/discord/models/domain/ModelMessage;)V
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
check-cast v1, Lrx/functions/b;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-virtual {v0, v1}, Lrx/Observable;->g(Lrx/functions/b;)Lrx/Observable;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
const-string v1, "StoreStream\n .get\u2026rs, emojiSet) }\n }"
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-static {v0, v1}, Lkotlin/jvm/internal/j;->g(Ljava/lang/Object;Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-static {v0}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->computationBuffered(Lrx/Observable;)Lrx/Observable;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v2
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
const-wide/16 v3, 0x0
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
const/4 v5, 0x0
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
const/4 v6, 0x3
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
const/4 v7, 0x0
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-static/range {v2 .. v7}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->takeSingleUntilTimeout$default(Lrx/Observable;JZILjava/lang/Object;)Lrx/Observable;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
sget-object v1, Lcom/discord/app/g;->tz:Lcom/discord/app/g;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
new-instance v1, Lcom/discord/widgets/chat/list/WidgetChatListActions$editMessage$2;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-direct {v1, p1}, Lcom/discord/widgets/chat/list/WidgetChatListActions$editMessage$2;-><init>(Lcom/discord/models/domain/ModelMessage;)V
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-object v2, v1
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
check-cast v2, Lkotlin/jvm/functions/Function1;
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
const-string v3, "editMessage"
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
const/4 v4, 0x0
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
const/4 v5, 0x0
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
const/4 v6, 0x0
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
const/16 v7, 0x3c
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-static/range {v2 .. v7}, Lcom/discord/app/g;->a(Lkotlin/jvm/functions/Function1;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Landroid/content/Context;I)Lrx/Observable$Transformer;
2019-02-04 20:08:30 +00:00
move-result-object p1
2019-02-04 20:42:43 +00:00
invoke-virtual {v0, p1}, Lrx/Observable;->a(Lrx/Observable$Transformer;)Lrx/Observable;
2019-02-04 20:05:16 +00:00
return-void
.end method
2019-02-04 20:42:43 +00:00
.method private final getChatActionsAddReaction()Landroid/view/View;
.locals 3
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
iget-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsAddReaction$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
sget-object v1, Lcom/discord/widgets/chat/list/WidgetChatListActions;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
const/4 v2, 0x0
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
aget-object v1, v1, v2
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
check-cast v0, Landroid/view/View;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
return-object v0
.end method
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
.method private final getChatActionsAvatar()Lcom/facebook/drawee/view/SimpleDraweeView;
.locals 3
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
iget-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsAvatar$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
sget-object v1, Lcom/discord/widgets/chat/list/WidgetChatListActions;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
2019-02-04 20:08:30 +00:00
2019-02-04 20:45:28 +00:00
const/16 v2, 0xc
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
aget-object v1, v1, v2
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
check-cast v0, Lcom/facebook/drawee/view/SimpleDraweeView;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
return-object v0
.end method
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
.method private final getChatActionsCopy()Landroid/view/View;
.locals 3
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
iget-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsCopy$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
sget-object v1, Lcom/discord/widgets/chat/list/WidgetChatListActions;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
2019-02-04 20:08:30 +00:00
2019-02-04 20:45:28 +00:00
const/4 v2, 0x5
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
aget-object v1, v1, v2
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
check-cast v0, Landroid/view/View;
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
return-object v0
2019-02-04 20:05:16 +00:00
.end method
2019-02-04 20:42:43 +00:00
.method private final getChatActionsCopyId()Landroid/view/View;
.locals 3
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
iget-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsCopyId$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
sget-object v1, Lcom/discord/widgets/chat/list/WidgetChatListActions;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
2019-02-04 20:08:30 +00:00
2019-02-04 20:45:28 +00:00
const/4 v2, 0x6
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
aget-object v1, v1, v2
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v0
check-cast v0, Landroid/view/View;
return-object v0
2019-02-04 20:05:16 +00:00
.end method
2019-02-04 20:42:43 +00:00
.method private final getChatActionsDelete()Landroid/view/View;
.locals 3
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
iget-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsDelete$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
sget-object v1, Lcom/discord/widgets/chat/list/WidgetChatListActions;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
2019-02-04 20:08:30 +00:00
2019-02-04 20:45:28 +00:00
const/16 v2, 0x8
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
aget-object v1, v1, v2
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
move-result-object v0
2019-02-04 20:42:43 +00:00
check-cast v0, Landroid/view/View;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
return-object v0
.end method
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
.method private final getChatActionsEdit()Landroid/view/View;
.locals 3
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
iget-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsEdit$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
sget-object v1, Lcom/discord/widgets/chat/list/WidgetChatListActions;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
2019-02-04 20:08:30 +00:00
2019-02-04 20:45:28 +00:00
const/4 v2, 0x3
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
aget-object v1, v1, v2
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
check-cast v0, Landroid/view/View;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
return-object v0
.end method
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
.method private final getChatActionsHeader()Landroid/view/View;
.locals 3
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
iget-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsHeader$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
sget-object v1, Lcom/discord/widgets/chat/list/WidgetChatListActions;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
2019-02-04 20:08:30 +00:00
2019-02-04 20:45:28 +00:00
const/16 v2, 0xe
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
aget-object v1, v1, v2
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
check-cast v0, Landroid/view/View;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
return-object v0
.end method
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
.method private final getChatActionsManageReactions()Landroid/widget/TextView;
.locals 3
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
iget-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsManageReactions$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
sget-object v1, Lcom/discord/widgets/chat/list/WidgetChatListActions;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
const/4 v2, 0x1
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
aget-object v1, v1, v2
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
move-result-object v0
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
check-cast v0, Landroid/widget/TextView;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
return-object v0
.end method
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
.method private final getChatActionsPin()Landroid/widget/TextView;
.locals 3
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
iget-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsPin$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
sget-object v1, Lcom/discord/widgets/chat/list/WidgetChatListActions;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:45:28 +00:00
const/16 v2, 0x9
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
aget-object v1, v1, v2
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v0
check-cast v0, Landroid/widget/TextView;
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
return-object v0
.end method
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
.method private final getChatActionsProfile()Landroid/view/View;
.locals 3
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
iget-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsProfile$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
sget-object v1, Lcom/discord/widgets/chat/list/WidgetChatListActions;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
2019-02-04 20:08:30 +00:00
2019-02-04 20:45:28 +00:00
const/16 v2, 0xd
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
aget-object v1, v1, v2
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
check-cast v0, Landroid/view/View;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
return-object v0
2019-02-04 20:05:16 +00:00
.end method
2019-02-04 20:45:28 +00:00
.method private final getChatActionsRemoveReactions()Landroid/widget/TextView;
.locals 3
iget-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsRemoveReactions$delegate:Lkotlin/properties/ReadOnlyProperty;
sget-object v1, Lcom/discord/widgets/chat/list/WidgetChatListActions;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
const/4 v2, 0x2
aget-object v1, v1, v2
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/widget/TextView;
return-object v0
.end method
2019-02-04 20:42:43 +00:00
.method private final getChatActionsResend()Landroid/view/View;
.locals 3
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
iget-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsResend$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
sget-object v1, Lcom/discord/widgets/chat/list/WidgetChatListActions;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:45:28 +00:00
const/4 v2, 0x4
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
aget-object v1, v1, v2
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v0
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
check-cast v0, Landroid/view/View;
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
return-object v0
2019-02-04 20:08:30 +00:00
.end method
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
.method private final getChatActionsShare()Landroid/view/View;
.locals 3
iget-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsShare$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
sget-object v1, Lcom/discord/widgets/chat/list/WidgetChatListActions;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:45:28 +00:00
const/4 v2, 0x7
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
aget-object v1, v1, v2
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v0
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
check-cast v0, Landroid/view/View;
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
return-object v0
.end method
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
.method private final getChatActionsSubtitle()Landroid/widget/TextView;
.locals 3
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
iget-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsSubtitle$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
sget-object v1, Lcom/discord/widgets/chat/list/WidgetChatListActions;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:45:28 +00:00
const/16 v2, 0xb
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
aget-object v1, v1, v2
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v0
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
check-cast v0, Landroid/widget/TextView;
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
return-object v0
.end method
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
.method private final getChatActionsTitle()Landroid/widget/TextView;
.locals 3
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
iget-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsTitle$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
sget-object v1, Lcom/discord/widgets/chat/list/WidgetChatListActions;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:45:28 +00:00
const/16 v2, 0xa
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
aget-object v1, v1, v2
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v0
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
check-cast v0, Landroid/widget/TextView;
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
return-object v0
.end method
2019-02-04 20:05:16 +00:00
2019-02-04 20:45:28 +00:00
.method private final removeAllReactions(Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;)V
.locals 13
sget-object v0, Lcom/discord/widgets/notice/WidgetNoticeDialog;->Companion:Lcom/discord/widgets/notice/WidgetNoticeDialog$Companion;
invoke-virtual {p0}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->getFragmentManager()Landroidx/fragment/app/FragmentManager;
move-result-object v1
const v2, 0x7f120c2a
invoke-virtual {p0, v2}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->getString(I)Ljava/lang/String;
move-result-object v2
const-string v3, "getString(R.string.remov\u2026_reactions_confirm_title)"
invoke-static {v2, v3}, Lkotlin/jvm/internal/j;->g(Ljava/lang/Object;Ljava/lang/String;)V
const v3, 0x7f120c29
invoke-virtual {p0, v3}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->getString(I)Ljava/lang/String;
move-result-object v3
const-string v4, "getString(R.string.remov\u2026l_reactions_confirm_body)"
invoke-static {v3, v4}, Lkotlin/jvm/internal/j;->g(Ljava/lang/Object;Ljava/lang/String;)V
const v4, 0x7f120ff6
invoke-virtual {p0, v4}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->getString(I)Ljava/lang/String;
move-result-object v4
const v5, 0x7f120a22
invoke-virtual {p0, v5}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->getString(I)Ljava/lang/String;
move-result-object v5
const v6, 0x7f0a03cc
invoke-static {v6}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v6
new-instance v7, Lcom/discord/widgets/chat/list/WidgetChatListActions$removeAllReactions$1;
invoke-direct {v7, p0, p1}, Lcom/discord/widgets/chat/list/WidgetChatListActions$removeAllReactions$1;-><init>(Lcom/discord/widgets/chat/list/WidgetChatListActions;Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;)V
invoke-static {v6, v7}, Lkotlin/q;->m(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
move-result-object p1
invoke-static {p1}, Lkotlin/a/ab;->a(Lkotlin/Pair;)Ljava/util/Map;
move-result-object v6
const/4 v7, 0x0
const/4 v8, 0x0
const/4 v9, 0x0
const/4 v10, 0x0
const/16 v11, 0x3c0
const/4 v12, 0x0
invoke-static/range {v0 .. v12}, Lcom/discord/widgets/notice/WidgetNoticeDialog$Companion;->show$default(Lcom/discord/widgets/notice/WidgetNoticeDialog$Companion;Landroidx/fragment/app/FragmentManager;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;Lcom/discord/stores/StoreNotices$Dialog$Type;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;ILjava/lang/Object;)V
return-void
.end method
2019-02-04 20:42:43 +00:00
.method public static final showForChat(Landroidx/fragment/app/FragmentManager;JJLjava/lang/CharSequence;)V
.locals 7
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
sget-object v0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->Companion:Lcom/discord/widgets/chat/list/WidgetChatListActions$Companion;
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
move-object v1, p0
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
move-wide v2, p1
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
move-wide v4, p3
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
move-object v6, p5
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
invoke-virtual/range {v0 .. v6}, Lcom/discord/widgets/chat/list/WidgetChatListActions$Companion;->showForChat(Landroidx/fragment/app/FragmentManager;JJLjava/lang/CharSequence;)V
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
return-void
.end method
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
.method public static final showForPin(Landroidx/fragment/app/FragmentManager;JJLjava/lang/CharSequence;)V
.locals 7
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
sget-object v0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->Companion:Lcom/discord/widgets/chat/list/WidgetChatListActions$Companion;
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
move-object v1, p0
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
move-wide v2, p1
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
move-wide v4, p3
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
move-object v6, p5
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
invoke-virtual/range {v0 .. v6}, Lcom/discord/widgets/chat/list/WidgetChatListActions$Companion;->showForPin(Landroidx/fragment/app/FragmentManager;JJLjava/lang/CharSequence;)V
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
return-void
.end method
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
.method private final toggleMessagePin(Lcom/discord/models/domain/ModelMessage;)V
2019-02-04 20:08:30 +00:00
.locals 5
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-virtual {p1}, Lcom/discord/models/domain/ModelMessage;->getChannelId()J
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-wide v0
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-virtual {p1}, Lcom/discord/models/domain/ModelMessage;->getId()J
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-wide v2
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-virtual {p1}, Lcom/discord/models/domain/ModelMessage;->isPinned()Z
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result v4
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
if-eqz v4, :cond_0
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
sget-object v4, Lcom/discord/utilities/rest/RestAPI;->Companion:Lcom/discord/utilities/rest/RestAPI$Companion;
invoke-virtual {v4}, Lcom/discord/utilities/rest/RestAPI$Companion;->getApi()Lcom/discord/utilities/rest/RestAPI;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-object v4
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-virtual {v4, v0, v1, v2, v3}, Lcom/discord/utilities/rest/RestAPI;->deleteChannelPin(JJ)Lrx/Observable;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-object v0
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
goto :goto_0
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
:cond_0
2019-02-04 20:42:43 +00:00
sget-object v4, Lcom/discord/utilities/rest/RestAPI;->Companion:Lcom/discord/utilities/rest/RestAPI$Companion;
invoke-virtual {v4}, Lcom/discord/utilities/rest/RestAPI$Companion;->getApi()Lcom/discord/utilities/rest/RestAPI;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-object v4
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-virtual {v4, v0, v1, v2, v3}, Lcom/discord/utilities/rest/RestAPI;->addChannelPin(JJ)Lrx/Observable;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-object v0
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
:goto_0
invoke-virtual {p1}, Lcom/discord/models/domain/ModelMessage;->isPinned()Z
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result p1
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
if-eqz p1, :cond_1
2019-02-04 20:05:16 +00:00
2019-02-04 20:45:28 +00:00
const p1, 0x7f12099f
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
goto :goto_1
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
:cond_1
2019-02-04 20:45:28 +00:00
const p1, 0x7f120996
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
:goto_1
2019-02-04 20:42:43 +00:00
invoke-static {}, Lcom/discord/app/g;->dt()Lrx/Observable$Transformer;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-object v1
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-virtual {v0, v1}, Lrx/Observable;->a(Lrx/Observable$Transformer;)Lrx/Observable;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-object v0
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
move-object v1, p0
check-cast v1, Lcom/discord/app/AppComponent;
invoke-static {v1}, Lcom/discord/app/g;->a(Lcom/discord/app/AppComponent;)Lrx/Observable$Transformer;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-object v1
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-virtual {v0, v1}, Lrx/Observable;->a(Lrx/Observable$Transformer;)Lrx/Observable;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-object v0
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
new-instance v1, Lcom/discord/widgets/chat/list/WidgetChatListActions$toggleMessagePin$1;
invoke-direct {v1, p0, p1}, Lcom/discord/widgets/chat/list/WidgetChatListActions$toggleMessagePin$1;-><init>(Lcom/discord/widgets/chat/list/WidgetChatListActions;I)V
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
check-cast v1, Lrx/functions/Action1;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-virtual {p0}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->getContext()Landroid/content/Context;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-object p1
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
invoke-static {v1, p1}, Lcom/discord/app/g;->a(Lrx/functions/Action1;Landroid/content/Context;)Lrx/Observable$Transformer;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-object p1
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-virtual {v0, p1}, Lrx/Observable;->a(Lrx/Observable$Transformer;)Lrx/Observable;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
return-void
.end method
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
# virtual methods
2019-02-04 20:42:43 +00:00
.method public final getContentViewResId()I
2019-02-04 20:08:30 +00:00
.locals 1
2019-02-04 20:05:16 +00:00
2019-02-04 20:37:24 +00:00
const v0, 0x7f0d00c1
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
return v0
.end method
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
.method public final onActivityResult(IILandroid/content/Intent;)V
2019-02-04 20:08:30 +00:00
.locals 1
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-super {p0, p1, p2, p3}, Lcom/discord/app/AppBottomSheet;->onActivityResult(IILandroid/content/Intent;)V
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
new-instance v0, Lcom/discord/widgets/chat/list/WidgetChatListActions$onActivityResult$1;
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
invoke-direct {v0, p0}, Lcom/discord/widgets/chat/list/WidgetChatListActions$onActivityResult$1;-><init>(Lcom/discord/widgets/chat/list/WidgetChatListActions;)V
check-cast v0, Lrx/functions/Action2;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-static {p1, p2, p3, v0}, Lcom/discord/widgets/chat/input/emoji/WidgetChatInputEmojiPicker;->handleActivityResult(IILandroid/content/Intent;Lrx/functions/Action2;)V
return-void
.end method
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
.method public final onResume()V
.locals 9
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-super {p0}, Lcom/discord/app/AppBottomSheet;->onResume()V
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-virtual {p0}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->getActivity()Landroidx/fragment/app/FragmentActivity;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-object v0
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
check-cast v0, Landroid/app/Activity;
2019-02-04 20:08:30 +00:00
const/4 v1, 0x0
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
const/4 v2, 0x0
const/4 v3, 0x4
invoke-static {v0, v2, v1, v3, v1}, Lcom/discord/utilities/keyboard/Keyboard;->setKeyboardOpen$default(Landroid/app/Activity;ZLandroid/view/View;ILjava/lang/Object;)V
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-virtual {p0}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->getArgumentsOrDefault()Landroid/os/Bundle;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-object v0
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const-string v1, "INTENT_EXTRA_MESSAGE_CONTENT"
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-virtual {v0, v1}, Landroid/os/Bundle;->getCharSequence(Ljava/lang/String;)Ljava/lang/CharSequence;
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v7
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-virtual {p0}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->getArgumentsOrDefault()Landroid/os/Bundle;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-object v0
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const-string v1, "INTENT_EXTRA_TYPE"
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-virtual {v0, v1}, Landroid/os/Bundle;->getInt(Ljava/lang/String;)I
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
move-result v8
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
sget-object v2, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;->Companion:Lcom/discord/widgets/chat/list/WidgetChatListActions$Model$Companion;
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
iget-wide v3, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->channelId:J
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
iget-wide v5, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->messageId:J
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
invoke-virtual/range {v2 .. v8}, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model$Companion;->get(JJLjava/lang/CharSequence;I)Lrx/Observable;
2019-02-04 20:08:30 +00:00
move-result-object v0
2019-02-04 20:42:43 +00:00
move-object v1, p0
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
check-cast v1, Lcom/discord/app/AppComponent;
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
invoke-static {v1}, Lcom/discord/app/g;->a(Lcom/discord/app/AppComponent;)Lrx/Observable$Transformer;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-object v1
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-virtual {v0, v1}, Lrx/Observable;->a(Lrx/Observable$Transformer;)Lrx/Observable;
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v0
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
sget-object v1, Lcom/discord/app/g;->tz:Lcom/discord/app/g;
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
new-instance v1, Lcom/discord/widgets/chat/list/WidgetChatListActions$onResume$1;
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
move-object v2, p0
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
check-cast v2, Lcom/discord/widgets/chat/list/WidgetChatListActions;
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
invoke-direct {v1, v2}, Lcom/discord/widgets/chat/list/WidgetChatListActions$onResume$1;-><init>(Lcom/discord/widgets/chat/list/WidgetChatListActions;)V
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
move-object v3, v1
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
check-cast v3, Lkotlin/jvm/functions/Function1;
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v4
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
const/4 v5, 0x0
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
const/4 v6, 0x0
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
const/4 v7, 0x0
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
const/16 v8, 0x3c
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
invoke-static/range {v3 .. v8}, Lcom/discord/app/g;->a(Lkotlin/jvm/functions/Function1;Ljava/lang/Class;Lrx/functions/Action1;Lkotlin/jvm/functions/Function1;Landroid/content/Context;I)Lrx/Observable$Transformer;
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
move-result-object v1
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
invoke-virtual {v0, v1}, Lrx/Observable;->a(Lrx/Observable$Transformer;)Lrx/Observable;
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
return-void
.end method
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
.method public final onViewCreated(Landroid/view/View;Landroid/os/Bundle;)V
.locals 1
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
const-string v0, "view"
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
invoke-static {p1, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
invoke-super {p0, p1, p2}, Lcom/discord/app/AppBottomSheet;->onViewCreated(Landroid/view/View;Landroid/os/Bundle;)V
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
invoke-virtual {p0}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->getArgumentsOrDefault()Landroid/os/Bundle;
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
move-result-object p1
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
const-string p2, "INTENT_EXTRA_MESSAGE_CHANNEL_ID"
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
invoke-virtual {p1, p2}, Landroid/os/Bundle;->getLong(Ljava/lang/String;)J
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
move-result-wide p1
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
iput-wide p1, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->channelId:J
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-virtual {p0}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->getArgumentsOrDefault()Landroid/os/Bundle;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-object p1
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
const-string p2, "INTENT_EXTRA_MESSAGE_ID"
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
invoke-virtual {p1, p2}, Landroid/os/Bundle;->getLong(Ljava/lang/String;)J
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
move-result-wide p1
2019-02-04 20:05:16 +00:00
2019-02-04 20:42:43 +00:00
iput-wide p1, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->messageId:J
2019-02-04 20:05:16 +00:00
return-void
.end method