2019-02-04 20:08:30 +00:00
|
|
|
.class final Lcom/discord/widgets/friends/WidgetFriendsAdd$onViewBound$2;
|
2019-02-17 00:24:05 +00:00
|
|
|
.super Ljava/lang/Object;
|
2019-02-04 20:29:01 +00:00
|
|
|
.source "WidgetFriendsAdd.kt"
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
# interfaces
|
2019-02-17 00:24:05 +00:00
|
|
|
.implements Lcom/discord/utilities/mg_views/LambdaTextWatcher$OnAfterChanged;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
|
|
value = Lcom/discord/widgets/friends/WidgetFriendsAdd;->onViewBound(Landroid/view/View;)V
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x18
|
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field final synthetic this$0:Lcom/discord/widgets/friends/WidgetFriendsAdd;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method constructor <init>(Lcom/discord/widgets/friends/WidgetFriendsAdd;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/friends/WidgetFriendsAdd$onViewBound$2;->this$0:Lcom/discord/widgets/friends/WidgetFriendsAdd;
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2019-02-17 00:24:05 +00:00
|
|
|
.method public final afterTextChanged(Landroid/text/Editable;)V
|
|
|
|
.locals 4
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const-string v0, "editable"
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/j;->g(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
check-cast p1, Ljava/lang/CharSequence;
|
2019-02-04 20:34:48 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-interface {p1}, Ljava/lang/CharSequence;->length()I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
const/4 v1, 0x1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
const/4 v2, 0x0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/friends/WidgetFriendsAdd$onViewBound$2;->this$0:Lcom/discord/widgets/friends/WidgetFriendsAdd;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/discord/widgets/friends/WidgetFriendsAdd;->access$getInputEditTextWrap$p(Lcom/discord/widgets/friends/WidgetFriendsAdd;)Lcom/google/android/material/textfield/TextInputLayout;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
invoke-virtual {v0, v3}, Lcom/google/android/material/textfield/TextInputLayout;->setError(Ljava/lang/CharSequence;)V
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/friends/WidgetFriendsAdd$onViewBound$2;->this$0:Lcom/discord/widgets/friends/WidgetFriendsAdd;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/discord/widgets/friends/WidgetFriendsAdd;->access$getSend$p(Lcom/discord/widgets/friends/WidgetFriendsAdd;)Landroid/widget/TextView;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-interface {p1}, Ljava/lang/CharSequence;->length()I
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
if-lez p1, :cond_2
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
goto :goto_1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
:cond_2
|
2019-02-04 20:29:01 +00:00
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
:goto_1
|
2019-02-04 20:08:30 +00:00
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setEnabled(Z)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|