apkfuckery/com.discord/smali/com/discord/widgets/chat/input/WidgetChatInput$configureUI...

80 lines
2.9 KiB
Smali

.class public final Lcom/discord/widgets/chat/input/WidgetChatInput$configureUI$2;
.super Ljava/lang/Object;
.source "WidgetChatInput.kt"
# interfaces
.implements Landroid/view/View$OnClickListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/chat/input/WidgetChatInput;->configureUI(Lcom/discord/widgets/chat/input/WidgetChatInputModel;)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;
.field public final synthetic this$0:Lcom/discord/widgets/chat/input/WidgetChatInput;
# direct methods
.method public constructor <init>(Lcom/discord/widgets/chat/input/WidgetChatInput;Lcom/discord/widgets/chat/input/WidgetChatInputModel;)V
.locals 0
iput-object p1, p0, Lcom/discord/widgets/chat/input/WidgetChatInput$configureUI$2;->this$0:Lcom/discord/widgets/chat/input/WidgetChatInput;
iput-object p2, p0, Lcom/discord/widgets/chat/input/WidgetChatInput$configureUI$2;->$model:Lcom/discord/widgets/chat/input/WidgetChatInputModel;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final onClick(Landroid/view/View;)V
.locals 4
iget-object p1, p0, Lcom/discord/widgets/chat/input/WidgetChatInput$configureUI$2;->this$0:Lcom/discord/widgets/chat/input/WidgetChatInput;
iget-object v0, p0, Lcom/discord/widgets/chat/input/WidgetChatInput$configureUI$2;->$model:Lcom/discord/widgets/chat/input/WidgetChatInputModel;
iget-object v0, v0, Lcom/discord/widgets/chat/input/WidgetChatInputModel;->channel:Lcom/discord/models/domain/ModelChannel;
const-string v1, "model.channel"
invoke-static {v0, v1}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {v0}, Lcom/discord/models/domain/ModelChannel;->getId()J
move-result-wide v2
iget-object v0, p0, Lcom/discord/widgets/chat/input/WidgetChatInput$configureUI$2;->$model:Lcom/discord/widgets/chat/input/WidgetChatInputModel;
iget-object v0, v0, Lcom/discord/widgets/chat/input/WidgetChatInputModel;->channel:Lcom/discord/models/domain/ModelChannel;
invoke-static {v0, v1}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {v0}, Lcom/discord/models/domain/ModelChannel;->getGuildId()Ljava/lang/Long;
move-result-object v0
const-string v1, "model.channel.guildId"
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
invoke-static {p1, v2, v3, v0, v1}, Lcom/discord/widgets/chat/input/WidgetChatInput;->access$showFollowSheet(Lcom/discord/widgets/chat/input/WidgetChatInput;JJ)V
return-void
.end method