155 lines
3.6 KiB
Smali
155 lines
3.6 KiB
Smali
.class public final Lf/a/a/q$b;
|
|
.super Lz/u/b/k;
|
|
.source "WidgetUrgentMessageDialog.kt"
|
|
|
|
# interfaces
|
|
.implements Lkotlin/jvm/functions/Function1;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lf/a/a/q;->onViewBound(Landroid/view/View;)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lz/u/b/k;",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"Lf/a/a/s$e;",
|
|
"Lkotlin/Unit;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic this$0:Lf/a/a/q;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lf/a/a/q;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lf/a/a/q$b;->this$0:Lf/a/a/q;
|
|
|
|
const/4 p1, 0x1
|
|
|
|
invoke-direct {p0, p1}, Lz/u/b/k;-><init>(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a(Lf/a/a/s$e;)V
|
|
.locals 4
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
iget-object v0, p0, Lf/a/a/q$b;->this$0:Lf/a/a/q;
|
|
|
|
iget-object v1, v0, Lf/a/a/q;->d:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
sget-object v2, Lf/a/a/q;->h:[Lkotlin/reflect/KProperty;
|
|
|
|
const/4 v3, 0x0
|
|
|
|
aget-object v2, v2, v3
|
|
|
|
invoke-interface {v1, v0, v2}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Landroid/widget/TextView;
|
|
|
|
const v2, 0x7f121399
|
|
|
|
invoke-virtual {v0, v2}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
|
|
|
iget-object v1, v0, Lf/a/a/q;->e:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
sget-object v2, Lf/a/a/q;->h:[Lkotlin/reflect/KProperty;
|
|
|
|
const/4 v3, 0x1
|
|
|
|
aget-object v2, v2, v3
|
|
|
|
invoke-interface {v1, v0, v2}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Landroid/widget/TextView;
|
|
|
|
const v2, 0x7f121398
|
|
|
|
invoke-virtual {v0, v2}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
|
|
|
invoke-virtual {v0}, Lf/a/a/q;->getButtonConfirm()Lcom/discord/views/LoadingButton;
|
|
|
|
move-result-object v1
|
|
|
|
const v2, 0x7f120ed3
|
|
|
|
invoke-virtual {v0, v2}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Lcom/discord/views/LoadingButton;->setText(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v0}, Lf/a/a/q;->getButtonConfirm()Lcom/discord/views/LoadingButton;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {p1}, Lf/a/a/s$e;->a()Z
|
|
|
|
move-result p1
|
|
|
|
invoke-virtual {v1, p1}, Lcom/discord/views/LoadingButton;->setIsLoading(Z)V
|
|
|
|
invoke-virtual {v0}, Lf/a/a/q;->getButtonConfirm()Lcom/discord/views/LoadingButton;
|
|
|
|
move-result-object p1
|
|
|
|
new-instance v1, Lf/a/a/r;
|
|
|
|
invoke-direct {v1, v0}, Lf/a/a/r;-><init>(Lf/a/a/q;)V
|
|
|
|
invoke-virtual {p1, v1}, Landroid/widget/FrameLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string p1, "viewState"
|
|
|
|
invoke-static {p1}, Lz/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
.locals 0
|
|
|
|
check-cast p1, Lf/a/a/s$e;
|
|
|
|
invoke-virtual {p0, p1}, Lf/a/a/q$b;->a(Lf/a/a/s$e;)V
|
|
|
|
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
|
|
|
return-object p1
|
|
.end method
|