2019-07-24 11:27:29 +00:00
|
|
|
.class final Lcom/discord/widgets/settings/account/mfa/WidgetEnableMFASteps$onViewBoundOrOnResume$1;
|
2019-10-09 23:16:36 +00:00
|
|
|
.super Lkotlin/jvm/internal/m;
|
2019-07-24 11:27:29 +00:00
|
|
|
.source "WidgetEnableMFASteps.kt"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Lkotlin/jvm/functions/Function1;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
|
|
value = Lcom/discord/widgets/settings/account/mfa/WidgetEnableMFASteps;->onViewBoundOrOnResume()V
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x18
|
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2019-10-09 23:16:36 +00:00
|
|
|
"Lkotlin/jvm/internal/m;",
|
2019-07-24 11:27:29 +00:00
|
|
|
"Lkotlin/jvm/functions/Function1<",
|
2019-11-14 21:08:15 +00:00
|
|
|
"Lcom/discord/widgets/settings/account/mfa/WidgetEnableMFAViewModel$EnableMFAState;",
|
2019-07-24 11:27:29 +00:00
|
|
|
"Lkotlin/Unit;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field final synthetic this$0:Lcom/discord/widgets/settings/account/mfa/WidgetEnableMFASteps;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method constructor <init>(Lcom/discord/widgets/settings/account/mfa/WidgetEnableMFASteps;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/settings/account/mfa/WidgetEnableMFASteps$onViewBoundOrOnResume$1;->this$0:Lcom/discord/widgets/settings/account/mfa/WidgetEnableMFASteps;
|
|
|
|
|
|
|
|
const/4 p1, 0x1
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-direct {p0, p1}, Lkotlin/jvm/internal/m;-><init>(I)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public final bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.locals 0
|
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
check-cast p1, Lcom/discord/widgets/settings/account/mfa/WidgetEnableMFAViewModel$EnableMFAState;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
invoke-virtual {p0, p1}, Lcom/discord/widgets/settings/account/mfa/WidgetEnableMFASteps$onViewBoundOrOnResume$1;->invoke(Lcom/discord/widgets/settings/account/mfa/WidgetEnableMFAViewModel$EnableMFAState;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
sget-object p1, Lkotlin/Unit;->bgs:Lkotlin/Unit;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
.method public final invoke(Lcom/discord/widgets/settings/account/mfa/WidgetEnableMFAViewModel$EnableMFAState;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 5
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/settings/account/mfa/WidgetEnableMFASteps$onViewBoundOrOnResume$1;->this$0:Lcom/discord/widgets/settings/account/mfa/WidgetEnableMFASteps;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/discord/widgets/settings/account/mfa/WidgetEnableMFASteps;->access$getDimmer$p(Lcom/discord/widgets/settings/account/mfa/WidgetEnableMFASteps;)Lcom/discord/utilities/dimmer/DimmerView;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/settings/account/mfa/WidgetEnableMFAViewModel$EnableMFAState;->isLoading()Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
const/4 v3, 0x2
|
|
|
|
|
|
|
|
const/4 v4, 0x0
|
|
|
|
|
|
|
|
invoke-static {v0, v1, v2, v3, v4}, Lcom/discord/utilities/dimmer/DimmerView;->setDimmed$default(Lcom/discord/utilities/dimmer/DimmerView;ZZILjava/lang/Object;)V
|
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/settings/account/mfa/WidgetEnableMFAViewModel$EnableMFAState;->getScreenIndex()Ljava/lang/Integer;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
|
|
|
|
check-cast p1, Ljava/lang/Number;
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Number;->intValue()I
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/settings/account/mfa/WidgetEnableMFASteps$onViewBoundOrOnResume$1;->this$0:Lcom/discord/widgets/settings/account/mfa/WidgetEnableMFASteps;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/discord/widgets/settings/account/mfa/WidgetEnableMFASteps;->access$getStepsView$p(Lcom/discord/widgets/settings/account/mfa/WidgetEnableMFASteps;)Lcom/discord/views/steps/StepsView;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
if-ltz p1, :cond_1
|
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
iget-object v1, v0, Lcom/discord/views/steps/StepsView;->ER:Lcom/discord/views/steps/StepsView$d;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Lcom/discord/views/steps/StepsView$d;->getCount()I
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
if-ge p1, v2, :cond_1
|
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
iget-object v0, v0, Lcom/discord/views/steps/StepsView;->EP:Lcom/discord/utilities/simple_pager/SimplePager;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Lcom/discord/utilities/simple_pager/SimplePager;->setCurrentItem(I)V
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
return-void
|
|
|
|
.end method
|