apkfuckery/com.discord/smali/com/discord/widgets/servers/NotificationMuteSettingsView.smali

450 lines
13 KiB
Smali
Raw Normal View History

2019-11-21 23:22:50 +00:00
.class public final Lcom/discord/widgets/servers/NotificationMuteSettingsView;
.super Landroid/widget/LinearLayout;
.source "NotificationMuteSettingsView.kt"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
2019-12-12 08:58:10 +00:00
Lcom/discord/widgets/servers/NotificationMuteSettingsView$ViewState;
2019-11-21 23:22:50 +00:00
}
.end annotation
# static fields
2019-12-06 03:29:40 +00:00
.field public static final synthetic $$delegatedProperties:[Lkotlin/reflect/KProperty;
2019-11-21 23:22:50 +00:00
# instance fields
2019-12-06 03:29:40 +00:00
.field public final muteItem$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-11-21 23:22:50 +00:00
2019-12-06 03:29:40 +00:00
.field public final muteItemDescription$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-11-21 23:22:50 +00:00
2019-12-06 03:29:40 +00:00
.field public final muteItemStatus$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-11-21 23:22:50 +00:00
# direct methods
2019-12-06 03:29:40 +00:00
.method public static constructor <clinit>()V
2019-11-21 23:22:50 +00:00
.locals 6
2019-12-12 08:58:10 +00:00
const/4 v0, 0x3
2019-11-21 23:22:50 +00:00
2019-12-06 03:29:40 +00:00
new-array v0, v0, [Lkotlin/reflect/KProperty;
2019-11-21 23:22:50 +00:00
2020-02-20 19:33:18 +00:00
new-instance v1, Lw/u/b/u;
2019-11-21 23:22:50 +00:00
2019-12-06 03:29:40 +00:00
const-class v2, Lcom/discord/widgets/servers/NotificationMuteSettingsView;
2019-11-21 23:22:50 +00:00
2020-02-20 19:33:18 +00:00
invoke-static {v2}, Lw/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lw/y/b;
2019-11-21 23:22:50 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v2
2019-11-21 23:22:50 +00:00
2019-12-12 08:58:10 +00:00
const-string v3, "muteItem"
2019-11-21 23:22:50 +00:00
2019-12-12 08:58:10 +00:00
const-string v4, "getMuteItem()Lcom/discord/app/AppTextView;"
2019-11-21 23:22:50 +00:00
2020-02-20 19:33:18 +00:00
invoke-direct {v1, v2, v3, v4}, Lw/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
2019-11-21 23:22:50 +00:00
2020-02-20 19:33:18 +00:00
sget-object v2, Lw/u/b/w;->a:Lw/u/b/x;
2019-11-21 23:22:50 +00:00
2020-02-20 19:33:18 +00:00
invoke-virtual {v2, v1}, Lw/u/b/x;->property1(Lw/u/b/t;)Lw/y/d;
2019-11-21 23:22:50 +00:00
2019-12-06 03:29:40 +00:00
const/4 v2, 0x0
2019-11-21 23:22:50 +00:00
2019-12-06 03:29:40 +00:00
aput-object v1, v0, v2
2019-11-21 23:22:50 +00:00
2019-12-06 03:29:40 +00:00
const/4 v1, 0x1
2019-11-21 23:22:50 +00:00
2020-02-20 19:33:18 +00:00
new-instance v2, Lw/u/b/u;
2019-11-21 23:22:50 +00:00
2019-12-06 03:29:40 +00:00
const-class v3, Lcom/discord/widgets/servers/NotificationMuteSettingsView;
2019-11-21 23:22:50 +00:00
2020-02-20 19:33:18 +00:00
invoke-static {v3}, Lw/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lw/y/b;
2019-11-21 23:22:50 +00:00
move-result-object v3
const-string v4, "muteItemStatus"
const-string v5, "getMuteItemStatus()Landroid/widget/TextView;"
2020-02-20 19:33:18 +00:00
invoke-direct {v2, v3, v4, v5}, Lw/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
2019-11-21 23:22:50 +00:00
2020-02-20 19:33:18 +00:00
sget-object v3, Lw/u/b/w;->a:Lw/u/b/x;
2019-11-21 23:22:50 +00:00
2020-02-20 19:33:18 +00:00
invoke-virtual {v3, v2}, Lw/u/b/x;->property1(Lw/u/b/t;)Lw/y/d;
2019-11-21 23:22:50 +00:00
2019-12-06 03:29:40 +00:00
aput-object v2, v0, v1
2019-11-21 23:22:50 +00:00
2019-12-12 08:58:10 +00:00
const/4 v1, 0x2
2019-11-21 23:22:50 +00:00
2020-02-20 19:33:18 +00:00
new-instance v2, Lw/u/b/u;
2019-11-21 23:22:50 +00:00
2019-12-06 03:29:40 +00:00
const-class v3, Lcom/discord/widgets/servers/NotificationMuteSettingsView;
2019-11-21 23:22:50 +00:00
2020-02-20 19:33:18 +00:00
invoke-static {v3}, Lw/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lw/y/b;
2019-11-21 23:22:50 +00:00
move-result-object v3
const-string v4, "muteItemDescription"
const-string v5, "getMuteItemDescription()Landroid/widget/TextView;"
2020-02-20 19:33:18 +00:00
invoke-direct {v2, v3, v4, v5}, Lw/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
2019-11-21 23:22:50 +00:00
2020-02-20 19:33:18 +00:00
sget-object v3, Lw/u/b/w;->a:Lw/u/b/x;
2019-11-21 23:22:50 +00:00
2020-02-20 19:33:18 +00:00
invoke-virtual {v3, v2}, Lw/u/b/x;->property1(Lw/u/b/t;)Lw/y/d;
2019-11-21 23:22:50 +00:00
2019-12-06 03:29:40 +00:00
aput-object v2, v0, v1
2019-11-21 23:22:50 +00:00
2019-12-06 03:29:40 +00:00
sput-object v0, Lcom/discord/widgets/servers/NotificationMuteSettingsView;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
2019-11-21 23:22:50 +00:00
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
.locals 1
2019-12-06 03:29:40 +00:00
const/4 v0, 0x0
2019-11-21 23:22:50 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_1
2019-11-21 23:22:50 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p2, :cond_0
2019-11-21 23:22:50 +00:00
invoke-direct {p0, p1, p2}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
2020-03-01 08:10:35 +00:00
const p2, 0x7f0a0540
2019-11-21 23:22:50 +00:00
2020-02-20 19:33:18 +00:00
invoke-static {p0, p2}, Lx/a/a2/w;->a(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
2019-11-21 23:22:50 +00:00
move-result-object p2
iput-object p2, p0, Lcom/discord/widgets/servers/NotificationMuteSettingsView;->muteItem$delegate:Lkotlin/properties/ReadOnlyProperty;
2020-03-01 08:10:35 +00:00
const p2, 0x7f0a0542
2019-11-21 23:22:50 +00:00
2020-02-20 19:33:18 +00:00
invoke-static {p0, p2}, Lx/a/a2/w;->a(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
2019-11-21 23:22:50 +00:00
move-result-object p2
iput-object p2, p0, Lcom/discord/widgets/servers/NotificationMuteSettingsView;->muteItemStatus$delegate:Lkotlin/properties/ReadOnlyProperty;
2020-03-01 08:10:35 +00:00
const p2, 0x7f0a0541
2019-11-21 23:22:50 +00:00
2020-02-20 19:33:18 +00:00
invoke-static {p0, p2}, Lx/a/a2/w;->a(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
2019-11-21 23:22:50 +00:00
move-result-object p2
iput-object p2, p0, Lcom/discord/widgets/servers/NotificationMuteSettingsView;->muteItemDescription$delegate:Lkotlin/properties/ReadOnlyProperty;
2020-02-24 20:20:24 +00:00
const p2, 0x7f0d0071
2019-11-21 23:22:50 +00:00
2019-12-06 03:29:40 +00:00
invoke-static {p1, p2, p0}, Landroid/widget/LinearLayout;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;
2019-11-21 23:22:50 +00:00
2019-12-06 03:29:40 +00:00
return-void
2019-11-21 23:22:50 +00:00
2019-12-06 03:29:40 +00:00
:cond_0
const-string p1, "attrs"
2019-11-21 23:22:50 +00:00
2020-02-20 19:33:18 +00:00
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
:cond_1
const-string p1, "context"
2020-02-20 19:33:18 +00:00
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
2019-11-21 23:22:50 +00:00
.end method
.method private final getMuteItem()Lcom/discord/app/AppTextView;
.locals 3
iget-object v0, p0, Lcom/discord/widgets/servers/NotificationMuteSettingsView;->muteItem$delegate:Lkotlin/properties/ReadOnlyProperty;
sget-object v1, Lcom/discord/widgets/servers/NotificationMuteSettingsView;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
2019-12-12 08:58:10 +00:00
const/4 v2, 0x0
2019-11-21 23:22:50 +00:00
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/discord/app/AppTextView;
return-object v0
.end method
.method private final getMuteItemDescription()Landroid/widget/TextView;
.locals 3
iget-object v0, p0, Lcom/discord/widgets/servers/NotificationMuteSettingsView;->muteItemDescription$delegate:Lkotlin/properties/ReadOnlyProperty;
sget-object v1, Lcom/discord/widgets/servers/NotificationMuteSettingsView;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
2019-12-12 08:58:10 +00:00
const/4 v2, 0x2
2019-11-21 23:22:50 +00:00
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, Landroid/widget/TextView;
return-object v0
.end method
.method private final getMuteItemStatus()Landroid/widget/TextView;
.locals 3
iget-object v0, p0, Lcom/discord/widgets/servers/NotificationMuteSettingsView;->muteItemStatus$delegate:Lkotlin/properties/ReadOnlyProperty;
sget-object v1, Lcom/discord/widgets/servers/NotificationMuteSettingsView;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
2019-12-12 08:58:10 +00:00
const/4 v2, 0x1
2019-11-21 23:22:50 +00:00
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, Landroid/widget/TextView;
return-object v0
.end method
# virtual methods
2019-12-12 08:58:10 +00:00
.method public final updateView(Lcom/discord/widgets/servers/NotificationMuteSettingsView$ViewState;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function0;)V
2020-03-01 08:10:35 +00:00
.locals 12
2019-11-21 23:22:50 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/discord/widgets/servers/NotificationMuteSettingsView$ViewState;",
"Lkotlin/jvm/functions/Function0<",
"Lkotlin/Unit;",
">;",
"Lkotlin/jvm/functions/Function0<",
"Lkotlin/Unit;",
">;)V"
}
.end annotation
2020-03-01 08:10:35 +00:00
const/4 v0, 0x0
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
if-eqz p1, :cond_8
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
if-eqz p2, :cond_7
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
if-eqz p3, :cond_6
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
invoke-virtual {p1}, Lcom/discord/widgets/servers/NotificationMuteSettingsView$ViewState;->getRawMuteText()Ljava/lang/String;
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
move-result-object v0
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
invoke-virtual {p1}, Lcom/discord/widgets/servers/NotificationMuteSettingsView$ViewState;->isMuted()Z
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
move-result v1
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
invoke-virtual {p1}, Lcom/discord/widgets/servers/NotificationMuteSettingsView$ViewState;->getMuteEndTime()Ljava/lang/String;
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
move-result-object v3
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
invoke-virtual {p1}, Lcom/discord/widgets/servers/NotificationMuteSettingsView$ViewState;->getMuteDescriptionText()Ljava/lang/String;
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
move-result-object v10
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
if-eqz v1, :cond_0
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
invoke-virtual {p1}, Lcom/discord/widgets/servers/NotificationMuteSettingsView$ViewState;->getRawUnmuteText()Ljava/lang/String;
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
move-result-object v0
2019-11-21 23:22:50 +00:00
:cond_0
2019-12-12 08:58:10 +00:00
invoke-direct {p0}, Lcom/discord/widgets/servers/NotificationMuteSettingsView;->getMuteItem()Lcom/discord/app/AppTextView;
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
move-result-object v2
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
const/4 v11, 0x0
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
new-array v4, v11, [Ljava/lang/Object;
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
invoke-virtual {v2, v0, v4}, Lcom/discord/app/AppTextView;->a(Ljava/lang/String;[Ljava/lang/Object;)V
2019-11-21 23:22:50 +00:00
2019-12-12 08:58:10 +00:00
invoke-direct {p0}, Lcom/discord/widgets/servers/NotificationMuteSettingsView;->getMuteItem()Lcom/discord/app/AppTextView;
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
move-result-object v0
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
new-instance v2, Lcom/discord/widgets/servers/NotificationMuteSettingsView$updateView$1;
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
invoke-direct {v2, v1, p3, p2}, Lcom/discord/widgets/servers/NotificationMuteSettingsView$updateView$1;-><init>(ZLkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function0;)V
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
invoke-virtual {v0, v2}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
const/4 p2, 0x1
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
const-string p3, "context"
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
if-eqz v1, :cond_2
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
if-eqz v3, :cond_1
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
sget-object v2, Lcom/discord/utilities/time/TimeUtils;->INSTANCE:Lcom/discord/utilities/time/TimeUtils;
2019-11-21 23:22:50 +00:00
2019-12-12 08:58:10 +00:00
invoke-virtual {p0}, Landroid/widget/LinearLayout;->getContext()Landroid/content/Context;
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
move-result-object v4
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
invoke-static {v4, p3}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
const/4 v5, 0x0
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
const/4 v6, 0x2
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
const/4 v7, 0x3
2019-11-23 00:16:54 +00:00
2020-03-01 08:10:35 +00:00
const/4 v8, 0x4
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
const/4 v9, 0x0
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
invoke-static/range {v2 .. v9}, Lcom/discord/utilities/time/TimeUtils;->renderUtcDateTime$default(Lcom/discord/utilities/time/TimeUtils;Ljava/lang/String;Landroid/content/Context;Ljava/lang/String;IIILjava/lang/Object;)Ljava/lang/String;
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
move-result-object v0
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
invoke-virtual {p1}, Lcom/discord/widgets/servers/NotificationMuteSettingsView$ViewState;->getRawMutedUntilStatusResId()I
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
move-result p1
2019-11-23 00:16:54 +00:00
2020-03-01 08:10:35 +00:00
new-array v2, p2, [Ljava/lang/Object;
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
aput-object v0, v2, v11
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
invoke-static {p0, p1, v2}, Lcom/discord/utilities/view/extensions/ViewExtensions;->getString(Landroid/view/View;I[Ljava/lang/Object;)Ljava/lang/String;
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
move-result-object p1
2019-11-21 23:22:50 +00:00
2019-12-12 08:58:10 +00:00
goto :goto_0
2019-11-21 23:22:50 +00:00
:cond_1
2020-03-01 08:10:35 +00:00
invoke-virtual {p1}, Lcom/discord/widgets/servers/NotificationMuteSettingsView$ViewState;->getRawMutedStatusText()Ljava/lang/String;
2019-12-06 03:29:40 +00:00
2020-03-01 08:10:35 +00:00
move-result-object p1
2019-11-21 23:22:50 +00:00
2019-12-12 08:58:10 +00:00
goto :goto_0
2019-11-21 23:22:50 +00:00
:cond_2
2020-03-01 08:10:35 +00:00
const-string p1, ""
2019-11-21 23:22:50 +00:00
2019-12-12 08:58:10 +00:00
:goto_0
2020-03-01 08:10:35 +00:00
move-object v4, p1
2020-01-02 21:43:52 +00:00
2019-12-12 08:58:10 +00:00
invoke-direct {p0}, Lcom/discord/widgets/servers/NotificationMuteSettingsView;->getMuteItemStatus()Landroid/widget/TextView;
2019-12-06 03:29:40 +00:00
2020-03-01 08:10:35 +00:00
move-result-object p1
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
sget-object v2, Lcom/discord/utilities/textprocessing/Parsers;->INSTANCE:Lcom/discord/utilities/textprocessing/Parsers;
2019-11-21 23:22:50 +00:00
2019-12-12 08:58:10 +00:00
invoke-virtual {p0}, Landroid/widget/LinearLayout;->getContext()Landroid/content/Context;
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
move-result-object v3
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
invoke-static {v3, p3}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-11-21 23:22:50 +00:00
2019-12-12 08:58:10 +00:00
invoke-virtual {p0}, Landroid/widget/LinearLayout;->getContext()Landroid/content/Context;
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
move-result-object p3
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
const v0, 0x7f060050
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
invoke-static {p3, v0}, Lcom/discord/utilities/color/ColorCompat;->getColor(Landroid/content/Context;I)I
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
move-result p3
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
invoke-static {p3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
move-result-object v5
2020-01-02 21:43:52 +00:00
2020-03-01 08:10:35 +00:00
const/4 v6, 0x0
2020-01-02 21:43:52 +00:00
2020-03-01 08:10:35 +00:00
const/16 v7, 0x8
2020-01-02 21:43:52 +00:00
2020-03-01 08:10:35 +00:00
const/4 v8, 0x0
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
invoke-static/range {v2 .. v8}, Lcom/discord/utilities/textprocessing/Parsers;->parseMarkdown$default(Lcom/discord/utilities/textprocessing/Parsers;Landroid/content/Context;Ljava/lang/CharSequence;Ljava/lang/Integer;Ljava/lang/Integer;ILjava/lang/Object;)Ljava/lang/CharSequence;
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
move-result-object p3
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
invoke-virtual {p1, p3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
2019-11-21 23:22:50 +00:00
2019-12-12 08:58:10 +00:00
invoke-direct {p0}, Lcom/discord/widgets/servers/NotificationMuteSettingsView;->getMuteItemStatus()Landroid/widget/TextView;
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
move-result-object p1
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
const/16 p3, 0x8
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
if-eqz v1, :cond_3
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
const/4 v0, 0x0
2019-11-21 23:22:50 +00:00
2019-12-12 08:58:10 +00:00
goto :goto_1
2019-11-21 23:22:50 +00:00
2019-12-12 08:58:10 +00:00
:cond_3
2020-03-01 08:10:35 +00:00
const/16 v0, 0x8
2019-11-21 23:22:50 +00:00
2019-12-12 08:58:10 +00:00
:goto_1
2020-03-01 08:10:35 +00:00
invoke-virtual {p1, v0}, Landroid/view/View;->setVisibility(I)V
2019-11-21 23:22:50 +00:00
2019-12-12 08:58:10 +00:00
invoke-direct {p0}, Lcom/discord/widgets/servers/NotificationMuteSettingsView;->getMuteItemDescription()Landroid/widget/TextView;
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
move-result-object p1
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
if-eqz v10, :cond_4
2019-11-21 23:22:50 +00:00
2020-03-01 08:10:35 +00:00
goto :goto_2
2019-12-06 03:29:40 +00:00
:cond_4
2020-03-01 08:10:35 +00:00
const/4 p2, 0x0
2019-12-06 03:29:40 +00:00
2020-03-01 08:10:35 +00:00
:goto_2
if-eqz p2, :cond_5
2019-12-06 03:29:40 +00:00
2020-03-01 08:10:35 +00:00
const/4 p3, 0x0
2019-12-06 03:29:40 +00:00
:cond_5
2020-03-01 08:10:35 +00:00
invoke-virtual {p1, p3}, Landroid/view/View;->setVisibility(I)V
invoke-direct {p0}, Lcom/discord/widgets/servers/NotificationMuteSettingsView;->getMuteItemDescription()Landroid/widget/TextView;
2019-12-06 03:29:40 +00:00
2020-03-01 08:10:35 +00:00
move-result-object p1
2019-12-06 03:29:40 +00:00
2020-03-01 08:10:35 +00:00
invoke-virtual {p1, v10}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
2019-12-06 03:29:40 +00:00
2020-03-01 08:10:35 +00:00
return-void
2019-12-06 03:29:40 +00:00
:cond_6
2020-03-01 08:10:35 +00:00
const-string p1, "onUnmute"
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
throw v0
:cond_7
const-string p1, "onMute"
2019-12-06 03:29:40 +00:00
2020-03-01 08:10:35 +00:00
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
throw v0
2019-12-06 03:29:40 +00:00
2020-03-01 08:10:35 +00:00
:cond_8
const-string p1, "viewState"
2019-12-06 03:29:40 +00:00
2020-03-01 08:10:35 +00:00
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
throw v0
2019-11-21 23:22:50 +00:00
.end method