2020-07-23 01:06:17 +00:00
|
|
|
.class public final Ls;
|
2020-07-08 16:44:49 +00:00
|
|
|
.super Ljava/lang/Object;
|
2020-09-22 07:09:10 +00:00
|
|
|
.source "WidgetRemoteAuthViewModel.kt"
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
# interfaces
|
2020-09-22 07:09:10 +00:00
|
|
|
.implements Ljava/lang/Runnable;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2020-09-22 07:09:10 +00:00
|
|
|
.field public final synthetic d:LWidgetRemoteAuthViewModel$a;
|
|
|
|
|
|
|
|
.field public final synthetic e:Lcom/discord/models/domain/ModelRemoteAuthHandshake;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2020-09-22 07:09:10 +00:00
|
|
|
.method public constructor <init>(LWidgetRemoteAuthViewModel$a;Lcom/discord/models/domain/ModelRemoteAuthHandshake;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
.locals 0
|
|
|
|
|
2020-09-22 07:09:10 +00:00
|
|
|
iput-object p1, p0, Ls;->d:LWidgetRemoteAuthViewModel$a;
|
2020-09-18 16:51:32 +00:00
|
|
|
|
2020-09-22 07:09:10 +00:00
|
|
|
iput-object p2, p0, Ls;->e:Lcom/discord/models/domain/ModelRemoteAuthHandshake;
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
2020-09-22 06:09:03 +00:00
|
|
|
|
2020-05-17 12:40:10 +00:00
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2020-09-22 07:09:10 +00:00
|
|
|
.method public final run()V
|
|
|
|
.locals 5
|
|
|
|
|
|
|
|
iget-object v0, p0, Ls;->d:LWidgetRemoteAuthViewModel$a;
|
|
|
|
|
|
|
|
iget-object v0, v0, LWidgetRemoteAuthViewModel$a;->this$0:LWidgetRemoteAuthViewModel;
|
|
|
|
|
|
|
|
new-instance v1, LWidgetRemoteAuthViewModel$ViewState$b;
|
|
|
|
|
|
|
|
iget-object v2, p0, Ls;->e:Lcom/discord/models/domain/ModelRemoteAuthHandshake;
|
|
|
|
|
|
|
|
invoke-virtual {v2}, Lcom/discord/models/domain/ModelRemoteAuthHandshake;->getHandshakeToken()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
iget-object v3, p0, Ls;->d:LWidgetRemoteAuthViewModel$a;
|
|
|
|
|
|
|
|
iget-object v3, v3, LWidgetRemoteAuthViewModel$a;->this$0:LWidgetRemoteAuthViewModel;
|
|
|
|
|
|
|
|
iget-object v3, v3, LWidgetRemoteAuthViewModel;->d:Lrx/subjects/BehaviorSubject;
|
|
|
|
|
|
|
|
const-string v4, "temporaryBehaviorSubject"
|
|
|
|
|
2020-09-23 03:12:49 +00:00
|
|
|
invoke-static {v3, v4}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-09-22 07:09:10 +00:00
|
|
|
|
2020-09-23 03:12:49 +00:00
|
|
|
invoke-virtual {v3}, Lrx/subjects/BehaviorSubject;->k0()Ljava/lang/Object;
|
2020-09-22 07:09:10 +00:00
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
const-string v4, "temporaryBehaviorSubject.value"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-23 03:12:49 +00:00
|
|
|
invoke-static {v3, v4}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-09-22 07:09:10 +00:00
|
|
|
check-cast v3, Ljava/lang/Boolean;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-22 07:09:10 +00:00
|
|
|
invoke-virtual {v3}, Ljava/lang/Boolean;->booleanValue()Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-22 07:09:10 +00:00
|
|
|
move-result v3
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-22 07:09:10 +00:00
|
|
|
const/4 v4, 0x1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-22 07:09:10 +00:00
|
|
|
invoke-direct {v1, v2, v3, v4}, LWidgetRemoteAuthViewModel$ViewState$b;-><init>(Ljava/lang/String;ZZ)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-22 07:09:10 +00:00
|
|
|
invoke-virtual {v0, v1}, Lf/a/b/q0;->updateViewState(Ljava/lang/Object;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-14 22:43:59 +00:00
|
|
|
return-void
|
2020-05-17 12:40:10 +00:00
|
|
|
.end method
|