2019-11-21 23:22:50 +00:00
|
|
|
.class public final Lcom/discord/widgets/settings/WidgetMuteSettingsSheet;
|
|
|
|
.super Lcom/discord/app/AppBottomSheet;
|
|
|
|
.source "WidgetMuteSettingsSheet.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
|
|
value = {
|
|
|
|
Lcom/discord/widgets/settings/WidgetMuteSettingsSheet$Companion;
|
|
|
|
}
|
|
|
|
.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
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public static final ARG_CHANNEL_ID:Ljava/lang/String; = "ARG_CHANNEL_ID"
|
2019-11-21 23:22:50 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public static final ARG_GUILD_ID:Ljava/lang/String; = "ARG_GUILD_ID"
|
2019-11-21 23:22:50 +00:00
|
|
|
|
|
|
|
.field public static final Companion:Lcom/discord/widgets/settings/WidgetMuteSettingsSheet$Companion;
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final optionAlways$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-11-21 23:22:50 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final optionEightHours$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-11-21 23:22:50 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final optionFifteenMinutes$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-11-21 23:22:50 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final optionOneHour$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-11-21 23:22:50 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final optionTwentyFourHours$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-11-21 23:22:50 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final subtitle$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-11-21 23:22:50 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final title$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-11-21 23:22:50 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public viewModel:Lcom/discord/widgets/settings/MuteSettingsSheetViewModel;
|
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-06 03:29:40 +00:00
|
|
|
const/4 v0, 0x7
|
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/settings/WidgetMuteSettingsSheet;
|
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-06 03:29:40 +00:00
|
|
|
const-string v3, "title"
|
2019-11-21 23:22:50 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const-string v4, "getTitle()Landroid/widget/TextView;"
|
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
|
|
|
|
|
|
|
|
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/settings/WidgetMuteSettingsSheet;
|
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, "subtitle"
|
|
|
|
|
|
|
|
const-string v5, "getSubtitle()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
|
|
|
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/settings/WidgetMuteSettingsSheet;
|
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, "optionFifteenMinutes"
|
|
|
|
|
|
|
|
const-string v5, "getOptionFifteenMinutes()Landroid/view/View;"
|
|
|
|
|
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
|
|
|
const/4 v1, 0x3
|
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/settings/WidgetMuteSettingsSheet;
|
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, "optionOneHour"
|
|
|
|
|
|
|
|
const-string v5, "getOptionOneHour()Landroid/view/View;"
|
|
|
|
|
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
|
|
|
const/4 v1, 0x4
|
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/settings/WidgetMuteSettingsSheet;
|
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, "optionEightHours"
|
|
|
|
|
|
|
|
const-string v5, "getOptionEightHours()Landroid/view/View;"
|
|
|
|
|
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
|
|
|
const/4 v1, 0x5
|
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/settings/WidgetMuteSettingsSheet;
|
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, "optionTwentyFourHours"
|
|
|
|
|
|
|
|
const-string v5, "getOptionTwentyFourHours()Landroid/view/View;"
|
|
|
|
|
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
|
|
|
const/4 v1, 0x6
|
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/settings/WidgetMuteSettingsSheet;
|
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
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result-object v3
|
2019-11-21 23:22:50 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const-string v4, "optionAlways"
|
2019-11-21 23:22:50 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const-string v5, "getOptionAlways()Landroid/view/View;"
|
2019-11-21 23:22:50 +00:00
|
|
|
|
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/settings/WidgetMuteSettingsSheet;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
2019-11-21 23:22:50 +00:00
|
|
|
|
|
|
|
new-instance v0, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet$Companion;
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
|
|
|
|
sput-object v0, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet;->Companion:Lcom/discord/widgets/settings/WidgetMuteSettingsSheet$Companion;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public constructor <init>()V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/app/AppBottomSheet;-><init>()V
|
|
|
|
|
2020-03-01 21:12:02 +00:00
|
|
|
const v0, 0x7f0a0514
|
2019-11-21 23:22:50 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-static {p0, v0}, Lx/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
|
2019-11-21 23:22:50 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet;->title$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
2020-03-01 21:12:02 +00:00
|
|
|
const v0, 0x7f0a0513
|
2019-11-21 23:22:50 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-static {p0, v0}, Lx/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
|
2019-11-21 23:22:50 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet;->subtitle$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
2020-03-01 21:12:02 +00:00
|
|
|
const v0, 0x7f0a0510
|
2019-11-21 23:22:50 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-static {p0, v0}, Lx/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
|
2019-11-21 23:22:50 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet;->optionFifteenMinutes$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
2020-03-01 21:12:02 +00:00
|
|
|
const v0, 0x7f0a0511
|
2019-11-21 23:22:50 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-static {p0, v0}, Lx/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
|
2019-11-21 23:22:50 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet;->optionOneHour$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
2020-03-01 21:12:02 +00:00
|
|
|
const v0, 0x7f0a050f
|
2019-11-21 23:22:50 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-static {p0, v0}, Lx/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
|
2019-11-21 23:22:50 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet;->optionEightHours$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
2020-03-01 21:12:02 +00:00
|
|
|
const v0, 0x7f0a0512
|
2019-11-21 23:22:50 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-static {p0, v0}, Lx/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
|
2019-11-21 23:22:50 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet;->optionTwentyFourHours$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
2020-03-01 21:12:02 +00:00
|
|
|
const v0, 0x7f0a050e
|
2019-11-21 23:22:50 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-static {p0, v0}, Lx/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
|
2019-11-21 23:22:50 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet;->optionAlways$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final synthetic access$getViewModel$p(Lcom/discord/widgets/settings/WidgetMuteSettingsSheet;)Lcom/discord/widgets/settings/MuteSettingsSheetViewModel;
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 0
|
2019-11-21 23:22:50 +00:00
|
|
|
|
|
|
|
iget-object p0, p0, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet;->viewModel:Lcom/discord/widgets/settings/MuteSettingsSheetViewModel;
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_0
|
2019-11-21 23:22:50 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
return-object p0
|
2019-11-21 23:22:50 +00:00
|
|
|
|
|
|
|
:cond_0
|
2019-12-06 03:29:40 +00:00
|
|
|
const-string p0, "viewModel"
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-static {p0}, Lw/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
throw p0
|
2019-11-21 23:22:50 +00:00
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final synthetic access$handleEvent(Lcom/discord/widgets/settings/WidgetMuteSettingsSheet;Lcom/discord/widgets/settings/MuteSettingsSheetViewModel$Event;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0, p1}, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet;->handleEvent(Lcom/discord/widgets/settings/MuteSettingsSheetViewModel$Event;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final synthetic access$setViewModel$p(Lcom/discord/widgets/settings/WidgetMuteSettingsSheet;Lcom/discord/widgets/settings/MuteSettingsSheetViewModel;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet;->viewModel:Lcom/discord/widgets/settings/MuteSettingsSheetViewModel;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final synthetic access$updateViews(Lcom/discord/widgets/settings/WidgetMuteSettingsSheet;Lcom/discord/widgets/settings/MuteSettingsSheetViewModel$ViewState;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0, p1}, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet;->updateViews(Lcom/discord/widgets/settings/MuteSettingsSheetViewModel$ViewState;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final getOptionAlways()Landroid/view/View;
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet;->optionAlways$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
sget-object v1, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
|
|
|
|
const/4 v2, 0x6
|
|
|
|
|
|
|
|
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/view/View;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final getOptionEightHours()Landroid/view/View;
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet;->optionEightHours$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
sget-object v1, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
|
|
|
|
const/4 v2, 0x4
|
|
|
|
|
|
|
|
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/view/View;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final getOptionFifteenMinutes()Landroid/view/View;
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet;->optionFifteenMinutes$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
sget-object v1, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet;->$$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/view/View;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final getOptionOneHour()Landroid/view/View;
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet;->optionOneHour$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
sget-object v1, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet;->$$delegatedProperties:[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, Landroid/view/View;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final getOptionTwentyFourHours()Landroid/view/View;
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet;->optionTwentyFourHours$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
sget-object v1, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
|
|
|
|
const/4 v2, 0x5
|
|
|
|
|
|
|
|
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/view/View;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final getSubtitle()Landroid/widget/TextView;
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet;->subtitle$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
sget-object v1, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet;->$$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
|
|
|
|
|
|
|
|
.method private final getTitle()Landroid/widget/TextView;
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet;->title$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
sget-object v1, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet;->$$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, Landroid/widget/TextView;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final handleEvent(Lcom/discord/widgets/settings/MuteSettingsSheetViewModel$Event;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
instance-of p1, p1, Lcom/discord/widgets/settings/MuteSettingsSheetViewModel$Event$Dismiss;
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {p0}, Lcom/discord/app/AppBottomSheet;->dismiss()V
|
2019-11-21 23:22:50 +00:00
|
|
|
|
|
|
|
:cond_0
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final showForChannel(JLandroidx/fragment/app/FragmentManager;)V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
sget-object v0, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet;->Companion:Lcom/discord/widgets/settings/WidgetMuteSettingsSheet$Companion;
|
|
|
|
|
|
|
|
invoke-virtual {v0, p0, p1, p2}, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet$Companion;->showForChannel(JLandroidx/fragment/app/FragmentManager;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final updateViews(Lcom/discord/widgets/settings/MuteSettingsSheetViewModel$ViewState;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 3
|
2019-11-21 23:22:50 +00:00
|
|
|
|
|
|
|
instance-of v0, p1, Lcom/discord/widgets/settings/MuteSettingsSheetViewModel$ViewState$Loaded;
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v1, 0x4
|
|
|
|
|
2019-11-21 23:22:50 +00:00
|
|
|
if-eqz v0, :cond_5
|
|
|
|
|
|
|
|
check-cast p1, Lcom/discord/widgets/settings/MuteSettingsSheetViewModel$ViewState$Loaded;
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/settings/MuteSettingsSheetViewModel$ViewState$Loaded;->getSettingsType()Lcom/discord/widgets/settings/MuteSettingsSheetViewModel$SettingsType;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
sget-object v2, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet$WhenMappings;->$EnumSwitchMapping$0:[I
|
2019-11-21 23:22:50 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {v0}, Ljava/lang/Enum;->ordinal()I
|
2019-11-21 23:22:50 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
aget v0, v2, v0
|
2019-11-21 23:22:50 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v2, 0x1
|
2019-11-21 23:22:50 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eq v0, v2, :cond_3
|
2019-11-21 23:22:50 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v2, 0x2
|
2019-11-21 23:22:50 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eq v0, v2, :cond_2
|
2019-11-21 23:22:50 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v2, 0x3
|
2019-11-21 23:22:50 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eq v0, v2, :cond_2
|
2019-11-21 23:22:50 +00:00
|
|
|
|
|
|
|
if-eq v0, v1, :cond_1
|
|
|
|
|
|
|
|
const/4 v1, 0x5
|
|
|
|
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
2020-03-01 21:12:02 +00:00
|
|
|
const v0, 0x7f120ca1
|
2019-11-21 23:22:50 +00:00
|
|
|
|
|
|
|
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
2020-03-01 21:12:02 +00:00
|
|
|
const v0, 0x7f120ca2
|
2019-11-21 23:22:50 +00:00
|
|
|
|
|
|
|
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_2
|
2020-03-01 21:12:02 +00:00
|
|
|
const v0, 0x7f120ca4
|
2019-11-21 23:22:50 +00:00
|
|
|
|
|
|
|
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_3
|
2020-03-01 21:12:02 +00:00
|
|
|
const v0, 0x7f120ca3
|
2019-11-21 23:22:50 +00:00
|
|
|
|
|
|
|
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet;->getTitle()Landroid/widget/TextView;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {p0, v0}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
|
2019-11-21 23:22:50 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
const-string v0, ""
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet;->getSubtitle()Landroid/widget/TextView;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/settings/MuteSettingsSheetViewModel$ViewState$Loaded;->getSubtitle()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
goto :goto_2
|
2019-11-21 23:22:50 +00:00
|
|
|
|
|
|
|
:cond_5
|
|
|
|
instance-of p1, p1, Lcom/discord/widgets/settings/MuteSettingsSheetViewModel$ViewState$Failure;
|
|
|
|
|
|
|
|
if-eqz p1, :cond_6
|
|
|
|
|
2020-03-01 21:12:02 +00:00
|
|
|
const p1, 0x7f1204d6
|
2019-11-21 23:22:50 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v0, 0x0
|
2019-11-21 23:22:50 +00:00
|
|
|
|
2020-03-02 06:11:59 +00:00
|
|
|
invoke-static {p0, p1, v0, v1}, Le/a/b/k;->a(Landroidx/fragment/app/Fragment;III)V
|
2019-11-21 23:22:50 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {p0}, Lcom/discord/app/AppBottomSheet;->dismiss()V
|
2019-11-21 23:22:50 +00:00
|
|
|
|
|
|
|
:cond_6
|
2019-12-06 03:29:40 +00:00
|
|
|
:goto_2
|
2019-11-21 23:22:50 +00:00
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public bindSubscriptions(Lrx/subscriptions/CompositeSubscription;)V
|
|
|
|
.locals 11
|
2019-11-21 23:22:50 +00:00
|
|
|
|
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_2
|
2019-11-21 23:22:50 +00:00
|
|
|
|
|
|
|
invoke-super {p0, p1}, Lcom/discord/app/AppBottomSheet;->bindSubscriptions(Lrx/subscriptions/CompositeSubscription;)V
|
|
|
|
|
|
|
|
iget-object p1, p0, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet;->viewModel:Lcom/discord/widgets/settings/MuteSettingsSheetViewModel;
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const-string v1, "viewModel"
|
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
|
|
|
|
2020-03-02 06:11:59 +00:00
|
|
|
invoke-virtual {p1}, Le/a/b/c0;->observeViewState()Lrx/Observable;
|
2019-11-21 23:22:50 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-static {p1, p0}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->bindToComponentLifecycle(Lrx/Observable;Lcom/discord/app/AppComponent;)Lrx/Observable;
|
2019-11-21 23:22:50 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const-class v3, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet;
|
2019-11-21 23:22:50 +00:00
|
|
|
|
|
|
|
const/4 v4, 0x0
|
|
|
|
|
|
|
|
const/4 v5, 0x0
|
|
|
|
|
|
|
|
const/4 v6, 0x0
|
|
|
|
|
|
|
|
const/4 v7, 0x0
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
new-instance v8, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet$bindSubscriptions$1;
|
2019-11-21 23:22:50 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-direct {v8, p0}, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet$bindSubscriptions$1;-><init>(Lcom/discord/widgets/settings/WidgetMuteSettingsSheet;)V
|
2019-11-21 23:22:50 +00:00
|
|
|
|
|
|
|
const/16 v9, 0x1e
|
|
|
|
|
|
|
|
const/4 v10, 0x0
|
|
|
|
|
|
|
|
invoke-static/range {v2 .. v10}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Ljava/lang/Class;Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
|
|
|
|
|
|
|
|
iget-object p1, p0, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet;->viewModel:Lcom/discord/widgets/settings/MuteSettingsSheetViewModel;
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p1, :cond_0
|
2019-11-21 23:22:50 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/settings/MuteSettingsSheetViewModel;->observeEvents()Lrx/Observable;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-static {p1, p0}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->bindToComponentLifecycle(Lrx/Observable;Lcom/discord/app/AppComponent;)Lrx/Observable;
|
2019-11-21 23:22:50 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result-object v0
|
2019-11-21 23:22:50 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const-class v1, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet;
|
2019-11-21 23:22:50 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
const/4 v3, 0x0
|
2019-11-21 23:22:50 +00:00
|
|
|
|
|
|
|
const/4 v4, 0x0
|
|
|
|
|
|
|
|
const/4 v5, 0x0
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
new-instance v6, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet$bindSubscriptions$2;
|
2019-11-21 23:22:50 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-direct {v6, p0}, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet$bindSubscriptions$2;-><init>(Lcom/discord/widgets/settings/WidgetMuteSettingsSheet;)V
|
2019-11-21 23:22:50 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/16 v7, 0x1e
|
2019-11-21 23:22:50 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v8, 0x0
|
2019-11-21 23:22:50 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-static/range {v0 .. v8}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Ljava/lang/Class;Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
|
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
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-static {v1}, Lw/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2019-11-21 23:22:50 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw v0
|
2019-11-21 23:22:50 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_1
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-static {v1}, Lw/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2019-11-21 23:22:50 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const-string p1, "compositeSubscription"
|
|
|
|
|
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
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public getContentViewResId()I
|
2019-11-21 23:22:50 +00:00
|
|
|
.locals 1
|
|
|
|
|
2020-03-01 21:12:02 +00:00
|
|
|
const v0, 0x7f0d01c2
|
2019-11-21 23:22:50 +00:00
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public onCreate(Landroid/os/Bundle;)V
|
|
|
|
.locals 5
|
2019-11-21 23:22:50 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-super {p0, p1}, Landroidx/fragment/app/DialogFragment;->onCreate(Landroid/os/Bundle;)V
|
2019-11-21 23:22:50 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {p0}, Lcom/discord/app/AppBottomSheet;->getArgumentsOrDefault()Landroid/os/Bundle;
|
2019-11-21 23:22:50 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
const-wide/16 v0, 0x0
|
|
|
|
|
|
|
|
const-string v2, "ARG_GUILD_ID"
|
|
|
|
|
|
|
|
invoke-virtual {p1, v2, v0, v1}, Landroid/os/Bundle;->getLong(Ljava/lang/String;J)J
|
|
|
|
|
|
|
|
move-result-wide v2
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {p0}, Lcom/discord/app/AppBottomSheet;->getArgumentsOrDefault()Landroid/os/Bundle;
|
2019-11-21 23:22:50 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
const-string v4, "ARG_CHANNEL_ID"
|
|
|
|
|
|
|
|
invoke-virtual {p1, v4, v0, v1}, Landroid/os/Bundle;->getLong(Ljava/lang/String;J)J
|
|
|
|
|
|
|
|
move-result-wide v0
|
|
|
|
|
|
|
|
new-instance p1, Landroidx/lifecycle/ViewModelProvider;
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
new-instance v4, Lcom/discord/widgets/settings/MuteSettingsSheetViewModel$Factory;
|
2019-11-21 23:22:50 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-direct {v4, v2, v3, v0, v1}, Lcom/discord/widgets/settings/MuteSettingsSheetViewModel$Factory;-><init>(JJ)V
|
2019-11-21 23:22:50 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-direct {p1, p0, v4}, Landroidx/lifecycle/ViewModelProvider;-><init>(Landroidx/lifecycle/ViewModelStoreOwner;Landroidx/lifecycle/ViewModelProvider$Factory;)V
|
2019-11-21 23:22:50 +00:00
|
|
|
|
|
|
|
const-class v0, Lcom/discord/widgets/settings/MuteSettingsSheetViewModel;
|
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Landroidx/lifecycle/ViewModelProvider;->get(Ljava/lang/Class;)Landroidx/lifecycle/ViewModel;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
const-string v0, "ViewModelProvider(\n \u2026eetViewModel::class.java)"
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-static {p1, v0}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-11-21 23:22:50 +00:00
|
|
|
|
|
|
|
check-cast p1, Lcom/discord/widgets/settings/MuteSettingsSheetViewModel;
|
|
|
|
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet;->viewModel:Lcom/discord/widgets/settings/MuteSettingsSheetViewModel;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public onViewCreated(Landroid/view/View;Landroid/os/Bundle;)V
|
2019-11-21 23:22:50 +00:00
|
|
|
.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
|
|
|
|
|
|
|
invoke-super {p0, p1, p2}, Lcom/discord/app/AppBottomSheet;->onViewCreated(Landroid/view/View;Landroid/os/Bundle;)V
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {p0}, Lcom/discord/app/AppBottomSheet;->getAppActivity()Lcom/discord/app/AppActivity;
|
2019-11-21 23:22:50 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p1, :cond_0
|
2019-11-21 23:22:50 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {p1}, Lcom/discord/app/AppActivity;->b()Landroid/content/Context;
|
2019-11-21 23:22:50 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet;->getOptionFifteenMinutes()Landroid/view/View;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
new-instance v0, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet$onViewCreated$1;
|
|
|
|
|
|
|
|
invoke-direct {v0, p0, p1}, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet$onViewCreated$1;-><init>(Lcom/discord/widgets/settings/WidgetMuteSettingsSheet;Landroid/content/Context;)V
|
|
|
|
|
|
|
|
invoke-virtual {p2, v0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet;->getOptionOneHour()Landroid/view/View;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
new-instance v0, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet$onViewCreated$2;
|
|
|
|
|
|
|
|
invoke-direct {v0, p0, p1}, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet$onViewCreated$2;-><init>(Lcom/discord/widgets/settings/WidgetMuteSettingsSheet;Landroid/content/Context;)V
|
|
|
|
|
|
|
|
invoke-virtual {p2, v0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet;->getOptionEightHours()Landroid/view/View;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
new-instance v0, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet$onViewCreated$3;
|
|
|
|
|
|
|
|
invoke-direct {v0, p0, p1}, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet$onViewCreated$3;-><init>(Lcom/discord/widgets/settings/WidgetMuteSettingsSheet;Landroid/content/Context;)V
|
|
|
|
|
|
|
|
invoke-virtual {p2, v0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet;->getOptionTwentyFourHours()Landroid/view/View;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
new-instance v0, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet$onViewCreated$4;
|
|
|
|
|
|
|
|
invoke-direct {v0, p0, p1}, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet$onViewCreated$4;-><init>(Lcom/discord/widgets/settings/WidgetMuteSettingsSheet;Landroid/content/Context;)V
|
|
|
|
|
|
|
|
invoke-virtual {p2, v0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet;->getOptionAlways()Landroid/view/View;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
new-instance v0, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet$onViewCreated$5;
|
|
|
|
|
|
|
|
invoke-direct {v0, p0, p1}, Lcom/discord/widgets/settings/WidgetMuteSettingsSheet$onViewCreated$5;-><init>(Lcom/discord/widgets/settings/WidgetMuteSettingsSheet;Landroid/content/Context;)V
|
|
|
|
|
|
|
|
invoke-virtual {p2, v0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
|
|
|
|
return-void
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
:cond_0
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-static {}, Lw/u/b/j;->throwNpe()V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p1, "view"
|
|
|
|
|
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
|