51 lines
1.4 KiB
Smali
51 lines
1.4 KiB
Smali
.class public final Lcom/discord/views/JoinVoiceChannelButton;
|
|
.super Lcom/google/android/material/button/MaterialButton;
|
|
.source "JoinVoiceChannelButton.kt"
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
.locals 0
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
invoke-direct {p0, p1, p2}, Lcom/google/android/material/button/MaterialButton;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
|
|
const p1, 0x7f120488
|
|
|
|
invoke-virtual {p0, p1}, Landroid/widget/Button;->setText(I)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string p1, "context"
|
|
|
|
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a(Lcom/google/android/material/button/MaterialButton;I)V
|
|
.locals 1
|
|
.param p2 # I
|
|
.annotation build Landroidx/annotation/StringRes;
|
|
.end annotation
|
|
.end param
|
|
|
|
const v0, 0x3e99999a # 0.3f
|
|
|
|
invoke-virtual {p1, v0}, Landroid/widget/Button;->setAlpha(F)V
|
|
|
|
new-instance v0, Lcom/discord/views/JoinVoiceChannelButton$a;
|
|
|
|
invoke-direct {v0, p1, p2}, Lcom/discord/views/JoinVoiceChannelButton$a;-><init>(Lcom/google/android/material/button/MaterialButton;I)V
|
|
|
|
invoke-virtual {p1, v0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
return-void
|
|
.end method
|