2020-05-17 12:40:10 +00:00
|
|
|
.class public final Lcom/discord/widgets/friends/WidgetFriendsAddById$sendFriendRequest$1;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "WidgetFriendsAddById.kt"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Lrx/functions/Action1;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
|
|
value = Lcom/discord/widgets/friends/WidgetFriendsAddById;->sendFriendRequest(Ljava/lang/String;I)V
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x19
|
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
"Lrx/functions/Action1<",
|
|
|
|
"Ljava/lang/Void;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public final synthetic $username:Ljava/lang/String;
|
|
|
|
|
|
|
|
.field public final synthetic this$0:Lcom/discord/widgets/friends/WidgetFriendsAddById;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(Lcom/discord/widgets/friends/WidgetFriendsAddById;Ljava/lang/String;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/friends/WidgetFriendsAddById$sendFriendRequest$1;->this$0:Lcom/discord/widgets/friends/WidgetFriendsAddById;
|
|
|
|
|
|
|
|
iput-object p2, p0, Lcom/discord/widgets/friends/WidgetFriendsAddById$sendFriendRequest$1;->$username:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public bridge synthetic call(Ljava/lang/Object;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
check-cast p1, Ljava/lang/Void;
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Lcom/discord/widgets/friends/WidgetFriendsAddById$sendFriendRequest$1;->call(Ljava/lang/Void;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final call(Ljava/lang/Void;)V
|
|
|
|
.locals 5
|
|
|
|
|
|
|
|
iget-object p1, p0, Lcom/discord/widgets/friends/WidgetFriendsAddById$sendFriendRequest$1;->this$0:Lcom/discord/widgets/friends/WidgetFriendsAddById;
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/friends/WidgetFriendsAddById$sendFriendRequest$1;->this$0:Lcom/discord/widgets/friends/WidgetFriendsAddById;
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
new-array v2, v1, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
iget-object v3, p0, Lcom/discord/widgets/friends/WidgetFriendsAddById$sendFriendRequest$1;->$username:Ljava/lang/String;
|
|
|
|
|
|
|
|
const/4 v4, 0x0
|
|
|
|
|
|
|
|
aput-object v3, v2, v4
|
|
|
|
|
|
|
|
const v3, 0x7f120088
|
|
|
|
|
|
|
|
invoke-virtual {v0, v3, v2}, Landroidx/fragment/app/Fragment;->getString(I[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
const-string v2, "getString(\n \u2026e\n )"
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-static {v0, v2}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-static {v0}, Lf/a/j/a/b/g;->b(Ljava/lang/CharSequence;)Landroid/text/SpannableStringBuilder;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
const/16 v3, 0xc
|
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
invoke-static {p1, v0, v4, v2, v3}, Lf/a/b/o;->j(Landroid/content/Context;Ljava/lang/CharSequence;ILcom/discord/utilities/view/ToastManager;I)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
iget-object p1, p0, Lcom/discord/widgets/friends/WidgetFriendsAddById$sendFriendRequest$1;->this$0:Lcom/discord/widgets/friends/WidgetFriendsAddById;
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-static {p1}, Lcom/discord/widgets/friends/WidgetFriendsAddById;->access$getInputEditText$p(Lcom/discord/widgets/friends/WidgetFriendsAddById;)Lcom/google/android/material/textfield/TextInputLayout;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-static {p1}, Lcom/discord/utilities/view/extensions/ViewExtensions;->clear(Lcom/google/android/material/textfield/TextInputLayout;)Lkotlin/Unit;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
iget-object p1, p0, Lcom/discord/widgets/friends/WidgetFriendsAddById$sendFriendRequest$1;->this$0:Lcom/discord/widgets/friends/WidgetFriendsAddById;
|
|
|
|
|
|
|
|
invoke-static {p1, v2, v1, v2}, Lcom/discord/app/AppFragment;->hideKeyboard$default(Lcom/discord/app/AppFragment;Landroid/view/View;ILjava/lang/Object;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|