apkfuckery/com.discord/smali/com/discord/widgets/chat/input/WidgetChatInputSend$configu...

90 lines
3.4 KiB
Smali

.class public final Lcom/discord/widgets/chat/input/WidgetChatInputSend$configureContextBarReplying$1;
.super Ljava/lang/Object;
.source "WidgetChatInputSend.kt"
# interfaces
.implements Landroid/view/View$OnClickListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/chat/input/WidgetChatInputSend;->configureContextBarReplying(Landroid/content/Context;Lcom/discord/widgets/chat/input/WidgetChatInputModel$PendingReplyState$Replying;Landroid/view/View;Landroid/widget/TextView;Landroid/widget/ImageButton;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
# instance fields
.field public final synthetic $model:Lcom/discord/widgets/chat/input/WidgetChatInputModel$PendingReplyState$Replying;
# direct methods
.method public constructor <init>(Lcom/discord/widgets/chat/input/WidgetChatInputModel$PendingReplyState$Replying;)V
.locals 0
iput-object p1, p0, Lcom/discord/widgets/chat/input/WidgetChatInputSend$configureContextBarReplying$1;->$model:Lcom/discord/widgets/chat/input/WidgetChatInputModel$PendingReplyState$Replying;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final onClick(Landroid/view/View;)V
.locals 4
sget-object p1, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
invoke-virtual {p1}, Lcom/discord/stores/StoreStream$Companion;->getMessagesLoader()Lcom/discord/stores/StoreMessagesLoader;
move-result-object p1
iget-object v0, p0, Lcom/discord/widgets/chat/input/WidgetChatInputSend$configureContextBarReplying$1;->$model:Lcom/discord/widgets/chat/input/WidgetChatInputModel$PendingReplyState$Replying;
invoke-virtual {v0}, Lcom/discord/widgets/chat/input/WidgetChatInputModel$PendingReplyState$Replying;->getMessageReference()Lcom/discord/models/domain/ModelMessage$MessageReference;
move-result-object v0
invoke-virtual {v0}, Lcom/discord/models/domain/ModelMessage$MessageReference;->getChannelId()Ljava/lang/Long;
move-result-object v0
invoke-static {v0}, Lc0/n/c/j;->checkNotNull(Ljava/lang/Object;)V
const-string v1, "model.messageReference.channelId!!"
invoke-static {v0, v1}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {v0}, Ljava/lang/Long;->longValue()J
move-result-wide v0
iget-object v2, p0, Lcom/discord/widgets/chat/input/WidgetChatInputSend$configureContextBarReplying$1;->$model:Lcom/discord/widgets/chat/input/WidgetChatInputModel$PendingReplyState$Replying;
invoke-virtual {v2}, Lcom/discord/widgets/chat/input/WidgetChatInputModel$PendingReplyState$Replying;->getMessageReference()Lcom/discord/models/domain/ModelMessage$MessageReference;
move-result-object v2
invoke-virtual {v2}, Lcom/discord/models/domain/ModelMessage$MessageReference;->getMessageId()Ljava/lang/Long;
move-result-object v2
invoke-static {v2}, Lc0/n/c/j;->checkNotNull(Ljava/lang/Object;)V
const-string v3, "model.messageReference.messageId!!"
invoke-static {v2, v3}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {v2}, Ljava/lang/Long;->longValue()J
move-result-wide v2
invoke-virtual {p1, v0, v1, v2, v3}, Lcom/discord/stores/StoreMessagesLoader;->jumpToMessage(JJ)V
return-void
.end method