apkfuckery/com.discord/smali_classes2/com/discord/widgets/user/usersheet/WidgetUserSheet$configureUI$$inlined$apply$lambda$3.smali

88 lines
3.7 KiB
Smali
Raw Normal View History

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