apkfuckery/com.discord/smali/com/discord/widgets/auth/WidgetRemoteAuth$configureU...

58 lines
1.7 KiB
Smali

.class public final Lcom/discord/widgets/auth/WidgetRemoteAuth$configureUI$5;
.super Ljava/lang/Object;
.source "WidgetRemoteAuth.kt"
# interfaces
.implements Landroid/widget/CompoundButton$OnCheckedChangeListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/auth/WidgetRemoteAuth;->configureUI(LWidgetRemoteAuthViewModel$ViewState;)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/WidgetRemoteAuth;
# direct methods
.method public constructor <init>(Lcom/discord/widgets/auth/WidgetRemoteAuth;)V
.locals 0
iput-object p1, p0, Lcom/discord/widgets/auth/WidgetRemoteAuth$configureUI$5;->this$0:Lcom/discord/widgets/auth/WidgetRemoteAuth;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final onCheckedChanged(Landroid/widget/CompoundButton;Z)V
.locals 0
iget-object p1, p0, Lcom/discord/widgets/auth/WidgetRemoteAuth$configureUI$5;->this$0:Lcom/discord/widgets/auth/WidgetRemoteAuth;
invoke-static {p1}, Lcom/discord/widgets/auth/WidgetRemoteAuth;->access$getViewModel$p(Lcom/discord/widgets/auth/WidgetRemoteAuth;)LWidgetRemoteAuthViewModel;
move-result-object p1
xor-int/lit8 p2, p2, 0x1
iget-object p1, p1, LWidgetRemoteAuthViewModel;->d:Lrx/subjects/BehaviorSubject;
invoke-static {p2}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object p2
invoke-virtual {p1, p2}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
return-void
.end method