2019-02-04 20:08:30 +00:00
|
|
|
.class public final Lcom/discord/widgets/friends/WidgetFriendsAdd;
|
|
|
|
.super Lcom/discord/app/AppFragment;
|
2019-02-04 20:29:01 +00:00
|
|
|
.source "WidgetFriendsAdd.kt"
|
2019-02-04 20:05:16 +00:00
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
|
|
value = {
|
2019-02-04 20:08:30 +00:00
|
|
|
Lcom/discord/widgets/friends/WidgetFriendsAdd$Companion;
|
2019-02-04 20:05:16 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
# static fields
|
|
|
|
.field static final synthetic $$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
|
|
|
|
.field public static final Companion:Lcom/discord/widgets/friends/WidgetFriendsAdd$Companion;
|
|
|
|
|
|
|
|
.field private static final PATTERN_USERNAME:Lkotlin/text/Regex;
|
|
|
|
|
|
|
|
|
2019-02-04 20:05:16 +00:00
|
|
|
# instance fields
|
2019-02-04 20:08:30 +00:00
|
|
|
.field private hasTrackedSuggestionCount:Z
|
|
|
|
|
|
|
|
.field private final inputEditText$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
.field private final inputEditTextWrap$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
.field private final send$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2019-02-04 20:08:30 +00:00
|
|
|
.method static constructor <clinit>()V
|
|
|
|
.locals 5
|
|
|
|
|
|
|
|
const/4 v0, 0x3
|
|
|
|
|
|
|
|
new-array v0, v0, [Lkotlin/reflect/KProperty;
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
new-instance v1, Lkotlin/jvm/internal/u;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const-class v2, Lcom/discord/widgets/friends/WidgetFriendsAdd;
|
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
invoke-static {v2}, Lkotlin/jvm/internal/v;->Q(Ljava/lang/Class;)Lkotlin/reflect/b;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
const-string v3, "inputEditText"
|
|
|
|
|
|
|
|
const-string v4, "getInputEditText()Landroidx/appcompat/widget/AppCompatEditText;"
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
invoke-direct {v1, v2, v3, v4}, Lkotlin/jvm/internal/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
invoke-static {v1}, Lkotlin/jvm/internal/v;->a(Lkotlin/jvm/internal/t;)Lkotlin/reflect/d;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
check-cast v1, Lkotlin/reflect/KProperty;
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
new-instance v1, Lkotlin/jvm/internal/u;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const-class v2, Lcom/discord/widgets/friends/WidgetFriendsAdd;
|
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
invoke-static {v2}, Lkotlin/jvm/internal/v;->Q(Ljava/lang/Class;)Lkotlin/reflect/b;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
const-string v3, "inputEditTextWrap"
|
|
|
|
|
|
|
|
const-string v4, "getInputEditTextWrap()Lcom/google/android/material/textfield/TextInputLayout;"
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
invoke-direct {v1, v2, v3, v4}, Lkotlin/jvm/internal/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
invoke-static {v1}, Lkotlin/jvm/internal/v;->a(Lkotlin/jvm/internal/t;)Lkotlin/reflect/d;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
check-cast v1, Lkotlin/reflect/KProperty;
|
|
|
|
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
new-instance v1, Lkotlin/jvm/internal/u;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const-class v2, Lcom/discord/widgets/friends/WidgetFriendsAdd;
|
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
invoke-static {v2}, Lkotlin/jvm/internal/v;->Q(Ljava/lang/Class;)Lkotlin/reflect/b;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
const-string v3, "send"
|
|
|
|
|
|
|
|
const-string v4, "getSend()Landroid/widget/TextView;"
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
invoke-direct {v1, v2, v3, v4}, Lkotlin/jvm/internal/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
invoke-static {v1}, Lkotlin/jvm/internal/v;->a(Lkotlin/jvm/internal/t;)Lkotlin/reflect/d;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
check-cast v1, Lkotlin/reflect/KProperty;
|
|
|
|
|
|
|
|
const/4 v2, 0x2
|
|
|
|
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
|
|
|
|
sput-object v0, Lcom/discord/widgets/friends/WidgetFriendsAdd;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
|
|
|
|
new-instance v0, Lcom/discord/widgets/friends/WidgetFriendsAdd$Companion;
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Lcom/discord/widgets/friends/WidgetFriendsAdd$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
|
|
|
|
sput-object v0, Lcom/discord/widgets/friends/WidgetFriendsAdd;->Companion:Lcom/discord/widgets/friends/WidgetFriendsAdd$Companion;
|
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
new-instance v0, Lkotlin/text/Regex;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
const-string v1, "^(.*)#(\\d{4})$"
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
invoke-direct {v0, v1}, Lkotlin/text/Regex;-><init>(Ljava/lang/String;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
sput-object v0, Lcom/discord/widgets/friends/WidgetFriendsAdd;->PATTERN_USERNAME:Lkotlin/text/Regex;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2019-02-04 20:05:16 +00:00
|
|
|
.method public constructor <init>()V
|
2019-02-04 20:08:30 +00:00
|
|
|
.locals 1
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/app/AppFragment;-><init>()V
|
|
|
|
|
2019-05-16 22:41:35 +00:00
|
|
|
const v0, 0x7f0a0292
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-static {p0, v0}, Lkotterknife/b;->c(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/friends/WidgetFriendsAdd;->inputEditText$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-05-16 22:41:35 +00:00
|
|
|
const v0, 0x7f0a0293
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-static {p0, v0}, Lkotterknife/b;->c(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/friends/WidgetFriendsAdd;->inputEditTextWrap$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
2019-05-16 22:41:35 +00:00
|
|
|
const v0, 0x7f0a0291
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-static {p0, v0}, Lkotterknife/b;->c(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/friends/WidgetFriendsAdd;->send$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
.method public static final synthetic access$extractTargetAndSendFriendRequest(Lcom/discord/widgets/friends/WidgetFriendsAdd;)V
|
2019-02-04 20:05:16 +00:00
|
|
|
.locals 0
|
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/friends/WidgetFriendsAdd;->extractTargetAndSendFriendRequest()V
|
2019-02-04 20:05:16 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
.method public static final synthetic access$getInputEditText$p(Lcom/discord/widgets/friends/WidgetFriendsAdd;)Landroidx/appcompat/widget/AppCompatEditText;
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/friends/WidgetFriendsAdd;->getInputEditText()Landroidx/appcompat/widget/AppCompatEditText;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final synthetic access$getInputEditTextWrap$p(Lcom/discord/widgets/friends/WidgetFriendsAdd;)Lcom/google/android/material/textfield/TextInputLayout;
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/friends/WidgetFriendsAdd;->getInputEditTextWrap()Lcom/google/android/material/textfield/TextInputLayout;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final synthetic access$getPATTERN_USERNAME$cp()Lkotlin/text/Regex;
|
2019-02-04 20:05:16 +00:00
|
|
|
.locals 1
|
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
sget-object v0, Lcom/discord/widgets/friends/WidgetFriendsAdd;->PATTERN_USERNAME:Lkotlin/text/Regex;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
return-object v0
|
|
|
|
.end method
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
.method public static final synthetic access$getSend$p(Lcom/discord/widgets/friends/WidgetFriendsAdd;)Landroid/widget/TextView;
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/friends/WidgetFriendsAdd;->getSend()Landroid/widget/TextView;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
2019-02-04 20:05:16 +00:00
|
|
|
.end method
|
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
.method private final extractTargetAndSendFriendRequest()V
|
|
|
|
.locals 5
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
sget-object v0, Lcom/discord/widgets/friends/WidgetFriendsAdd;->Companion:Lcom/discord/widgets/friends/WidgetFriendsAdd$Companion;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/friends/WidgetFriendsAdd;->getInputEditText()Landroidx/appcompat/widget/AppCompatEditText;
|
|
|
|
|
|
|
|
move-result-object v1
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
invoke-virtual {v1}, Landroidx/appcompat/widget/AppCompatEditText;->getText()Landroid/text/Editable;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
if-eqz v1, :cond_0
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
goto :goto_0
|
2019-02-04 20:05:16 +00:00
|
|
|
|
|
|
|
:cond_0
|
2019-02-04 20:08:30 +00:00
|
|
|
const-string v1, ""
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
:goto_0
|
|
|
|
check-cast v1, Ljava/lang/CharSequence;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-static {v0, v1}, Lcom/discord/widgets/friends/WidgetFriendsAdd$Companion;->access$extractUsernameAndDiscriminator(Lcom/discord/widgets/friends/WidgetFriendsAdd$Companion;Ljava/lang/CharSequence;)Lcom/discord/widgets/friends/WidgetFriendsAdd$Companion$UserNameDiscriminator;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/discord/widgets/friends/WidgetFriendsAdd$Companion$UserNameDiscriminator;->getDiscriminator()Ljava/lang/Integer;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
if-eqz v1, :cond_1
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
invoke-virtual {v0}, Lcom/discord/widgets/friends/WidgetFriendsAdd$Companion$UserNameDiscriminator;->getUsername()Ljava/lang/String;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/discord/widgets/friends/WidgetFriendsAdd$Companion$UserNameDiscriminator;->getDiscriminator()Ljava/lang/Integer;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
invoke-direct {p0, v1, v0}, Lcom/discord/widgets/friends/WidgetFriendsAdd;->sendFriendRequest(Ljava/lang/String;I)V
|
|
|
|
|
|
|
|
return-void
|
2019-02-04 20:05:16 +00:00
|
|
|
|
|
|
|
:cond_1
|
2019-02-04 20:08:30 +00:00
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/friends/WidgetFriendsAdd;->getInputEditTextWrap()Lcom/google/android/material/textfield/TextInputLayout;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
const v2, 0x7f130191
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {v1, v2}, Lcom/google/android/material/textfield/TextInputLayout;->setErrorTextAppearance(I)V
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/friends/WidgetFriendsAdd;->getInputEditTextWrap()Lcom/google/android/material/textfield/TextInputLayout;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2019-05-10 00:55:14 +00:00
|
|
|
const v2, 0x7f120099
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const/4 v3, 0x1
|
|
|
|
|
|
|
|
new-array v3, v3, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const/4 v4, 0x0
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/discord/widgets/friends/WidgetFriendsAdd$Companion$UserNameDiscriminator;->getUsername()Ljava/lang/String;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
aput-object v0, v3, v4
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
invoke-virtual {p0, v2, v3}, Lcom/discord/widgets/friends/WidgetFriendsAdd;->getString(I[Ljava/lang/Object;)Ljava/lang/String;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
move-result-object v0
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
check-cast v0, Ljava/lang/CharSequence;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
invoke-virtual {v1, v0}, Lcom/google/android/material/textfield/TextInputLayout;->setError(Ljava/lang/CharSequence;)V
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
return-void
|
|
|
|
.end method
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
.method private final getInputEditText()Landroidx/appcompat/widget/AppCompatEditText;
|
|
|
|
.locals 3
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/friends/WidgetFriendsAdd;->inputEditText$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
sget-object v1, Lcom/discord/widgets/friends/WidgetFriendsAdd;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
const/4 v2, 0x0
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
aget-object v1, v1, v2
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
move-result-object v0
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
check-cast v0, Landroidx/appcompat/widget/AppCompatEditText;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
return-object v0
|
|
|
|
.end method
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
.method private final getInputEditTextWrap()Lcom/google/android/material/textfield/TextInputLayout;
|
|
|
|
.locals 3
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/friends/WidgetFriendsAdd;->inputEditTextWrap$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
sget-object v1, Lcom/discord/widgets/friends/WidgetFriendsAdd;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
const/4 v2, 0x1
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
aget-object v1, v1, v2
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
move-result-object v0
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
check-cast v0, Lcom/google/android/material/textfield/TextInputLayout;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
return-object v0
|
|
|
|
.end method
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
.method private final getSend()Landroid/widget/TextView;
|
|
|
|
.locals 3
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/friends/WidgetFriendsAdd;->send$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
sget-object v1, Lcom/discord/widgets/friends/WidgetFriendsAdd;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
const/4 v2, 0x2
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
aget-object v1, v1, v2
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
move-result-object v0
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
check-cast v0, Landroid/widget/TextView;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
return-object v0
|
|
|
|
.end method
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
.method private final sendFriendRequest(Ljava/lang/String;I)V
|
2019-04-06 01:08:52 +00:00
|
|
|
.locals 3
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
sget-object v0, Lcom/discord/utilities/rest/RestAPI;->Companion:Lcom/discord/utilities/rest/RestAPI$Companion;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/discord/utilities/rest/RestAPI$Companion;->getApi()Lcom/discord/utilities/rest/RestAPI;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
const-string v1, "Search - Add Friend Search"
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1, p1, p2}, Lcom/discord/utilities/rest/RestAPI;->sendRelationshipRequest(Ljava/lang/String;Ljava/lang/String;I)Lrx/Observable;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
move-object v0, p0
|
|
|
|
|
|
|
|
check-cast v0, Lcom/discord/app/AppComponent;
|
|
|
|
|
2019-04-06 01:08:52 +00:00
|
|
|
const/4 v1, 0x0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-04-06 01:08:52 +00:00
|
|
|
const/4 v2, 0x2
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-04-06 01:08:52 +00:00
|
|
|
invoke-static {p2, v0, v1, v2, v1}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->ui$default(Lrx/Observable;Lcom/discord/app/AppComponent;Lcom/discord/utilities/mg_recycler/MGRecyclerAdapterSimple;ILjava/lang/Object;)Lrx/Observable;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
new-instance v0, Lcom/discord/widgets/friends/WidgetFriendsAdd$sendFriendRequest$1;
|
|
|
|
|
|
|
|
invoke-direct {v0, p0, p1}, Lcom/discord/widgets/friends/WidgetFriendsAdd$sendFriendRequest$1;-><init>(Lcom/discord/widgets/friends/WidgetFriendsAdd;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
check-cast v0, Lrx/functions/Action1;
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/discord/widgets/friends/WidgetFriendsAdd;->getAppActivity()Lcom/discord/app/AppActivity;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
check-cast p1, Landroid/content/Context;
|
|
|
|
|
|
|
|
new-instance v1, Lcom/discord/widgets/friends/WidgetFriendsAdd$sendFriendRequest$2;
|
|
|
|
|
|
|
|
invoke-direct {v1, p0}, Lcom/discord/widgets/friends/WidgetFriendsAdd$sendFriendRequest$2;-><init>(Lcom/discord/widgets/friends/WidgetFriendsAdd;)V
|
|
|
|
|
|
|
|
check-cast v1, Lrx/functions/Action1;
|
|
|
|
|
2019-03-30 08:05:33 +00:00
|
|
|
invoke-static {v0, p1, v1}, Lcom/discord/app/h;->a(Lrx/functions/Action1;Landroid/content/Context;Lrx/functions/Action1;)Lrx/Observable$Transformer;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-virtual {p2, p1}, Lrx/Observable;->a(Lrx/Observable$Transformer;)Lrx/Observable;
|
|
|
|
|
|
|
|
return-void
|
2019-02-04 20:05:16 +00:00
|
|
|
.end method
|
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
.method public static final show(Landroid/content/Context;)V
|
|
|
|
.locals 3
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
sget-object v0, Lcom/discord/widgets/friends/WidgetFriendsAdd;->Companion:Lcom/discord/widgets/friends/WidgetFriendsAdd$Companion;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
const/4 v1, 0x0
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
const/4 v2, 0x2
|
|
|
|
|
|
|
|
invoke-static {v0, p0, v1, v2, v1}, Lcom/discord/widgets/friends/WidgetFriendsAdd$Companion;->show$default(Lcom/discord/widgets/friends/WidgetFriendsAdd$Companion;Landroid/content/Context;Ljava/lang/String;ILjava/lang/Object;)V
|
2019-02-04 20:05:16 +00:00
|
|
|
|
|
|
|
return-void
|
2019-02-04 20:08:30 +00:00
|
|
|
.end method
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
.method public static final show(Landroid/content/Context;Ljava/lang/String;)V
|
|
|
|
.locals 1
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
sget-object v0, Lcom/discord/widgets/friends/WidgetFriendsAdd;->Companion:Lcom/discord/widgets/friends/WidgetFriendsAdd$Companion;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
invoke-virtual {v0, p0, p1}, Lcom/discord/widgets/friends/WidgetFriendsAdd$Companion;->show(Landroid/content/Context;Ljava/lang/String;)V
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
return-void
|
2019-02-04 20:05:16 +00:00
|
|
|
.end method
|
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public final getContentViewResId()I
|
|
|
|
.locals 1
|
|
|
|
|
2019-05-08 22:54:48 +00:00
|
|
|
const v0, 0x7f0d00ff
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final onViewBound(Landroid/view/View;)V
|
2019-02-08 08:21:44 +00:00
|
|
|
.locals 4
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
const-string v0, "view"
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
invoke-super {p0, p1}, Lcom/discord/app/AppFragment;->onViewBound(Landroid/view/View;)V
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
const/4 p1, 0x0
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
const/4 v0, 0x0
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
const/4 v1, 0x3
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
invoke-static {p0, p1, v0, v1, v0}, Lcom/discord/app/AppFragment;->setActionBarDisplayHomeAsUpEnabled$default(Lcom/discord/app/AppFragment;ZLjava/lang/Integer;ILjava/lang/Object;)Landroidx/appcompat/widget/Toolbar;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-05-16 22:41:35 +00:00
|
|
|
const v1, 0x7f120663
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
invoke-virtual {p0, v1}, Lcom/discord/widgets/friends/WidgetFriendsAdd;->setActionBarTitle(I)Lkotlin/Unit;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/friends/WidgetFriendsAdd;->getSend()Landroid/widget/TextView;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
move-result-object v1
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
new-instance v2, Lcom/discord/widgets/friends/WidgetFriendsAdd$onViewBound$1;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
invoke-direct {v2, p0}, Lcom/discord/widgets/friends/WidgetFriendsAdd$onViewBound$1;-><init>(Lcom/discord/widgets/friends/WidgetFriendsAdd;)V
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
check-cast v2, Landroid/view/View$OnClickListener;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
invoke-virtual {v1, v2}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/friends/WidgetFriendsAdd;->getInputEditText()Landroidx/appcompat/widget/AppCompatEditText;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
move-result-object v1
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
check-cast v1, Landroid/widget/TextView;
|
2019-02-06 20:30:57 +00:00
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
move-object v2, p0
|
2019-02-06 20:30:57 +00:00
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
check-cast v2, Landroidx/fragment/app/Fragment;
|
2019-02-06 20:30:57 +00:00
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
new-instance v3, Lcom/discord/widgets/friends/WidgetFriendsAdd$onViewBound$2;
|
2019-02-17 00:24:05 +00:00
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
invoke-direct {v3, p0}, Lcom/discord/widgets/friends/WidgetFriendsAdd$onViewBound$2;-><init>(Lcom/discord/widgets/friends/WidgetFriendsAdd;)V
|
2019-02-17 00:24:05 +00:00
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
check-cast v3, Lkotlin/jvm/functions/Function1;
|
2019-02-06 20:30:57 +00:00
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
invoke-static {v1, v2, v3}, Lcom/discord/utilities/view/text/TextWatcherKt;->addBindedTextWatcher(Landroid/widget/TextView;Landroidx/fragment/app/Fragment;Lkotlin/jvm/functions/Function1;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/friends/WidgetFriendsAdd;->getInputEditText()Landroidx/appcompat/widget/AppCompatEditText;
|
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
move-result-object v1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
new-instance v2, Lcom/discord/widgets/friends/WidgetFriendsAdd$onViewBound$3;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
invoke-direct {v2, p0}, Lcom/discord/widgets/friends/WidgetFriendsAdd$onViewBound$3;-><init>(Lcom/discord/widgets/friends/WidgetFriendsAdd;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
check-cast v2, Landroid/widget/TextView$OnEditorActionListener;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
invoke-virtual {v1, v2}, Landroidx/appcompat/widget/AppCompatEditText;->setOnEditorActionListener(Landroid/widget/TextView$OnEditorActionListener;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/discord/widgets/friends/WidgetFriendsAdd;->getMostRecentIntent()Landroid/content/Intent;
|
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
move-result-object v1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
invoke-virtual {v1}, Landroid/content/Intent;->getExtras()Landroid/os/Bundle;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
move-result-object v1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
if-eqz v1, :cond_0
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
const-string v0, "android.intent.extra.TEXT"
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
invoke-virtual {v1, v0}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
move-object v1, v0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
check-cast v1, Ljava/lang/CharSequence;
|
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
if-eqz v1, :cond_1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-static {v1}, Lkotlin/text/l;->j(Ljava/lang/CharSequence;)Z
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
if-eqz v2, :cond_2
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
:cond_1
|
2019-02-04 20:17:36 +00:00
|
|
|
const/4 p1, 0x1
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
if-nez p1, :cond_3
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/friends/WidgetFriendsAdd;->getInputEditText()Landroidx/appcompat/widget/AppCompatEditText;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
move-result-object p1
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
invoke-virtual {p1, v1}, Landroidx/appcompat/widget/AppCompatEditText;->setText(Ljava/lang/CharSequence;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/friends/WidgetFriendsAdd;->getInputEditText()Landroidx/appcompat/widget/AppCompatEditText;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
move-result-object p1
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
invoke-virtual {v0}, Ljava/lang/String;->length()I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
move-result v0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
invoke-virtual {p1, v0}, Landroidx/appcompat/widget/AppCompatEditText;->setSelection(I)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
:cond_3
|
2019-02-04 20:08:30 +00:00
|
|
|
invoke-virtual {p0}, Lcom/discord/widgets/friends/WidgetFriendsAdd;->getAppActivity()Lcom/discord/app/AppActivity;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
if-eqz p1, :cond_4
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/discord/app/AppActivity;->getWindow()Landroid/view/Window;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
move-result-object p1
|
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
if-eqz p1, :cond_4
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const/16 v0, 0x30
|
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/Window;->setSoftInputMode(I)V
|
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
:cond_4
|
2019-02-04 20:08:30 +00:00
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final onViewBoundOrOnResume()V
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
invoke-super {p0}, Lcom/discord/app/AppFragment;->onViewBoundOrOnResume()V
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/friends/WidgetFriendsAdd;->getInputEditText()Landroidx/appcompat/widget/AppCompatEditText;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
invoke-virtual {v0}, Landroidx/appcompat/widget/AppCompatEditText;->getText()Landroid/text/Editable;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
check-cast v0, Ljava/lang/CharSequence;
|
|
|
|
|
|
|
|
invoke-interface {v0}, Ljava/lang/CharSequence;->length()I
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
2019-02-04 20:05:16 +00:00
|
|
|
|
|
|
|
:cond_0
|
2019-02-04 20:08:30 +00:00
|
|
|
const/4 v0, 0x0
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
:goto_0
|
|
|
|
if-ne v0, v2, :cond_1
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
const/4 v1, 0x1
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
:cond_1
|
|
|
|
if-eqz v1, :cond_2
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/friends/WidgetFriendsAdd;->hasTrackedSuggestionCount:Z
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
if-nez v0, :cond_2
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
iput-boolean v2, p0, Lcom/discord/widgets/friends/WidgetFriendsAdd;->hasTrackedSuggestionCount:Z
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
const-string v0, "Add Friends Suggestions"
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/discord/utilities/analytics/AnalyticsTracker;->friendAddViewed(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final setUserVisibleHint(Z)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-super {p0, p1}, Lcom/discord/app/AppFragment;->setUserVisibleHint(Z)V
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
|
|
|
const/4 p1, 0x0
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
iput-boolean p1, p0, Lcom/discord/widgets/friends/WidgetFriendsAdd;->hasTrackedSuggestionCount:Z
|
2019-02-04 20:05:16 +00:00
|
|
|
|
|
|
|
:cond_0
|
|
|
|
return-void
|
|
|
|
.end method
|