2019-07-26 02:05:13 +00:00
|
|
|
.class public final Lcom/discord/widgets/notice/WidgetNoticeNuxOverlay;
|
|
|
|
.super Lcom/discord/app/AppDialog;
|
|
|
|
.source "WidgetNoticeNuxOverlay.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
|
|
value = {
|
|
|
|
Lcom/discord/widgets/notice/WidgetNoticeNuxOverlay$Companion;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# static fields
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public static final synthetic $$delegatedProperties:[Lkotlin/reflect/KProperty;
|
2019-07-26 02:05:13 +00:00
|
|
|
|
|
|
|
.field public static final Companion:Lcom/discord/widgets/notice/WidgetNoticeNuxOverlay$Companion;
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public static final NOTICE_NAME:Ljava/lang/String; = "NUX/Overlay"
|
2019-07-26 02:05:13 +00:00
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final cancel$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-26 02:05:13 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final ok$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-26 02:05:13 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public static constructor <clinit>()V
|
2019-08-30 20:04:20 +00:00
|
|
|
.locals 6
|
2019-07-26 02:05:13 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v0, 0x2
|
2019-07-26 02:05:13 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
new-array v0, v0, [Lkotlin/reflect/KProperty;
|
2019-07-26 02:05:13 +00:00
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
new-instance v1, Ly/u/b/u;
|
2019-07-26 02:05:13 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const-class v2, Lcom/discord/widgets/notice/WidgetNoticeNuxOverlay;
|
2019-07-26 02:05:13 +00:00
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {v2}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
|
2019-07-26 02:05:13 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result-object v2
|
2019-07-26 02:05:13 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const-string v3, "ok"
|
2019-07-26 02:05:13 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const-string v4, "getOk()Landroid/widget/TextView;"
|
2019-07-26 02:05:13 +00:00
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-direct {v1, v2, v3, v4}, Ly/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-07-26 02:05:13 +00:00
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
sget-object v2, Ly/u/b/x;->a:Ly/u/b/y;
|
2019-07-26 02:05:13 +00:00
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-virtual {v2, v1}, Ly/u/b/y;->property1(Ly/u/b/t;)Ly/y/d;
|
2019-07-26 02:05:13 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v2, 0x0
|
2019-07-26 02:05:13 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
aput-object v1, v0, v2
|
2019-07-26 02:05:13 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v1, 0x1
|
2019-07-26 02:05:13 +00:00
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
new-instance v2, Ly/u/b/u;
|
2019-07-26 02:05:13 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const-class v3, Lcom/discord/widgets/notice/WidgetNoticeNuxOverlay;
|
2019-07-26 02:05:13 +00:00
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {v3}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
|
2019-07-26 02:05:13 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result-object v3
|
2019-07-26 02:05:13 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const-string v4, "cancel"
|
2019-07-26 02:05:13 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const-string v5, "getCancel()Landroid/widget/TextView;"
|
2019-07-26 02:05:13 +00:00
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Ly/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-07-26 02:05:13 +00:00
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
sget-object v3, Ly/u/b/x;->a:Ly/u/b/y;
|
2019-07-26 02:05:13 +00:00
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-virtual {v3, v2}, Ly/u/b/y;->property1(Ly/u/b/t;)Ly/y/d;
|
2019-07-26 02:05:13 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
aput-object v2, v0, v1
|
2019-07-26 02:05:13 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
sput-object v0, Lcom/discord/widgets/notice/WidgetNoticeNuxOverlay;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
2019-07-26 02:05:13 +00:00
|
|
|
|
|
|
|
new-instance v0, Lcom/discord/widgets/notice/WidgetNoticeNuxOverlay$Companion;
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Lcom/discord/widgets/notice/WidgetNoticeNuxOverlay$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
|
|
|
|
sput-object v0, Lcom/discord/widgets/notice/WidgetNoticeNuxOverlay;->Companion:Lcom/discord/widgets/notice/WidgetNoticeNuxOverlay$Companion;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public constructor <init>()V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/app/AppDialog;-><init>()V
|
|
|
|
|
2020-04-20 16:41:24 +00:00
|
|
|
const v0, 0x7f0a02f0
|
2019-07-26 02:05:13 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-static {p0, v0}, Lf/n/a/j/a;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
|
2019-07-26 02:05:13 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/notice/WidgetNoticeNuxOverlay;->ok$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
const v0, 0x7f0a0126
|
2019-07-26 02:05:13 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
invoke-static {p0, v0}, Lf/n/a/j/a;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
|
2019-07-26 02:05:13 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/notice/WidgetNoticeNuxOverlay;->cancel$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final getCancel()Landroid/widget/TextView;
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/notice/WidgetNoticeNuxOverlay;->cancel$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
sget-object v1, Lcom/discord/widgets/notice/WidgetNoticeNuxOverlay;->$$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 getOk()Landroid/widget/TextView;
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/notice/WidgetNoticeNuxOverlay;->ok$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
sget-object v1, Lcom/discord/widgets/notice/WidgetNoticeNuxOverlay;->$$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
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public getContentViewResId()I
|
2019-07-26 02:05:13 +00:00
|
|
|
.locals 1
|
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
const v0, 0x7f0d01e3
|
2019-07-26 02:05:13 +00:00
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public onStart()V
|
2019-07-26 02:05:13 +00:00
|
|
|
.locals 2
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-super {p0}, Landroidx/fragment/app/DialogFragment;->onStart()V
|
2019-07-26 02:05:13 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {p0}, Landroidx/fragment/app/DialogFragment;->getDialog()Landroid/app/Dialog;
|
2019-07-26 02:05:13 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
if-eqz v0, :cond_0
|
2019-07-26 02:05:13 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Landroid/app/Dialog;->getWindow()Landroid/view/Window;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
const v1, 0x7f060247
|
2019-07-26 02:05:13 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Landroid/view/Window;->setBackgroundDrawableResource(I)V
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public onViewBound(Landroid/view/View;)V
|
2019-07-26 02:05:13 +00:00
|
|
|
.locals 1
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p1, :cond_0
|
2019-07-26 02:05:13 +00:00
|
|
|
|
|
|
|
invoke-super {p0, p1}, Lcom/discord/app/AppDialog;->onViewBound(Landroid/view/View;)V
|
|
|
|
|
|
|
|
sget-object p1, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/discord/stores/StoreStream$Companion;->getNotices()Lcom/discord/stores/StoreNotices;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
const-string v0, "NUX/Overlay"
|
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Lcom/discord/stores/StoreNotices;->markDialogSeen(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/notice/WidgetNoticeNuxOverlay;->getOk()Landroid/widget/TextView;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
new-instance v0, Lcom/discord/widgets/notice/WidgetNoticeNuxOverlay$onViewBound$1;
|
|
|
|
|
|
|
|
invoke-direct {v0, p0}, Lcom/discord/widgets/notice/WidgetNoticeNuxOverlay$onViewBound$1;-><init>(Lcom/discord/widgets/notice/WidgetNoticeNuxOverlay;)V
|
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/notice/WidgetNoticeNuxOverlay;->getCancel()Landroid/widget/TextView;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
new-instance v0, Lcom/discord/widgets/notice/WidgetNoticeNuxOverlay$onViewBound$2;
|
|
|
|
|
|
|
|
invoke-direct {v0, p0}, Lcom/discord/widgets/notice/WidgetNoticeNuxOverlay$onViewBound$2;-><init>(Lcom/discord/widgets/notice/WidgetNoticeNuxOverlay;)V
|
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
|
|
|
|
return-void
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p1, "view"
|
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
throw p1
|
2019-07-26 02:05:13 +00:00
|
|
|
.end method
|