69 lines
2.2 KiB
Smali
69 lines
2.2 KiB
Smali
.class public final Lcom/discord/widgets/home/WidgetMainSurveyDialog$onViewBound$2;
|
|
.super Ljava/lang/Object;
|
|
.source "WidgetMainSurveyDialog.kt"
|
|
|
|
# interfaces
|
|
.implements Landroid/view/View$OnClickListener;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/widgets/home/WidgetMainSurveyDialog;->onViewBound(Landroid/view/View;)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic $surveyUrl:Ljava/lang/String;
|
|
|
|
.field public final synthetic this$0:Lcom/discord/widgets/home/WidgetMainSurveyDialog;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/discord/widgets/home/WidgetMainSurveyDialog;Ljava/lang/String;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/home/WidgetMainSurveyDialog$onViewBound$2;->this$0:Lcom/discord/widgets/home/WidgetMainSurveyDialog;
|
|
|
|
iput-object p2, p0, Lcom/discord/widgets/home/WidgetMainSurveyDialog$onViewBound$2;->$surveyUrl:Ljava/lang/String;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final onClick(Landroid/view/View;)V
|
|
.locals 6
|
|
|
|
sget-object v0, Lcom/discord/utilities/uri/UriHandler;->INSTANCE:Lcom/discord/utilities/uri/UriHandler;
|
|
|
|
const-string v1, "button"
|
|
|
|
const-string v2, "button.context"
|
|
|
|
invoke-static {p1, v1, v2}, Lf/e/b/a/a;->Z(Landroid/view/View;Ljava/lang/String;Ljava/lang/String;)Landroid/content/Context;
|
|
|
|
move-result-object v1
|
|
|
|
iget-object v2, p0, Lcom/discord/widgets/home/WidgetMainSurveyDialog$onViewBound$2;->$surveyUrl:Ljava/lang/String;
|
|
|
|
const/4 v3, 0x0
|
|
|
|
const/4 v4, 0x4
|
|
|
|
const/4 v5, 0x0
|
|
|
|
invoke-static/range {v0 .. v5}, Lcom/discord/utilities/uri/UriHandler;->handle$default(Lcom/discord/utilities/uri/UriHandler;Landroid/content/Context;Ljava/lang/String;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)V
|
|
|
|
iget-object p1, p0, Lcom/discord/widgets/home/WidgetMainSurveyDialog$onViewBound$2;->this$0:Lcom/discord/widgets/home/WidgetMainSurveyDialog;
|
|
|
|
invoke-virtual {p1}, Lcom/discord/app/AppDialog;->dismiss()V
|
|
|
|
return-void
|
|
.end method
|