591 lines
18 KiB
Smali
591 lines
18 KiB
Smali
.class public final Lcom/discord/views/channelsidebar/GuildChannelSideBarActionsView;
|
|
.super Landroid/widget/LinearLayout;
|
|
.source "GuildChannelSideBarActionsView.kt"
|
|
|
|
|
|
# static fields
|
|
.field public static final synthetic h:[Lkotlin/reflect/KProperty;
|
|
|
|
|
|
# instance fields
|
|
.field public final d:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
.field public final e:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
.field public final f:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
.field public final g:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 6
|
|
|
|
const/4 v0, 0x4
|
|
|
|
new-array v0, v0, [Lkotlin/reflect/KProperty;
|
|
|
|
new-instance v1, Ly/u/b/u;
|
|
|
|
const-class v2, Lcom/discord/views/channelsidebar/GuildChannelSideBarActionsView;
|
|
|
|
invoke-static {v2}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
|
|
|
|
move-result-object v2
|
|
|
|
const-string v3, "searchButton"
|
|
|
|
const-string v4, "getSearchButton()Lcom/google/android/material/button/MaterialButton;"
|
|
|
|
invoke-direct {v1, v2, v3, v4}, Ly/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
sget-object v2, Ly/u/b/x;->a:Ly/u/b/y;
|
|
|
|
invoke-virtual {v2, v1}, Ly/u/b/y;->property1(Ly/u/b/t;)Ly/y/d;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
const/4 v1, 0x1
|
|
|
|
new-instance v2, Ly/u/b/u;
|
|
|
|
const-class v3, Lcom/discord/views/channelsidebar/GuildChannelSideBarActionsView;
|
|
|
|
invoke-static {v3}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
|
|
|
|
move-result-object v3
|
|
|
|
const-string v4, "pinsButton"
|
|
|
|
const-string v5, "getPinsButton()Lcom/google/android/material/button/MaterialButton;"
|
|
|
|
invoke-direct {v2, v3, v4, v5}, Ly/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
sget-object v3, Ly/u/b/x;->a:Ly/u/b/y;
|
|
|
|
invoke-virtual {v3, v2}, Ly/u/b/y;->property1(Ly/u/b/t;)Ly/y/d;
|
|
|
|
aput-object v2, v0, v1
|
|
|
|
const/4 v1, 0x2
|
|
|
|
new-instance v2, Ly/u/b/u;
|
|
|
|
const-class v3, Lcom/discord/views/channelsidebar/GuildChannelSideBarActionsView;
|
|
|
|
invoke-static {v3}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
|
|
|
|
move-result-object v3
|
|
|
|
const-string v4, "notificationsButtons"
|
|
|
|
const-string v5, "getNotificationsButtons()Lcom/google/android/material/button/MaterialButton;"
|
|
|
|
invoke-direct {v2, v3, v4, v5}, Ly/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
sget-object v3, Ly/u/b/x;->a:Ly/u/b/y;
|
|
|
|
invoke-virtual {v3, v2}, Ly/u/b/y;->property1(Ly/u/b/t;)Ly/y/d;
|
|
|
|
aput-object v2, v0, v1
|
|
|
|
const/4 v1, 0x3
|
|
|
|
new-instance v2, Ly/u/b/u;
|
|
|
|
const-class v3, Lcom/discord/views/channelsidebar/GuildChannelSideBarActionsView;
|
|
|
|
invoke-static {v3}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
|
|
|
|
move-result-object v3
|
|
|
|
const-string v4, "settingsButton"
|
|
|
|
const-string v5, "getSettingsButton()Lcom/google/android/material/button/MaterialButton;"
|
|
|
|
invoke-direct {v2, v3, v4, v5}, Ly/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
sget-object v3, Ly/u/b/x;->a:Ly/u/b/y;
|
|
|
|
invoke-virtual {v3, v2}, Ly/u/b/y;->property1(Ly/u/b/t;)Ly/y/d;
|
|
|
|
aput-object v2, v0, v1
|
|
|
|
sput-object v0, Lcom/discord/views/channelsidebar/GuildChannelSideBarActionsView;->h:[Lkotlin/reflect/KProperty;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;)V
|
|
.locals 0
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
invoke-direct {p0, p1}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V
|
|
|
|
const p1, 0x7f0a019e
|
|
|
|
invoke-static {p0, p1}, Lf/n/a/j/a;->a(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lcom/discord/views/channelsidebar/GuildChannelSideBarActionsView;->d:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
const p1, 0x7f0a019d
|
|
|
|
invoke-static {p0, p1}, Lf/n/a/j/a;->a(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lcom/discord/views/channelsidebar/GuildChannelSideBarActionsView;->e:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
const p1, 0x7f0a019c
|
|
|
|
invoke-static {p0, p1}, Lf/n/a/j/a;->a(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lcom/discord/views/channelsidebar/GuildChannelSideBarActionsView;->f:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
const p1, 0x7f0a019f
|
|
|
|
invoke-static {p0, p1}, Lf/n/a/j/a;->a(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lcom/discord/views/channelsidebar/GuildChannelSideBarActionsView;->g:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string p1, "context"
|
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
.locals 0
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
invoke-direct {p0, p1, p2}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
|
|
const p2, 0x7f0a019e
|
|
|
|
invoke-static {p0, p2}, Lf/n/a/j/a;->a(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
move-result-object p2
|
|
|
|
iput-object p2, p0, Lcom/discord/views/channelsidebar/GuildChannelSideBarActionsView;->d:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
const p2, 0x7f0a019d
|
|
|
|
invoke-static {p0, p2}, Lf/n/a/j/a;->a(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
move-result-object p2
|
|
|
|
iput-object p2, p0, Lcom/discord/views/channelsidebar/GuildChannelSideBarActionsView;->e:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
const p2, 0x7f0a019c
|
|
|
|
invoke-static {p0, p2}, Lf/n/a/j/a;->a(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
move-result-object p2
|
|
|
|
iput-object p2, p0, Lcom/discord/views/channelsidebar/GuildChannelSideBarActionsView;->f:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
const p2, 0x7f0a019f
|
|
|
|
invoke-static {p0, p2}, Lf/n/a/j/a;->a(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
move-result-object p2
|
|
|
|
iput-object p2, p0, Lcom/discord/views/channelsidebar/GuildChannelSideBarActionsView;->g:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
invoke-virtual {p0, p1}, Lcom/discord/views/channelsidebar/GuildChannelSideBarActionsView;->a(Landroid/content/Context;)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string p1, "context"
|
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
.locals 0
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
invoke-direct {p0, p1, p2, p3}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
|
|
const p2, 0x7f0a019e
|
|
|
|
invoke-static {p0, p2}, Lf/n/a/j/a;->a(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
move-result-object p2
|
|
|
|
iput-object p2, p0, Lcom/discord/views/channelsidebar/GuildChannelSideBarActionsView;->d:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
const p2, 0x7f0a019d
|
|
|
|
invoke-static {p0, p2}, Lf/n/a/j/a;->a(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
move-result-object p2
|
|
|
|
iput-object p2, p0, Lcom/discord/views/channelsidebar/GuildChannelSideBarActionsView;->e:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
const p2, 0x7f0a019c
|
|
|
|
invoke-static {p0, p2}, Lf/n/a/j/a;->a(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
move-result-object p2
|
|
|
|
iput-object p2, p0, Lcom/discord/views/channelsidebar/GuildChannelSideBarActionsView;->f:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
const p2, 0x7f0a019f
|
|
|
|
invoke-static {p0, p2}, Lf/n/a/j/a;->a(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
move-result-object p2
|
|
|
|
iput-object p2, p0, Lcom/discord/views/channelsidebar/GuildChannelSideBarActionsView;->g:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
invoke-virtual {p0, p1}, Lcom/discord/views/channelsidebar/GuildChannelSideBarActionsView;->a(Landroid/content/Context;)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string p1, "context"
|
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public synthetic constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;IILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
.locals 0
|
|
|
|
and-int/lit8 p5, p4, 0x2
|
|
|
|
if-eqz p5, :cond_0
|
|
|
|
const/4 p2, 0x0
|
|
|
|
:cond_0
|
|
and-int/lit8 p4, p4, 0x4
|
|
|
|
if-eqz p4, :cond_1
|
|
|
|
const/4 p3, 0x0
|
|
|
|
:cond_1
|
|
invoke-direct {p0, p1, p2, p3}, Lcom/discord/views/channelsidebar/GuildChannelSideBarActionsView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public synthetic constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
.locals 0
|
|
|
|
and-int/lit8 p3, p3, 0x2
|
|
|
|
if-eqz p3, :cond_0
|
|
|
|
const/4 p2, 0x0
|
|
|
|
:cond_0
|
|
invoke-direct {p0, p1, p2}, Lcom/discord/views/channelsidebar/GuildChannelSideBarActionsView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private final getNotificationsButtons()Lcom/google/android/material/button/MaterialButton;
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/discord/views/channelsidebar/GuildChannelSideBarActionsView;->f:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
sget-object v1, Lcom/discord/views/channelsidebar/GuildChannelSideBarActionsView;->h:[Lkotlin/reflect/KProperty;
|
|
|
|
const/4 v2, 0x2
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Lcom/google/android/material/button/MaterialButton;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private final getPinsButton()Lcom/google/android/material/button/MaterialButton;
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/discord/views/channelsidebar/GuildChannelSideBarActionsView;->e:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
sget-object v1, Lcom/discord/views/channelsidebar/GuildChannelSideBarActionsView;->h:[Lkotlin/reflect/KProperty;
|
|
|
|
const/4 v2, 0x1
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Lcom/google/android/material/button/MaterialButton;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private final getSearchButton()Lcom/google/android/material/button/MaterialButton;
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/discord/views/channelsidebar/GuildChannelSideBarActionsView;->d:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
sget-object v1, Lcom/discord/views/channelsidebar/GuildChannelSideBarActionsView;->h:[Lkotlin/reflect/KProperty;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Lcom/google/android/material/button/MaterialButton;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private final getSettingsButton()Lcom/google/android/material/button/MaterialButton;
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/discord/views/channelsidebar/GuildChannelSideBarActionsView;->g:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
sget-object v1, Lcom/discord/views/channelsidebar/GuildChannelSideBarActionsView;->h:[Lkotlin/reflect/KProperty;
|
|
|
|
const/4 v2, 0x3
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Lcom/google/android/material/button/MaterialButton;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a(Landroid/content/Context;)V
|
|
.locals 8
|
|
|
|
const v0, 0x7f0d0048
|
|
|
|
invoke-static {p1, v0, p0}, Landroid/widget/LinearLayout;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;
|
|
|
|
sget-object v2, Lf/a/k/i0/a;->d:Lf/a/k/i0/a;
|
|
|
|
sget-object v3, Lf/a/k/i0/b;->d:Lf/a/k/i0/b;
|
|
|
|
sget-object v4, Lf/a/k/i0/c;->d:Lf/a/k/i0/c;
|
|
|
|
sget-object v5, Lf/a/k/i0/d;->d:Lf/a/k/i0/d;
|
|
|
|
const/4 v6, 0x0
|
|
|
|
const/4 v7, 0x0
|
|
|
|
move-object v1, p0
|
|
|
|
invoke-virtual/range {v1 .. v7}, Lcom/discord/views/channelsidebar/GuildChannelSideBarActionsView;->a(Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;ZZ)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final a(Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;ZZ)V
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"-",
|
|
"Landroid/view/View;",
|
|
"Lkotlin/Unit;",
|
|
">;",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"-",
|
|
"Landroid/view/View;",
|
|
"Lkotlin/Unit;",
|
|
">;",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"-",
|
|
"Landroid/view/View;",
|
|
"Lkotlin/Unit;",
|
|
">;",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"-",
|
|
"Landroid/view/View;",
|
|
"Lkotlin/Unit;",
|
|
">;ZZ)V"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p1, :cond_5
|
|
|
|
if-eqz p2, :cond_4
|
|
|
|
if-eqz p3, :cond_3
|
|
|
|
if-eqz p4, :cond_2
|
|
|
|
const/4 v1, 0x2
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-eqz p5, :cond_0
|
|
|
|
const p5, 0x7f040270
|
|
|
|
invoke-static {p0, p5, v2, v1, v0}, Lcom/discord/utilities/drawable/DrawableCompat;->getThemedDrawableRes$default(Landroid/view/View;IIILjava/lang/Object;)I
|
|
|
|
move-result p5
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const p5, 0x7f04026f
|
|
|
|
invoke-static {p0, p5, v2, v1, v0}, Lcom/discord/utilities/drawable/DrawableCompat;->getThemedDrawableRes$default(Landroid/view/View;IIILjava/lang/Object;)I
|
|
|
|
move-result p5
|
|
|
|
:goto_0
|
|
if-eqz p6, :cond_1
|
|
|
|
const p6, 0x7f04026d
|
|
|
|
invoke-static {p0, p6, v2, v1, v0}, Lcom/discord/utilities/drawable/DrawableCompat;->getThemedDrawableRes$default(Landroid/view/View;IIILjava/lang/Object;)I
|
|
|
|
move-result p6
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
const p6, 0x7f04026e
|
|
|
|
invoke-static {p0, p6, v2, v1, v0}, Lcom/discord/utilities/drawable/DrawableCompat;->getThemedDrawableRes$default(Landroid/view/View;IIILjava/lang/Object;)I
|
|
|
|
move-result p6
|
|
|
|
:goto_1
|
|
invoke-direct {p0}, Lcom/discord/views/channelsidebar/GuildChannelSideBarActionsView;->getSearchButton()Lcom/google/android/material/button/MaterialButton;
|
|
|
|
move-result-object v1
|
|
|
|
new-instance v2, Lf/a/k/i0/e;
|
|
|
|
invoke-direct {v2, p1}, Lf/a/k/i0/e;-><init>(Lkotlin/jvm/functions/Function1;)V
|
|
|
|
invoke-virtual {v1, v2}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
invoke-direct {p0}, Lcom/discord/views/channelsidebar/GuildChannelSideBarActionsView;->getSettingsButton()Lcom/google/android/material/button/MaterialButton;
|
|
|
|
move-result-object p1
|
|
|
|
new-instance v1, Lf/a/k/i0/e;
|
|
|
|
invoke-direct {v1, p4}, Lf/a/k/i0/e;-><init>(Lkotlin/jvm/functions/Function1;)V
|
|
|
|
invoke-virtual {p1, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
invoke-direct {p0}, Lcom/discord/views/channelsidebar/GuildChannelSideBarActionsView;->getPinsButton()Lcom/google/android/material/button/MaterialButton;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Landroid/widget/Button;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object p4
|
|
|
|
invoke-virtual {p4, p5}, Landroid/content/Context;->getDrawable(I)Landroid/graphics/drawable/Drawable;
|
|
|
|
move-result-object p4
|
|
|
|
invoke-static {p1, v0, p4, v0, v0}, Lcom/discord/utilities/drawable/DrawableCompat;->setCompoundDrawablesCompat(Landroid/widget/TextView;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V
|
|
|
|
new-instance p4, Lf/a/k/i0/f;
|
|
|
|
invoke-direct {p4, p3}, Lf/a/k/i0/f;-><init>(Lkotlin/jvm/functions/Function1;)V
|
|
|
|
invoke-virtual {p1, p4}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
invoke-direct {p0}, Lcom/discord/views/channelsidebar/GuildChannelSideBarActionsView;->getNotificationsButtons()Lcom/google/android/material/button/MaterialButton;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Landroid/widget/Button;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object p3
|
|
|
|
invoke-virtual {p3, p6}, Landroid/content/Context;->getDrawable(I)Landroid/graphics/drawable/Drawable;
|
|
|
|
move-result-object p3
|
|
|
|
invoke-static {p1, v0, p3, v0, v0}, Lcom/discord/utilities/drawable/DrawableCompat;->setCompoundDrawablesCompat(Landroid/widget/TextView;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V
|
|
|
|
new-instance p3, Lf/a/k/i0/f;
|
|
|
|
invoke-direct {p3, p2}, Lf/a/k/i0/f;-><init>(Lkotlin/jvm/functions/Function1;)V
|
|
|
|
invoke-virtual {p1, p3}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
return-void
|
|
|
|
:cond_2
|
|
const-string p1, "onSettingsClicked"
|
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_3
|
|
const-string p1, "onPinsClicked"
|
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_4
|
|
const-string p1, "onNotificationsClicked"
|
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_5
|
|
const-string p1, "onSearchClicked"
|
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|