2019-02-17 00:24:05 +00:00
|
|
|
.class public Lcom/discord/widgets/chat/list/WidgetChatListActions;
|
2019-02-04 20:08:30 +00:00
|
|
|
.super Lcom/discord/app/AppBottomSheet;
|
2019-02-17 00:24:05 +00:00
|
|
|
.source "WidgetChatListActions.java"
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
|
|
value = {
|
2019-02-17 00:24:05 +00:00
|
|
|
Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;
|
2019-02-04 20:08:30 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# static fields
|
2019-02-17 00:24:05 +00:00
|
|
|
.field private static final INTENT_EXTRA_MESSAGE_CHANNEL_ID:Ljava/lang/String; = "INTENT_EXTRA_MESSAGE_CHANNEL_ID"
|
2019-02-04 20:42:43 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
.field private static final INTENT_EXTRA_MESSAGE_CONTENT:Ljava/lang/String; = "INTENT_EXTRA_MESSAGE_CONTENT"
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
.field private static final INTENT_EXTRA_MESSAGE_ID:Ljava/lang/String; = "INTENT_EXTRA_MESSAGE_ID"
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
.field private static final INTENT_EXTRA_TYPE:Ljava/lang/String; = "INTENT_EXTRA_TYPE"
|
2019-02-04 20:42:43 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
.field private static final TYPE_CHAT:I = 0x0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
.field private static final TYPE_PINS:I = 0x1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
# instance fields
|
|
|
|
.field private channelId:J
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
.field private chatActionsAddReaction:Landroid/view/View;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
.field private chatActionsAvatar:Lcom/facebook/drawee/view/SimpleDraweeView;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
.field private chatActionsCopy:Landroid/view/View;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
.field private chatActionsCopyId:Landroid/view/View;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
.field private chatActionsDelete:Landroid/view/View;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
.field private chatActionsEdit:Landroid/view/View;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
.field private chatActionsHeader:Landroid/view/View;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
.field private chatActionsManageReactions:Landroid/widget/TextView;
|
2019-02-04 20:45:28 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
.field private chatActionsPin:Landroid/widget/TextView;
|
2019-02-04 20:45:28 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
.field private chatActionsProfile:Landroid/view/View;
|
2019-02-04 20:45:28 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
.field private chatActionsResend:Landroid/view/View;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
.field private chatActionsShare:Landroid/view/View;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
.field private chatActionsSubtitle:Landroid/widget/TextView;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
.field private chatActionsTitle:Landroid/widget/TextView;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
.field private messageId:J
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>()V
|
2019-02-04 20:42:43 +00:00
|
|
|
.locals 0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-direct {p0}, Lcom/discord/app/AppBottomSheet;-><init>()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-17 00:24:05 +00:00
|
|
|
.method private addReaction(Lcom/discord/models/domain/emoji/Emoji;)V
|
|
|
|
.locals 6
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-static {}, Lcom/discord/utilities/rest/RestAPI;->getApi()Lcom/discord/utilities/rest/RestAPI;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result-object v0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-wide v1, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->channelId:J
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-wide v3, 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-17 00:24:05 +00:00
|
|
|
move-result-object v5
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual/range {v0 .. v5}, 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-17 00:24:05 +00:00
|
|
|
invoke-static {}, Lcom/discord/app/g;->du()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-17 00:24:05 +00:00
|
|
|
invoke-static {p0}, Lcom/discord/app/g;->b(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-17 00:24:05 +00:00
|
|
|
new-instance v0, Lcom/discord/widgets/chat/list/-$$Lambda$WidgetChatListActions$SHyeswZa6kFSYHkFxNu9l8KE7NE;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-direct {v0, p0}, Lcom/discord/widgets/chat/list/-$$Lambda$WidgetChatListActions$SHyeswZa6kFSYHkFxNu9l8KE7NE;-><init>(Lcom/discord/widgets/chat/list/WidgetChatListActions;)V
|
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-17 00:24:05 +00:00
|
|
|
invoke-static {v0, v1}, Lcom/discord/app/g;->b(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-17 00:24:05 +00:00
|
|
|
.method private configureUI(Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;)V
|
|
|
|
.locals 6
|
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
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsEdit:Landroid/view/View;
|
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-17 00:24:05 +00:00
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
|
|
|
|
iget v0, p1, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;->type:I
|
|
|
|
|
2019-02-04 20:42:43 +00:00
|
|
|
packed-switch v0, :pswitch_data_0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
goto :goto_1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:42:43 +00:00
|
|
|
:pswitch_0
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsEdit:Landroid/view/View;
|
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-17 00:24:05 +00:00
|
|
|
goto :goto_1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:42:43 +00:00
|
|
|
:pswitch_1
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsEdit:Landroid/view/View;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object v3, p1, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;->manageMessageContext:Lcom/discord/utilities/permissions/ManageMessageContext;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {v3}, Lcom/discord/utilities/permissions/ManageMessageContext;->getCanEdit()Z
|
2019-02-04 20:42:43 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result v3
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
if-eqz v3, :cond_1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
const/4 v3, 0x0
|
2019-02-04 20:42:43 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
goto :goto_0
|
2019-02-04 20:42:43 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
:cond_1
|
|
|
|
const/16 v3, 0x8
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
:goto_0
|
|
|
|
invoke-virtual {v0, v3}, Landroid/view/View;->setVisibility(I)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsEdit:Landroid/view/View;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
new-instance v3, Lcom/discord/widgets/chat/list/-$$Lambda$WidgetChatListActions$ke2cG4nqO9ZDtJAAUVqp47fuqvg;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-direct {v3, p0, p1}, Lcom/discord/widgets/chat/list/-$$Lambda$WidgetChatListActions$ke2cG4nqO9ZDtJAAUVqp47fuqvg;-><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-17 00:24:05 +00:00
|
|
|
invoke-virtual {v0, v3}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
:cond_2
|
|
|
|
:goto_1
|
|
|
|
iget-object v0, p1, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;->message:Lcom/discord/models/domain/ModelMessage;
|
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-17 00:24:05 +00:00
|
|
|
const/4 v3, -0x2
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:42:43 +00:00
|
|
|
const/4 v4, 0x1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
if-ne v0, v3, :cond_3
|
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-17 00:24:05 +00:00
|
|
|
goto :goto_2
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
:cond_3
|
2019-02-04 20:42:43 +00:00
|
|
|
const/4 v0, 0x0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
:goto_2
|
|
|
|
iget-object v3, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsAddReaction:Landroid/view/View;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
if-eqz v3, :cond_5
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object v5, p1, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;->manageMessageContext:Lcom/discord/utilities/permissions/ManageMessageContext;
|
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-17 00:24:05 +00:00
|
|
|
if-eqz v5, :cond_4
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
const/4 v5, 0x0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
goto :goto_3
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
:cond_4
|
|
|
|
const/16 v5, 0x8
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
:goto_3
|
|
|
|
invoke-virtual {v3, v5}, Landroid/view/View;->setVisibility(I)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object v3, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsAddReaction:Landroid/view/View;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
new-instance v5, Lcom/discord/widgets/chat/list/-$$Lambda$WidgetChatListActions$WWdisUlSa23k5iC5NHiSwa9emD0;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-direct {v5, p0}, Lcom/discord/widgets/chat/list/-$$Lambda$WidgetChatListActions$WWdisUlSa23k5iC5NHiSwa9emD0;-><init>(Lcom/discord/widgets/chat/list/WidgetChatListActions;)V
|
2019-02-04 20:45:28 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {v3, v5}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
2019-02-04 20:45:28 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
:cond_5
|
|
|
|
iget-object v3, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsManageReactions:Landroid/widget/TextView;
|
2019-02-04 20:45:28 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
if-eqz v3, :cond_7
|
2019-02-04 20:45:28 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object v5, p1, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;->message:Lcom/discord/models/domain/ModelMessage;
|
2019-02-04 20:45:28 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
if-nez v5, :cond_6
|
2019-02-04 20:45:28 +00:00
|
|
|
|
|
|
|
const/4 v5, 0x0
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
goto :goto_4
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
:cond_6
|
|
|
|
const/16 v5, 0x8
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
:goto_4
|
|
|
|
invoke-virtual {v3, v5}, Landroid/widget/TextView;->setVisibility(I)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object v3, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsManageReactions:Landroid/widget/TextView;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
new-instance v5, Lcom/discord/widgets/chat/list/-$$Lambda$WidgetChatListActions$04Kx2a0K8iyHC0nBoj2eAdtLEfk;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-direct {v5, p0}, Lcom/discord/widgets/chat/list/-$$Lambda$WidgetChatListActions$04Kx2a0K8iyHC0nBoj2eAdtLEfk;-><init>(Lcom/discord/widgets/chat/list/WidgetChatListActions;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {v3, v5}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
:cond_7
|
|
|
|
iget-object v3, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsResend:Landroid/view/View;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
if-eqz v3, :cond_9
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
if-eqz v0, :cond_8
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
const/4 v0, 0x0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
goto :goto_5
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
:cond_8
|
|
|
|
const/16 v0, 0x8
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
:goto_5
|
|
|
|
invoke-virtual {v3, v0}, Landroid/view/View;->setVisibility(I)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsResend:Landroid/view/View;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
new-instance v3, Lcom/discord/widgets/chat/list/-$$Lambda$WidgetChatListActions$h1H_33KAtL-Eq4nQIhDo6mrgy70;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-direct {v3, p0, p1}, Lcom/discord/widgets/chat/list/-$$Lambda$WidgetChatListActions$h1H_33KAtL-Eq4nQIhDo6mrgy70;-><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-17 00:24:05 +00:00
|
|
|
invoke-virtual {v0, v3}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
:cond_9
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsCopy:Landroid/view/View;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
if-eqz v0, :cond_b
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object v3, p1, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;->formattedMessageContent:Ljava/lang/CharSequence;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
if-eqz v3, :cond_a
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
const/4 v3, 0x0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
goto :goto_6
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
:cond_a
|
|
|
|
const/16 v3, 0x8
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
:goto_6
|
|
|
|
invoke-virtual {v0, v3}, Landroid/view/View;->setVisibility(I)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsCopy:Landroid/view/View;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
new-instance v3, Lcom/discord/widgets/chat/list/-$$Lambda$WidgetChatListActions$I-zd3Ph2Qf4MO8MGLvleFfn2uh4;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-direct {v3, p0, p1}, Lcom/discord/widgets/chat/list/-$$Lambda$WidgetChatListActions$I-zd3Ph2Qf4MO8MGLvleFfn2uh4;-><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-17 00:24:05 +00:00
|
|
|
invoke-virtual {v0, v3}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
:cond_b
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsCopyId:Landroid/view/View;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
if-eqz v0, :cond_c
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-boolean v3, p1, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;->isDeveloper:Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-static {v0, v3}, Lcom/discord/utilities/view/extensions/ViewExtensions;->setVisibilityBy(Landroid/view/View;Z)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsCopyId:Landroid/view/View;
|
2019-02-04 20:42:43 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
new-instance v3, Lcom/discord/widgets/chat/list/-$$Lambda$WidgetChatListActions$Wthzq9-UGbyxA1wW-kbCyGd4lyU;
|
2019-02-04 20:42:43 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-direct {v3, p0, p1}, Lcom/discord/widgets/chat/list/-$$Lambda$WidgetChatListActions$Wthzq9-UGbyxA1wW-kbCyGd4lyU;-><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-17 00:24:05 +00:00
|
|
|
invoke-virtual {v0, v3}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
:cond_c
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsShare:Landroid/view/View;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
if-eqz v0, :cond_d
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-boolean v3, p1, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;->isDeveloper:Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-static {v0, v3}, Lcom/discord/utilities/view/extensions/ViewExtensions;->setVisibilityBy(Landroid/view/View;Z)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsShare:Landroid/view/View;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
new-instance v3, Lcom/discord/widgets/chat/list/-$$Lambda$WidgetChatListActions$kpSye-uQbXpFTcBEJ1gItLtWwXU;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-direct {v3, p0, p1}, Lcom/discord/widgets/chat/list/-$$Lambda$WidgetChatListActions$kpSye-uQbXpFTcBEJ1gItLtWwXU;-><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-17 00:24:05 +00:00
|
|
|
invoke-virtual {v0, v3}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
:cond_d
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsPin:Landroid/widget/TextView;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
if-eqz v0, :cond_10
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object v3, p1, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;->manageMessageContext:Lcom/discord/utilities/permissions/ManageMessageContext;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {v3}, Lcom/discord/utilities/permissions/ManageMessageContext;->getCanTogglePinned()Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result v3
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
if-eqz v3, :cond_e
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
const/4 v3, 0x0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
goto :goto_7
|
2019-02-04 20:42:43 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
:cond_e
|
|
|
|
const/16 v3, 0x8
|
2019-02-04 20:42:43 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
:goto_7
|
|
|
|
invoke-virtual {v0, v3}, Landroid/widget/TextView;->setVisibility(I)V
|
2019-02-04 20:42:43 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsPin:Landroid/widget/TextView;
|
2019-02-04 20:42:43 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object v3, p1, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;->message:Lcom/discord/models/domain/ModelMessage;
|
2019-02-04 20:42:43 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {v3}, Lcom/discord/models/domain/ModelMessage;->isPinned()Z
|
2019-02-04 20:42:43 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result v3
|
2019-02-04 20:42:43 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
if-eqz v3, :cond_f
|
2019-02-04 20:42:43 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
const v3, 0x7f120ee1
|
2019-02-04 20:42:43 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
goto :goto_8
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
:cond_f
|
|
|
|
const v3, 0x7f120b6d
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
:goto_8
|
|
|
|
invoke-virtual {v0, v3}, Landroid/widget/TextView;->setText(I)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsPin:Landroid/widget/TextView;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
new-instance v3, Lcom/discord/widgets/chat/list/-$$Lambda$WidgetChatListActions$lmnSEePpXh0-kebailHbfezMUcs;
|
2019-02-04 20:42:43 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-direct {v3, p0, p1}, Lcom/discord/widgets/chat/list/-$$Lambda$WidgetChatListActions$lmnSEePpXh0-kebailHbfezMUcs;-><init>(Lcom/discord/widgets/chat/list/WidgetChatListActions;Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;)V
|
2019-02-04 20:42:43 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {v0, v3}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
:cond_10
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsDelete:Landroid/view/View;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
if-eqz v0, :cond_12
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object v3, p1, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;->manageMessageContext:Lcom/discord/utilities/permissions/ManageMessageContext;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {v3}, Lcom/discord/utilities/permissions/ManageMessageContext;->getCanDelete()Z
|
2019-02-04 20:42:43 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result v3
|
2019-02-04 20:42:43 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
if-eqz v3, :cond_11
|
2019-02-04 20:42:43 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
const/4 v1, 0x0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
:cond_11
|
|
|
|
invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsDelete:Landroid/view/View;
|
2019-02-04 20:42:43 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
new-instance v1, Lcom/discord/widgets/chat/list/-$$Lambda$WidgetChatListActions$-1pOh7gchGCYGkqu5nNkontZR5A;
|
2019-02-04 20:42:43 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-direct {v1, p0, p1}, Lcom/discord/widgets/chat/list/-$$Lambda$WidgetChatListActions$-1pOh7gchGCYGkqu5nNkontZR5A;-><init>(Lcom/discord/widgets/chat/list/WidgetChatListActions;Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;)V
|
2019-02-04 20:42:43 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
:cond_12
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsTitle:Landroid/widget/TextView;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
if-eqz v0, :cond_13
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object v1, p1, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;->messageAuthorName:Ljava/lang/String;
|
2019-02-04 20:42:43 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
:cond_13
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsSubtitle:Landroid/widget/TextView;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
if-eqz v0, :cond_14
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object v0, p1, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;->formattedMessageContent:Ljava/lang/CharSequence;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
if-eqz v0, :cond_14
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsSubtitle:Landroid/widget/TextView;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object v1, p1, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;->formattedMessageContent:Ljava/lang/CharSequence;
|
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-17 00:24:05 +00:00
|
|
|
:cond_14
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsAvatar:Lcom/facebook/drawee/view/SimpleDraweeView;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
if-eqz v0, :cond_15
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object v1, p1, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;->message:Lcom/discord/models/domain/ModelMessage;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {v1}, Lcom/discord/models/domain/ModelMessage;->getAuthor()Lcom/discord/models/domain/ModelUser;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result-object v1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-static {v1, 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-17 00:24:05 +00:00
|
|
|
move-result-object v1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-static {v0, v1}, Lcom/discord/utilities/icon/IconUtils;->setIcon(Landroid/widget/ImageView;Ljava/lang/String;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
:cond_15
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsProfile:Landroid/view/View;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
if-eqz v0, :cond_16
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
new-instance v1, Lcom/discord/widgets/chat/list/-$$Lambda$WidgetChatListActions$n2b_vIADSvv0ikBDW_hOyOrLnI4;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-direct {v1, p1}, Lcom/discord/widgets/chat/list/-$$Lambda$WidgetChatListActions$n2b_vIADSvv0ikBDW_hOyOrLnI4;-><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
|
|
|
invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
:cond_16
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsHeader:Landroid/view/View;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
if-eqz v0, :cond_17
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
new-instance v1, Lcom/discord/widgets/chat/list/-$$Lambda$WidgetChatListActions$kSx85IyfeZJRMyMAzsGT3cBVtdM;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-direct {v1, p1}, Lcom/discord/widgets/chat/list/-$$Lambda$WidgetChatListActions$kSx85IyfeZJRMyMAzsGT3cBVtdM;-><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
|
|
|
invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
:cond_17
|
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-17 00:24:05 +00:00
|
|
|
.method private editMessage(Lcom/discord/models/domain/ModelMessage;)V
|
|
|
|
.locals 2
|
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-17 00:24:05 +00:00
|
|
|
new-instance v1, Lcom/discord/widgets/chat/list/-$$Lambda$WidgetChatListActions$dhESUbgNfH-AfI2OllL5ldHu4Z4;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-direct {v1, p1}, Lcom/discord/widgets/chat/list/-$$Lambda$WidgetChatListActions$dhESUbgNfH-AfI2OllL5ldHu4Z4;-><init>(Lcom/discord/models/domain/ModelMessage;)V
|
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-17 00:24:05 +00:00
|
|
|
invoke-static {}, Lcom/discord/app/g;->dv()Lrx/Observable$Transformer;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result-object v1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {v0, v1}, Lrx/Observable;->a(Lrx/Observable$Transformer;)Lrx/Observable;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result-object v0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-static {}, Lcom/discord/app/g;->dx()Lrx/Observable$Transformer;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result-object v1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {v0, v1}, 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 v0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
new-instance v1, Lcom/discord/widgets/chat/list/-$$Lambda$WidgetChatListActions$GuB0BKvNXGEFyLdoXKoS8bDAE8A;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-direct {v1, p1}, Lcom/discord/widgets/chat/list/-$$Lambda$WidgetChatListActions$GuB0BKvNXGEFyLdoXKoS8bDAE8A;-><init>(Lcom/discord/models/domain/ModelMessage;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
const-string p1, "editMessage"
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-static {v1, p1}, Lcom/discord/app/g;->subscribe(Lrx/functions/Action1;Ljava/lang/String;)Lrx/Observable$Transformer;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result-object p1
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {v0, p1}, Lrx/Observable;->a(Lrx/Observable$Transformer;)Lrx/Observable;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
return-void
|
|
|
|
.end method
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
.method public static synthetic lambda$addReaction$13(Lcom/discord/widgets/chat/list/WidgetChatListActions;Ljava/lang/Void;)V
|
|
|
|
.locals 0
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {p0}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->dismiss()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
.method public static synthetic lambda$configureUI$1(Lcom/discord/widgets/chat/list/WidgetChatListActions;Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;Landroid/view/View;)V
|
|
|
|
.locals 0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object p1, p1, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;->message:Lcom/discord/models/domain/ModelMessage;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +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-17 00:24:05 +00:00
|
|
|
invoke-virtual {p0}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->dismiss()V
|
2019-02-04 20:05:16 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
.method static synthetic lambda$configureUI$10(Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;Landroid/view/View;)V
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Landroid/view/View;->getContext()Landroid/content/Context;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result-object p1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object p0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;->message:Lcom/discord/models/domain/ModelMessage;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {p0}, Lcom/discord/models/domain/ModelMessage;->getAuthor()Lcom/discord/models/domain/ModelUser;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result-object p0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {p0}, Lcom/discord/models/domain/ModelUser;->getId()J
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result-wide v0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-static {p1, v0, v1}, Lcom/discord/widgets/user/WidgetUserProfile;->launch(Landroid/content/Context;J)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
return-void
|
2019-02-04 20:42:43 +00:00
|
|
|
.end method
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
.method static synthetic lambda$configureUI$11(Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;Landroid/view/View;)V
|
|
|
|
.locals 2
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {p1}, Landroid/view/View;->getContext()Landroid/content/Context;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result-object p1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object p0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;->message:Lcom/discord/models/domain/ModelMessage;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {p0}, Lcom/discord/models/domain/ModelMessage;->getAuthor()Lcom/discord/models/domain/ModelUser;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result-object p0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {p0}, Lcom/discord/models/domain/ModelUser;->getId()J
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result-wide v0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-static {p1, v0, v1}, Lcom/discord/widgets/user/WidgetUserProfile;->launch(Landroid/content/Context;J)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
return-void
|
|
|
|
.end method
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
.method public static synthetic lambda$configureUI$2(Lcom/discord/widgets/chat/list/WidgetChatListActions;Landroid/view/View;)V
|
|
|
|
.locals 0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-static {p0}, Lcom/discord/widgets/chat/input/emoji/WidgetChatInputEmojiPicker;->launchFullscreen(Landroidx/fragment/app/Fragment;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
return-void
|
|
|
|
.end method
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
.method public static synthetic lambda$configureUI$3(Lcom/discord/widgets/chat/list/WidgetChatListActions;Landroid/view/View;)V
|
|
|
|
.locals 4
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-wide v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->channelId:J
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-wide v2, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->messageId:J
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +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-17 00:24:05 +00:00
|
|
|
move-result-object p1
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-static {v0, v1, v2, v3, p1}, Lcom/discord/widgets/chat/manage_reactions/WidgetManageReactions;->create(JJLandroid/content/Context;)V
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
return-void
|
|
|
|
.end method
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
.method public static synthetic lambda$configureUI$4(Lcom/discord/widgets/chat/list/WidgetChatListActions;Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;Landroid/view/View;)V
|
|
|
|
.locals 0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-static {}, Lcom/discord/stores/StoreStream;->getMessages()Lcom/discord/stores/StoreMessages;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result-object p2
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object p1, p1, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;->message:Lcom/discord/models/domain/ModelMessage;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {p2, p1}, Lcom/discord/stores/StoreMessages;->resendMessage(Lcom/discord/models/domain/ModelMessage;)V
|
2019-02-04 20:42:43 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {p0}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->dismiss()V
|
2019-02-04 20:42:43 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
return-void
|
2019-02-04 20:05:16 +00:00
|
|
|
.end method
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
.method public static synthetic lambda$configureUI$5(Lcom/discord/widgets/chat/list/WidgetChatListActions;Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;Landroid/view/View;)V
|
|
|
|
.locals 0
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +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-17 00:24:05 +00:00
|
|
|
move-result-object p2
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object p1, p1, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;->formattedMessageContent:Ljava/lang/CharSequence;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-static {p2, p1}, Lcom/discord/app/f;->d(Landroid/content/Context;Ljava/lang/CharSequence;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {p0}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->dismiss()V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
return-void
|
|
|
|
.end method
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
.method public static synthetic lambda$configureUI$6(Lcom/discord/widgets/chat/list/WidgetChatListActions;Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;Landroid/view/View;)V
|
|
|
|
.locals 2
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +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-17 00:24:05 +00:00
|
|
|
move-result-object p2
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object p1, p1, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;->message:Lcom/discord/models/domain/ModelMessage;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {p1}, Lcom/discord/models/domain/ModelMessage;->getId()J
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result-wide v0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-static {v0, v1}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result-object p1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-static {p2, p1}, Lcom/discord/app/f;->d(Landroid/content/Context;Ljava/lang/CharSequence;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {p0}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->dismiss()V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
return-void
|
2019-02-04 20:42:43 +00:00
|
|
|
.end method
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
.method public static synthetic lambda$configureUI$7(Lcom/discord/widgets/chat/list/WidgetChatListActions;Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;Landroid/view/View;)V
|
|
|
|
.locals 4
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object p2, p1, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;->message:Lcom/discord/models/domain/ModelMessage;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {p2}, Lcom/discord/models/domain/ModelMessage;->getChannelId()J
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result-wide v0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-wide v2, p1, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;->guildId:J
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object p1, p1, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;->message:Lcom/discord/models/domain/ModelMessage;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {p1}, Lcom/discord/models/domain/ModelMessage;->getId()J
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result-wide p1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result-object p1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-static {v0, v1, v2, v3, p1}, Lcom/discord/utilities/intent/IntentUtils$RouteBuilders;->selectChannel(JJLjava/lang/Long;)Landroid/content/Intent;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result-object p1
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-static {p1}, Lcom/discord/utilities/intent/IntentUtils;->toExternalizedSend(Landroid/content/Intent;)Landroid/content/Intent;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result-object p1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +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-17 00:24:05 +00:00
|
|
|
move-result-object p2
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
const v0, 0x7f120d8e
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {p0, v0}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->getString(I)Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result-object v0
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-static {p1, v0}, Landroid/content/Intent;->createChooser(Landroid/content/Intent;Ljava/lang/CharSequence;)Landroid/content/Intent;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result-object p1
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {p2, p1}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {p0}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->dismiss()V
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
return-void
|
|
|
|
.end method
|
2019-02-04 20:42:43 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
.method public static synthetic lambda$configureUI$8(Lcom/discord/widgets/chat/list/WidgetChatListActions;Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;Landroid/view/View;)V
|
|
|
|
.locals 0
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object p1, p1, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;->message:Lcom/discord/models/domain/ModelMessage;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +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-17 00:24:05 +00:00
|
|
|
return-void
|
|
|
|
.end method
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
.method public static synthetic lambda$configureUI$9(Lcom/discord/widgets/chat/list/WidgetChatListActions;Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;Landroid/view/View;)V
|
|
|
|
.locals 0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-static {}, Lcom/discord/stores/StoreStream;->getMessages()Lcom/discord/stores/StoreMessages;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result-object p2
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object p1, p1, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;->message:Lcom/discord/models/domain/ModelMessage;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {p2, p1}, Lcom/discord/stores/StoreMessages;->deleteMessage(Lcom/discord/models/domain/ModelMessage;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {p0}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->dismiss()V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
return-void
|
2019-02-04 20:05:16 +00:00
|
|
|
.end method
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
.method static synthetic lambda$editMessage$15(Lcom/discord/models/domain/ModelMessage;Ljava/util/Map;)Lrx/Observable;
|
|
|
|
.locals 7
|
2019-02-04 20:45:28 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {p0}, Lcom/discord/models/domain/ModelMessage;->getChannelId()J
|
2019-02-04 20:45:28 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result-wide v0
|
2019-02-04 20:45:28 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
2019-02-04 20:45:28 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result-object v0
|
2019-02-04 20:45:28 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-interface {p1, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
2019-02-04 20:45:28 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
check-cast v0, Lcom/discord/models/domain/ModelChannel;
|
2019-02-04 20:45:28 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
if-eqz v0, :cond_0
|
2019-02-04 20:45:28 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {v0}, Lcom/discord/models/domain/ModelChannel;->getGuildId()J
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result-wide v0
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
goto :goto_0
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
:cond_0
|
|
|
|
const-wide/16 v0, 0x0
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
:goto_0
|
|
|
|
invoke-static {}, Lcom/discord/stores/StoreStream;->getUsers()Lcom/discord/stores/StoreUser;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result-object v2
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {v2}, Lcom/discord/stores/StoreUser;->getAll()Lrx/Observable;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result-object v2
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-static {}, Lcom/discord/stores/StoreStream;->getGuilds()Lcom/discord/stores/StoreGuilds;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result-object v3
|
2019-02-04 20:42:43 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {v3}, Lcom/discord/stores/StoreGuilds;->get()Lrx/Observable;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result-object v3
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-static {}, Lcom/discord/stores/StoreStream;->getEmojis()Lcom/discord/stores/StoreEmoji;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result-object v4
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {p0}, Lcom/discord/models/domain/ModelMessage;->getChannelId()J
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result-wide v5
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {v4, v0, v1, v5, v6}, Lcom/discord/stores/StoreEmoji;->getUsableEmojiSet(JJ)Lrx/Observable;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result-object v4
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
new-instance v5, Lcom/discord/widgets/chat/list/-$$Lambda$WidgetChatListActions$hnHwAOOJNFMtAQ7Rj7E3hvrj5FA;
|
|
|
|
|
|
|
|
invoke-direct {v5, p0, v0, v1, p1}, Lcom/discord/widgets/chat/list/-$$Lambda$WidgetChatListActions$hnHwAOOJNFMtAQ7Rj7E3hvrj5FA;-><init>(Lcom/discord/models/domain/ModelMessage;JLjava/util/Map;)V
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-static {v2, v3, v4, v5}, Lrx/Observable;->a(Lrx/Observable;Lrx/Observable;Lrx/Observable;Lrx/functions/Func3;)Lrx/Observable;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result-object p0
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
return-object p0
|
|
|
|
.end method
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
.method static synthetic lambda$editMessage$16(Lcom/discord/models/domain/ModelMessage;Ljava/lang/CharSequence;)V
|
|
|
|
.locals 3
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-static {}, Lcom/discord/stores/StoreStream;->getChat()Lcom/discord/stores/StoreChat;
|
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-17 00:24:05 +00:00
|
|
|
new-instance v1, Lcom/discord/stores/StoreChat$EditingMessage;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
const/4 v2, 0x0
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-direct {v1, p0, p1, v2}, Lcom/discord/stores/StoreChat$EditingMessage;-><init>(Lcom/discord/models/domain/ModelMessage;Ljava/lang/CharSequence;Z)V
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {v0, v1}, Lcom/discord/stores/StoreChat;->setEditingMessage(Lcom/discord/stores/StoreChat$EditingMessage;)V
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
return-void
|
|
|
|
.end method
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
.method public static synthetic lambda$jFnZbTc2isIbJcEh2OFD1q3BbDo(Lcom/discord/widgets/chat/list/WidgetChatListActions;Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;)V
|
|
|
|
.locals 0
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-direct {p0, p1}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->configureUI(Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;)V
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
return-void
|
|
|
|
.end method
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
.method static synthetic lambda$null$14(Lcom/discord/models/domain/ModelMessage;JLjava/util/Map;Ljava/util/Map;Ljava/util/Map;Lcom/discord/models/domain/emoji/EmojiSet;)Ljava/lang/CharSequence;
|
|
|
|
.locals 0
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {p0}, Lcom/discord/models/domain/ModelMessage;->getContent()Ljava/lang/String;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result-object p0
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
2019-02-04 20:45:28 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result-object p1
|
2019-02-04 20:45:28 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-interface {p5, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
2019-02-04 20:45:28 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result-object p1
|
2019-02-04 20:45:28 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
check-cast p1, Lcom/discord/models/domain/ModelGuild;
|
2019-02-04 20:45:28 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-static {p0, p1, p3, p4, p6}, Lcom/discord/utilities/textprocessing/MessageUnparser;->unparse(Ljava/lang/String;Lcom/discord/models/domain/ModelGuild;Ljava/util/Map;Ljava/util/Map;Lcom/discord/models/domain/emoji/EmojiSet;)Ljava/lang/CharSequence;
|
2019-02-04 20:45:28 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result-object p0
|
2019-02-04 20:45:28 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
return-object p0
|
|
|
|
.end method
|
2019-02-04 20:45:28 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
.method public static synthetic lambda$onActivityResult$0(Lcom/discord/widgets/chat/list/WidgetChatListActions;Lcom/discord/models/domain/emoji/Emoji;Ljava/util/HashMap;)V
|
|
|
|
.locals 0
|
2019-02-04 20:45:28 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-direct {p0, p1}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->addReaction(Lcom/discord/models/domain/emoji/Emoji;)V
|
2019-02-04 20:45:28 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
return-void
|
|
|
|
.end method
|
2019-02-04 20:45:28 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
.method public static synthetic lambda$toggleMessagePin$12(Lcom/discord/widgets/chat/list/WidgetChatListActions;ILjava/lang/Void;)V
|
|
|
|
.locals 0
|
2019-02-04 20:45:28 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {p0}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->getContext()Landroid/content/Context;
|
2019-02-04 20:45:28 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result-object p2
|
2019-02-04 20:45:28 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-static {p2, p1}, Lcom/discord/app/f;->d(Landroid/content/Context;I)V
|
2019-02-04 20:45:28 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {p0}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->dismiss()V
|
2019-02-04 20:45:28 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
return-void
|
|
|
|
.end method
|
2019-02-04 20:45:28 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
.method public static showForChat(Landroidx/fragment/app/FragmentManager;JJLjava/lang/CharSequence;)V
|
|
|
|
.locals 2
|
2019-02-04 20:45:28 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
new-instance v0, Landroid/os/Bundle;
|
2019-02-04 20:45:28 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-direct {v0}, Landroid/os/Bundle;-><init>()V
|
2019-02-04 20:45:28 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
const-string v1, "INTENT_EXTRA_MESSAGE_CHANNEL_ID"
|
2019-02-04 20:45:28 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {v0, v1, p1, p2}, Landroid/os/Bundle;->putLong(Ljava/lang/String;J)V
|
2019-02-04 20:45:28 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
const-string p1, "INTENT_EXTRA_MESSAGE_ID"
|
2019-02-04 20:45:28 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {v0, p1, p3, p4}, Landroid/os/Bundle;->putLong(Ljava/lang/String;J)V
|
2019-02-04 20:45:28 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
const-string p1, "INTENT_EXTRA_MESSAGE_CONTENT"
|
2019-02-04 20:45:28 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {v0, p1, p5}, Landroid/os/Bundle;->putCharSequence(Ljava/lang/String;Ljava/lang/CharSequence;)V
|
2019-02-04 20:45:28 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
const-string p1, "INTENT_EXTRA_TYPE"
|
2019-02-04 20:45:28 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
const/4 p2, 0x0
|
2019-02-04 20:45:28 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {v0, p1, p2}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V
|
2019-02-04 20:45:28 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
new-instance p1, Lcom/discord/widgets/chat/list/WidgetChatListActions;
|
2019-02-04 20:45:28 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-direct {p1}, Lcom/discord/widgets/chat/list/WidgetChatListActions;-><init>()V
|
2019-02-04 20:45:28 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {p1, v0}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->setArguments(Landroid/os/Bundle;)V
|
2019-02-04 20:45:28 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
2019-02-04 20:45:28 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result-object p2
|
2019-02-06 20:30:57 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {p2}, Ljava/lang/Class;->getName()Ljava/lang/String;
|
2019-02-04 20:45:28 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result-object p2
|
2019-02-04 20:45:28 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {p1, p0, p2}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->show(Landroidx/fragment/app/FragmentManager;Ljava/lang/String;)V
|
2019-02-04 20:45:28 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
.method public static showForPin(Landroidx/fragment/app/FragmentManager;JJLjava/lang/CharSequence;)V
|
|
|
|
.locals 2
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
new-instance v0, Landroid/os/Bundle;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-direct {v0}, Landroid/os/Bundle;-><init>()V
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
const-string v1, "INTENT_EXTRA_MESSAGE_CHANNEL_ID"
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {v0, v1, p1, p2}, Landroid/os/Bundle;->putLong(Ljava/lang/String;J)V
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
const-string p1, "INTENT_EXTRA_MESSAGE_ID"
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {v0, p1, p3, p4}, Landroid/os/Bundle;->putLong(Ljava/lang/String;J)V
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
const-string p1, "INTENT_EXTRA_MESSAGE_CONTENT"
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {v0, p1, p5}, Landroid/os/Bundle;->putCharSequence(Ljava/lang/String;Ljava/lang/CharSequence;)V
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
const-string p1, "INTENT_EXTRA_TYPE"
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
const/4 p2, 0x1
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {v0, p1, p2}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
new-instance p1, Lcom/discord/widgets/chat/list/WidgetChatListActions;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-direct {p1}, Lcom/discord/widgets/chat/list/WidgetChatListActions;-><init>()V
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {p1, v0}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->setArguments(Landroid/os/Bundle;)V
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
invoke-virtual {p2}, Ljava/lang/Class;->getName()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
invoke-virtual {p1, p0, p2}, Lcom/discord/widgets/chat/list/WidgetChatListActions;->show(Landroidx/fragment/app/FragmentManager;Ljava/lang/String;)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-17 00:24:05 +00:00
|
|
|
.method private 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-17 00:24:05 +00:00
|
|
|
invoke-static {}, Lcom/discord/utilities/rest/RestAPI;->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-17 00:24:05 +00:00
|
|
|
invoke-static {}, Lcom/discord/utilities/rest/RestAPI;->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-14 22:50:29 +00:00
|
|
|
const p1, 0x7f1209c3
|
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-14 22:50:29 +00:00
|
|
|
const p1, 0x7f1209ba
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
:goto_1
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-static {}, Lcom/discord/app/g;->du()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-17 00:24:05 +00:00
|
|
|
invoke-static {p0}, Lcom/discord/app/g;->b(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-17 00:24:05 +00:00
|
|
|
new-instance v1, Lcom/discord/widgets/chat/list/-$$Lambda$WidgetChatListActions$JBBTesMOLwfsQyVmJvVYXG5cGro;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-direct {v1, p0, p1}, Lcom/discord/widgets/chat/list/-$$Lambda$WidgetChatListActions$JBBTesMOLwfsQyVmJvVYXG5cGro;-><init>(Lcom/discord/widgets/chat/list/WidgetChatListActions;I)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;->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-17 00:24:05 +00:00
|
|
|
invoke-static {v1, p1}, Lcom/discord/app/g;->b(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-17 00:24:05 +00:00
|
|
|
.method public getContentViewResId()I
|
2019-02-04 20:08:30 +00:00
|
|
|
.locals 1
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
const v0, 0x7f0d00c0
|
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-17 00:24:05 +00:00
|
|
|
.method public 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-17 00:24:05 +00:00
|
|
|
new-instance v0, Lcom/discord/widgets/chat/list/-$$Lambda$WidgetChatListActions$E0Elb6I_Lna0eBXHnDT-0PYckFw;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-direct {v0, p0}, Lcom/discord/widgets/chat/list/-$$Lambda$WidgetChatListActions$E0Elb6I_Lna0eBXHnDT-0PYckFw;-><init>(Lcom/discord/widgets/chat/list/WidgetChatListActions;)V
|
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-17 00:24:05 +00:00
|
|
|
.method public onResume()V
|
|
|
|
.locals 8
|
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:08:30 +00:00
|
|
|
const/4 v1, 0x0
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-static {v0, v1}, Lcom/discord/utilities/keyboard/Keyboard;->setKeyboardOpen(Landroid/app/Activity;Z)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-17 00:24:05 +00:00
|
|
|
move-result-object v6
|
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-17 00:24:05 +00:00
|
|
|
move-result v7
|
|
|
|
|
|
|
|
iget-wide v2, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->channelId:J
|
|
|
|
|
|
|
|
iget-wide v4, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->messageId:J
|
|
|
|
|
|
|
|
invoke-static/range {v2 .. v7}, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;->get(JJLjava/lang/CharSequence;I)Lrx/Observable;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result-object v0
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-static {p0}, Lcom/discord/app/g;->b(Lcom/discord/app/AppComponent;)Lrx/Observable$Transformer;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result-object v1
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {v0, v1}, Lrx/Observable;->a(Lrx/Observable$Transformer;)Lrx/Observable;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
new-instance v1, Lcom/discord/widgets/chat/list/-$$Lambda$WidgetChatListActions$jFnZbTc2isIbJcEh2OFD1q3BbDo;
|
|
|
|
|
|
|
|
invoke-direct {v1, p0}, Lcom/discord/widgets/chat/list/-$$Lambda$WidgetChatListActions$jFnZbTc2isIbJcEh2OFD1q3BbDo;-><init>(Lcom/discord/widgets/chat/list/WidgetChatListActions;)V
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result-object v2
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-static {v1, v2}, Lcom/discord/app/g;->a(Lrx/functions/Action1;Ljava/lang/Class;)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-17 00:24:05 +00:00
|
|
|
return-void
|
|
|
|
.end method
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
.method public onViewCreated(Landroid/view/View;Landroid/os/Bundle;)V
|
|
|
|
.locals 2
|
|
|
|
.param p1 # Landroid/view/View;
|
|
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
|
|
.end annotation
|
|
|
|
.end param
|
|
|
|
.param p2 # Landroid/os/Bundle;
|
|
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end param
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +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-17 00:24:05 +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-17 00:24:05 +00:00
|
|
|
move-result-object p2
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
const-string v0, "INTENT_EXTRA_MESSAGE_CHANNEL_ID"
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {p2, v0}, Landroid/os/Bundle;->getLong(Ljava/lang/String;)J
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result-wide v0
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iput-wide v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->channelId:J
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +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-17 00:24:05 +00:00
|
|
|
move-result-object p2
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
const-string v0, "INTENT_EXTRA_MESSAGE_ID"
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {p2, v0}, Landroid/os/Bundle;->getLong(Ljava/lang/String;)J
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result-wide v0
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iput-wide v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->messageId:J
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
const p2, 0x7f0a01d0
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result-object p2
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iput-object p2, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsAddReaction:Landroid/view/View;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
const p2, 0x7f0a01d6
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result-object p2
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
check-cast p2, Landroid/widget/TextView;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iput-object p2, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsManageReactions:Landroid/widget/TextView;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
const p2, 0x7f0a01d5
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result-object p2
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iput-object p2, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsEdit:Landroid/view/View;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
const p2, 0x7f0a01d9
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
move-result-object p2
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iput-object p2, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsResend:Landroid/view/View;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
const p2, 0x7f0a01d2
|
|
|
|
|
|
|
|
invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
iput-object p2, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsCopy:Landroid/view/View;
|
|
|
|
|
|
|
|
const p2, 0x7f0a01d3
|
|
|
|
|
|
|
|
invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
iput-object p2, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsCopyId:Landroid/view/View;
|
|
|
|
|
|
|
|
const p2, 0x7f0a01da
|
|
|
|
|
|
|
|
invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
iput-object p2, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsShare:Landroid/view/View;
|
|
|
|
|
|
|
|
const p2, 0x7f0a01d4
|
|
|
|
|
|
|
|
invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
iput-object p2, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsDelete:Landroid/view/View;
|
|
|
|
|
|
|
|
const p2, 0x7f0a01d7
|
|
|
|
|
|
|
|
invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
check-cast p2, Landroid/widget/TextView;
|
|
|
|
|
|
|
|
iput-object p2, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsPin:Landroid/widget/TextView;
|
|
|
|
|
|
|
|
const p2, 0x7f0a01dc
|
|
|
|
|
|
|
|
invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
check-cast p2, Landroid/widget/TextView;
|
|
|
|
|
|
|
|
iput-object p2, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsTitle:Landroid/widget/TextView;
|
|
|
|
|
|
|
|
const p2, 0x7f0a01db
|
|
|
|
|
|
|
|
invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
check-cast p2, Landroid/widget/TextView;
|
|
|
|
|
|
|
|
iput-object p2, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsSubtitle:Landroid/widget/TextView;
|
|
|
|
|
|
|
|
const p2, 0x7f0a01d1
|
|
|
|
|
|
|
|
invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
check-cast p2, Lcom/facebook/drawee/view/SimpleDraweeView;
|
|
|
|
|
|
|
|
iput-object p2, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsAvatar:Lcom/facebook/drawee/view/SimpleDraweeView;
|
|
|
|
|
|
|
|
const p2, 0x7f0a01d8
|
|
|
|
|
|
|
|
invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
iput-object p2, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsProfile:Landroid/view/View;
|
|
|
|
|
|
|
|
const p2, 0x7f0a01cf
|
|
|
|
|
|
|
|
invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
|
|
|
|
move-result-object p1
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iput-object p1, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions;->chatActionsHeader:Landroid/view/View;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|