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

467 lines
13 KiB
Smali
Raw Normal View History

2020-05-17 12:40:10 +00:00
.class public final Lcom/discord/widgets/servers/NotificationMuteSettingsView;
.super Landroid/widget/LinearLayout;
.source "NotificationMuteSettingsView.kt"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/discord/widgets/servers/NotificationMuteSettingsView$ViewState;
}
.end annotation
# static fields
.field public static final synthetic $$delegatedProperties:[Lkotlin/reflect/KProperty;
# instance fields
.field public final muteItem$delegate:Lkotlin/properties/ReadOnlyProperty;
.field public final muteItemDescription$delegate:Lkotlin/properties/ReadOnlyProperty;
.field public final muteItemStatus$delegate:Lkotlin/properties/ReadOnlyProperty;
# direct methods
.method public static constructor <clinit>()V
2020-07-08 16:44:49 +00:00
.locals 5
2020-05-17 12:40:10 +00:00
const/4 v0, 0x3
new-array v0, v0, [Lkotlin/reflect/KProperty;
2020-07-25 00:57:58 +00:00
new-instance v1, Lj0/n/c/q;
2020-05-17 12:40:10 +00:00
const-class v2, Lcom/discord/widgets/servers/NotificationMuteSettingsView;
2020-07-25 00:57:58 +00:00
invoke-static {v2}, Lj0/n/c/s;->getOrCreateKotlinClass(Ljava/lang/Class;)Lj0/r/b;
2020-05-17 12:40:10 +00:00
move-result-object v2
const-string v3, "muteItem"
const-string v4, "getMuteItem()Lcom/discord/app/AppTextView;"
2020-07-25 00:57:58 +00:00
invoke-direct {v1, v2, v3, v4}, Lj0/n/c/q;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-static {v1}, Lj0/n/c/s;->property1(Lj0/n/c/p;)Lj0/r/d;
2020-05-17 12:40:10 +00:00
const/4 v2, 0x0
aput-object v1, v0, v2
2020-07-25 00:57:58 +00:00
new-instance v1, Lj0/n/c/q;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const-class v2, Lcom/discord/widgets/servers/NotificationMuteSettingsView;
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-static {v2}, Lj0/n/c/s;->getOrCreateKotlinClass(Ljava/lang/Class;)Lj0/r/b;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-result-object v2
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const-string v3, "muteItemStatus"
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const-string v4, "getMuteItemStatus()Landroid/widget/TextView;"
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-direct {v1, v2, v3, v4}, Lj0/n/c/q;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-static {v1}, Lj0/n/c/s;->property1(Lj0/n/c/p;)Lj0/r/d;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const/4 v2, 0x1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
aput-object v1, v0, v2
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
new-instance v1, Lj0/n/c/q;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const-class v2, Lcom/discord/widgets/servers/NotificationMuteSettingsView;
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-static {v2}, Lj0/n/c/s;->getOrCreateKotlinClass(Ljava/lang/Class;)Lj0/r/b;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-result-object v2
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const-string v3, "muteItemDescription"
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const-string v4, "getMuteItemDescription()Landroid/widget/TextView;"
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-direct {v1, v2, v3, v4}, Lj0/n/c/q;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-static {v1}, Lj0/n/c/s;->property1(Lj0/n/c/p;)Lj0/r/d;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const/4 v2, 0x2
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
aput-object v1, v0, v2
2020-05-17 12:40:10 +00:00
sput-object v0, Lcom/discord/widgets/servers/NotificationMuteSettingsView;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
.locals 1
const/4 v0, 0x0
if-eqz p1, :cond_1
if-eqz p2, :cond_0
invoke-direct {p0, p1, p2}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
2020-08-24 20:40:41 +00:00
const p2, 0x7f0a0633
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
invoke-static {p0, p2}, Lf/n/a/k/a;->h(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
2020-05-17 12:40:10 +00:00
move-result-object p2
iput-object p2, p0, Lcom/discord/widgets/servers/NotificationMuteSettingsView;->muteItem$delegate:Lkotlin/properties/ReadOnlyProperty;
2020-08-24 20:40:41 +00:00
const p2, 0x7f0a0635
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
invoke-static {p0, p2}, Lf/n/a/k/a;->h(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
2020-05-17 12:40:10 +00:00
move-result-object p2
iput-object p2, p0, Lcom/discord/widgets/servers/NotificationMuteSettingsView;->muteItemStatus$delegate:Lkotlin/properties/ReadOnlyProperty;
2020-08-24 20:40:41 +00:00
const p2, 0x7f0a0634
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
invoke-static {p0, p2}, Lf/n/a/k/a;->h(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
2020-05-17 12:40:10 +00:00
move-result-object p2
iput-object p2, p0, Lcom/discord/widgets/servers/NotificationMuteSettingsView;->muteItemDescription$delegate:Lkotlin/properties/ReadOnlyProperty;
2020-07-25 00:57:58 +00:00
const p2, 0x7f0d0098
2020-05-17 12:40:10 +00:00
invoke-static {p1, p2, p0}, Landroid/widget/LinearLayout;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;
return-void
:cond_0
const-string p1, "attrs"
2020-07-25 00:57:58 +00:00
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
2020-05-17 12:40:10 +00:00
throw v0
:cond_1
const-string p1, "context"
2020-07-25 00:57:58 +00:00
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
2020-05-17 12:40:10 +00:00
throw v0
.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;
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/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;
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, 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;
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, Landroid/widget/TextView;
return-object v0
.end method
# virtual methods
.method public final updateView(Lcom/discord/widgets/servers/NotificationMuteSettingsView$ViewState;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function0;)V
2020-07-23 01:06:17 +00:00
.locals 23
2020-05-17 12:40:10 +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-07-23 01:06:17 +00:00
move-object/from16 v0, p2
move-object/from16 v1, p3
const/4 v2, 0x0
2020-05-17 12:40:10 +00:00
if-eqz p1, :cond_8
2020-07-23 01:06:17 +00:00
if-eqz v0, :cond_7
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
if-eqz v1, :cond_6
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-virtual/range {p1 .. p1}, Lcom/discord/widgets/servers/NotificationMuteSettingsView$ViewState;->getRawMuteText()Ljava/lang/String;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
move-result-object v2
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-virtual/range {p1 .. p1}, Lcom/discord/widgets/servers/NotificationMuteSettingsView$ViewState;->isMuted()Z
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
move-result v3
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-virtual/range {p1 .. p1}, Lcom/discord/widgets/servers/NotificationMuteSettingsView$ViewState;->getMuteEndTime()Ljava/lang/String;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
move-result-object v5
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-virtual/range {p1 .. p1}, Lcom/discord/widgets/servers/NotificationMuteSettingsView$ViewState;->getMuteDescriptionText()Ljava/lang/String;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
move-result-object v12
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
if-eqz v3, :cond_0
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-virtual/range {p1 .. p1}, Lcom/discord/widgets/servers/NotificationMuteSettingsView$ViewState;->getRawUnmuteText()Ljava/lang/String;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
move-result-object v2
2020-05-17 12:40:10 +00:00
:cond_0
2020-07-23 01:06:17 +00:00
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/servers/NotificationMuteSettingsView;->getMuteItem()Lcom/discord/app/AppTextView;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
move-result-object v4
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
const/4 v13, 0x0
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
new-array v6, v13, [Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-virtual {v4, v2, v6}, Lcom/discord/app/AppTextView;->b(Ljava/lang/String;[Ljava/lang/Object;)V
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/servers/NotificationMuteSettingsView;->getMuteItem()Lcom/discord/app/AppTextView;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
move-result-object v2
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
new-instance v4, Lcom/discord/widgets/servers/NotificationMuteSettingsView$updateView$1;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-direct {v4, v3, v1, v0}, Lcom/discord/widgets/servers/NotificationMuteSettingsView$updateView$1;-><init>(ZLkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function0;)V
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-virtual {v2, v4}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
const/4 v0, 0x1
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
const-string v1, "context"
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
if-eqz v3, :cond_2
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
if-eqz v5, :cond_1
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
sget-object v4, Lcom/discord/utilities/time/TimeUtils;->INSTANCE:Lcom/discord/utilities/time/TimeUtils;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-virtual/range {p0 .. p0}, Landroid/widget/LinearLayout;->getContext()Landroid/content/Context;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
move-result-object v6
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-static {v6, v1}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
const/4 v7, 0x0
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
const/4 v8, 0x2
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
const/4 v9, 0x3
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
const/4 v10, 0x4
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
const/4 v11, 0x0
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-static/range {v4 .. v11}, 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;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
move-result-object v2
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-virtual/range {p1 .. p1}, Lcom/discord/widgets/servers/NotificationMuteSettingsView$ViewState;->getRawMutedUntilStatusResId()I
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
move-result v4
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
new-array v5, v0, [Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
aput-object v2, v5, v13
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
move-object/from16 v6, p0
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-static {v6, v4, v5}, Lcom/discord/utilities/view/extensions/ViewExtensions;->getString(Landroid/view/View;I[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v2
2020-05-17 12:40:10 +00:00
goto :goto_0
:cond_1
2020-07-23 01:06:17 +00:00
move-object/from16 v6, p0
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-virtual/range {p1 .. p1}, Lcom/discord/widgets/servers/NotificationMuteSettingsView$ViewState;->getRawMutedStatusText()Ljava/lang/String;
move-result-object v2
2020-05-17 12:40:10 +00:00
goto :goto_0
:cond_2
2020-07-23 01:06:17 +00:00
move-object/from16 v6, p0
const-string v2, ""
2020-05-17 12:40:10 +00:00
:goto_0
2020-07-23 01:06:17 +00:00
move-object/from16 v16, v2
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/servers/NotificationMuteSettingsView;->getMuteItemStatus()Landroid/widget/TextView;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
move-result-object v2
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
sget-object v14, Lcom/discord/utilities/textprocessing/Parsers;->INSTANCE:Lcom/discord/utilities/textprocessing/Parsers;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-virtual/range {p0 .. p0}, Landroid/widget/LinearLayout;->getContext()Landroid/content/Context;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
move-result-object v15
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-static {v15, v1}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-virtual/range {p0 .. p0}, Landroid/widget/LinearLayout;->getContext()Landroid/content/Context;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
move-result-object v1
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
const v4, 0x7f060052
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-static {v1, v4}, Lcom/discord/utilities/color/ColorCompat;->getColor(Landroid/content/Context;I)I
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
move-result v1
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
move-result-object v17
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
const/16 v18, 0x0
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
const/16 v19, 0x0
2020-07-08 16:44:49 +00:00
2020-07-23 01:06:17 +00:00
const/16 v20, 0x0
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
const/16 v21, 0x38
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
const/16 v22, 0x0
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-static/range {v14 .. v22}, Lcom/discord/utilities/textprocessing/Parsers;->parseMarkdown$default(Lcom/discord/utilities/textprocessing/Parsers;Landroid/content/Context;Ljava/lang/CharSequence;Ljava/lang/Integer;Ljava/lang/Integer;ZLkotlin/jvm/functions/Function3;ILjava/lang/Object;)Ljava/lang/CharSequence;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
move-result-object v1
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-virtual {v2, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/servers/NotificationMuteSettingsView;->getMuteItemStatus()Landroid/widget/TextView;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
move-result-object v1
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
const/16 v2, 0x8
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
if-eqz v3, :cond_3
const/4 v3, 0x0
2020-05-17 12:40:10 +00:00
goto :goto_1
:cond_3
2020-07-23 01:06:17 +00:00
const/16 v3, 0x8
2020-05-17 12:40:10 +00:00
:goto_1
2020-07-23 01:06:17 +00:00
invoke-virtual {v1, v3}, Landroid/view/View;->setVisibility(I)V
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/servers/NotificationMuteSettingsView;->getMuteItemDescription()Landroid/widget/TextView;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
move-result-object v1
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
if-eqz v12, :cond_4
2020-05-17 12:40:10 +00:00
goto :goto_2
:cond_4
2020-07-23 01:06:17 +00:00
const/4 v0, 0x0
2020-05-17 12:40:10 +00:00
:goto_2
2020-07-23 01:06:17 +00:00
if-eqz v0, :cond_5
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
goto :goto_3
2020-05-17 12:40:10 +00:00
:cond_5
2020-07-23 01:06:17 +00:00
const/16 v13, 0x8
2020-07-08 16:44:49 +00:00
:goto_3
2020-07-23 01:06:17 +00:00
invoke-virtual {v1, v13}, Landroid/view/View;->setVisibility(I)V
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/servers/NotificationMuteSettingsView;->getMuteItemDescription()Landroid/widget/TextView;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
move-result-object v0
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-virtual {v0, v12}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
2020-05-17 12:40:10 +00:00
return-void
:cond_6
2020-07-23 01:06:17 +00:00
move-object/from16 v6, p0
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
const-string v0, "onUnmute"
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-static {v0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
2020-07-23 01:06:17 +00:00
throw v2
2020-05-17 12:40:10 +00:00
:cond_7
2020-07-23 01:06:17 +00:00
move-object/from16 v6, p0
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
const-string v0, "onMute"
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-static {v0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
2020-07-23 01:06:17 +00:00
throw v2
2020-05-17 12:40:10 +00:00
:cond_8
2020-07-23 01:06:17 +00:00
move-object/from16 v6, p0
2020-05-17 12:40:10 +00:00
2020-08-20 22:29:33 +00:00
const-string v0, "viewState"
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-static {v0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
2020-07-23 01:06:17 +00:00
throw v2
2020-05-17 12:40:10 +00:00
.end method