108 lines
3.6 KiB
Smali
108 lines
3.6 KiB
Smali
.class public final Lcom/discord/widgets/auth/WidgetAgeVerify$onViewBoundOrOnResume$5;
|
|
.super Ljava/lang/Object;
|
|
.source "WidgetAgeVerify.kt"
|
|
|
|
# interfaces
|
|
.implements Landroid/view/View$OnClickListener;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/widgets/auth/WidgetAgeVerify;->onViewBoundOrOnResume()V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic this$0:Lcom/discord/widgets/auth/WidgetAgeVerify;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/discord/widgets/auth/WidgetAgeVerify;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/auth/WidgetAgeVerify$onViewBoundOrOnResume$5;->this$0:Lcom/discord/widgets/auth/WidgetAgeVerify;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final onClick(Landroid/view/View;)V
|
|
.locals 2
|
|
|
|
iget-object p1, p0, Lcom/discord/widgets/auth/WidgetAgeVerify$onViewBoundOrOnResume$5;->this$0:Lcom/discord/widgets/auth/WidgetAgeVerify;
|
|
|
|
invoke-static {p1}, Lcom/discord/widgets/auth/WidgetAgeVerify;->access$getViewFlipper$p(Lcom/discord/widgets/auth/WidgetAgeVerify;)Landroid/widget/ViewFlipper;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Landroid/widget/ViewFlipper;->getDisplayedChild()I
|
|
|
|
move-result p1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
if-eq p1, v0, :cond_1
|
|
|
|
iget-object p1, p0, Lcom/discord/widgets/auth/WidgetAgeVerify$onViewBoundOrOnResume$5;->this$0:Lcom/discord/widgets/auth/WidgetAgeVerify;
|
|
|
|
invoke-static {p1}, Lcom/discord/widgets/auth/WidgetAgeVerify;->access$getViewModel$p(Lcom/discord/widgets/auth/WidgetAgeVerify;)Lcom/discord/widgets/auth/WidgetAgeVerifyViewModel;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/auth/WidgetAgeVerifyViewModel;->backToSafety()Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
iget-object p1, p0, Lcom/discord/widgets/auth/WidgetAgeVerify$onViewBoundOrOnResume$5;->this$0:Lcom/discord/widgets/auth/WidgetAgeVerify;
|
|
|
|
invoke-virtual {p1}, Lcom/discord/app/AppFragment;->requireAppActivity()Lcom/discord/app/AppActivity;
|
|
|
|
move-result-object p1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/auth/WidgetAgeVerify$onViewBoundOrOnResume$5;->this$0:Lcom/discord/widgets/auth/WidgetAgeVerify;
|
|
|
|
invoke-virtual {v0}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "requireContext()"
|
|
|
|
invoke-static {v0, v1}, Li0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p1, v0}, Lcom/discord/app/AppActivity;->n(Landroid/content/Context;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iget-object p1, p0, Lcom/discord/widgets/auth/WidgetAgeVerify$onViewBoundOrOnResume$5;->this$0:Lcom/discord/widgets/auth/WidgetAgeVerify;
|
|
|
|
invoke-virtual {p1}, Landroidx/fragment/app/Fragment;->requireActivity()Landroidx/fragment/app/FragmentActivity;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Landroid/app/Activity;->finish()V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
iget-object p1, p0, Lcom/discord/widgets/auth/WidgetAgeVerify$onViewBoundOrOnResume$5;->this$0:Lcom/discord/widgets/auth/WidgetAgeVerify;
|
|
|
|
invoke-static {p1}, Lcom/discord/widgets/auth/WidgetAgeVerify;->access$getViewModel$p(Lcom/discord/widgets/auth/WidgetAgeVerify;)Lcom/discord/widgets/auth/WidgetAgeVerifyViewModel;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/auth/WidgetAgeVerifyViewModel;->onConfirmBackClicked()V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|