apkfuckery/com.discord/smali/f/a/n/g0.smali

73 lines
1.7 KiB
Smali
Raw Normal View History

2020-07-08 16:44:49 +00:00
.class public final Lf/a/n/g0;
2020-09-09 19:21:20 +00:00
.super Lk0/n/c/j;
2020-07-08 16:44:49 +00:00
.source "VoiceUserLimitView.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function0;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
2020-09-09 19:21:20 +00:00
"Lk0/n/c/j;",
2020-07-08 16:44:49 +00:00
"Lkotlin/jvm/functions/Function0<",
"Landroid/graphics/drawable/Drawable;",
">;"
}
.end annotation
# instance fields
.field public final synthetic this$0:Lcom/discord/views/VoiceUserLimitView;
# direct methods
.method public constructor <init>(Lcom/discord/views/VoiceUserLimitView;)V
.locals 0
iput-object p1, p0, Lf/a/n/g0;->this$0:Lcom/discord/views/VoiceUserLimitView;
const/4 p1, 0x0
2020-09-09 19:21:20 +00:00
invoke-direct {p0, p1}, Lk0/n/c/j;-><init>(I)V
2020-07-08 16:44:49 +00:00
return-void
.end method
# virtual methods
.method public invoke()Ljava/lang/Object;
.locals 3
iget-object v0, p0, Lf/a/n/g0;->this$0:Lcom/discord/views/VoiceUserLimitView;
2020-09-09 19:21:20 +00:00
invoke-virtual {v0}, Landroid/widget/LinearLayout;->getContext()Landroid/content/Context;
2020-07-08 16:44:49 +00:00
move-result-object v0
2020-09-10 21:23:57 +00:00
const v1, 0x7f080443
2020-07-08 16:44:49 +00:00
2020-09-09 19:21:20 +00:00
invoke-static {v0, v1}, Landroidx/core/content/ContextCompat;->getDrawable(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;
2020-07-08 16:44:49 +00:00
move-result-object v0
2020-09-09 19:21:20 +00:00
if-eqz v0, :cond_0
2020-07-08 16:44:49 +00:00
iget-object v1, p0, Lf/a/n/g0;->this$0:Lcom/discord/views/VoiceUserLimitView;
invoke-virtual {v1}, Landroid/widget/LinearLayout;->getContext()Landroid/content/Context;
move-result-object v1
2020-09-09 19:21:20 +00:00
const v2, 0x7f040151
2020-07-08 16:44:49 +00:00
invoke-static {v1, v2}, Lcom/discord/utilities/color/ColorCompat;->getThemedColor(Landroid/content/Context;I)I
move-result v1
invoke-virtual {v0, v1}, Landroid/graphics/drawable/Drawable;->setTint(I)V
2020-09-09 19:21:20 +00:00
:cond_0
2020-07-08 16:44:49 +00:00
return-object v0
.end method