2019-10-19 01:51:17 +00:00
|
|
|
.class public final Lcom/discord/dialogs/b;
|
2019-10-01 14:15:45 +00:00
|
|
|
.super Ljava/lang/Object;
|
2019-10-19 01:51:17 +00:00
|
|
|
.source "FriendRequestDialogs.kt"
|
2019-10-01 14:15:45 +00:00
|
|
|
|
|
|
|
|
|
|
|
# static fields
|
2019-10-23 04:50:18 +00:00
|
|
|
.field public static final xk:Lcom/discord/dialogs/b;
|
2019-10-01 14:15:45 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2019-10-19 01:51:17 +00:00
|
|
|
.method static constructor <clinit>()V
|
|
|
|
.locals 1
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-19 01:51:17 +00:00
|
|
|
new-instance v0, Lcom/discord/dialogs/b;
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-19 01:51:17 +00:00
|
|
|
invoke-direct {v0}, Lcom/discord/dialogs/b;-><init>()V
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
sput-object v0, Lcom/discord/dialogs/b;->xk:Lcom/discord/dialogs/b;
|
2019-10-19 01:51:17 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private constructor <init>()V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static a(Landroidx/fragment/app/FragmentManager;Landroid/content/Context;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function0;)V
|
|
|
|
.locals 19
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Landroidx/fragment/app/FragmentManager;",
|
|
|
|
"Landroid/content/Context;",
|
|
|
|
"Lkotlin/jvm/functions/Function0<",
|
|
|
|
"Lkotlin/Unit;",
|
|
|
|
">;",
|
|
|
|
"Lkotlin/jvm/functions/Function0<",
|
|
|
|
"Lkotlin/Unit;",
|
|
|
|
">;)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
move-object/from16 v0, p1
|
|
|
|
|
|
|
|
move-object/from16 v1, p2
|
|
|
|
|
|
|
|
move-object/from16 v2, p3
|
|
|
|
|
|
|
|
const-string v3, "fragmentManager"
|
|
|
|
|
|
|
|
move-object/from16 v5, p0
|
|
|
|
|
|
|
|
invoke-static {v5, v3}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
const-string v3, "context"
|
|
|
|
|
|
|
|
invoke-static {v0, v3}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
const-string v3, "onAccept"
|
|
|
|
|
|
|
|
invoke-static {v1, v3}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
const-string v3, "onIgnore"
|
|
|
|
|
|
|
|
invoke-static {v2, v3}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
sget-object v4, Lcom/discord/widgets/notice/WidgetNoticeDialog;->Companion:Lcom/discord/widgets/notice/WidgetNoticeDialog$Companion;
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
const v3, 0x7f1209cd
|
2019-10-19 01:51:17 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v6
|
|
|
|
|
|
|
|
const-string v3, "context.getString(R.stri\u2026.incoming_friend_request)"
|
|
|
|
|
|
|
|
invoke-static {v6, v3}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
2019-11-21 03:22:26 +00:00
|
|
|
const v3, 0x7f12126f # 1.94163E38f
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-19 01:51:17 +00:00
|
|
|
invoke-virtual {v0, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-19 01:51:17 +00:00
|
|
|
move-result-object v7
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-19 01:51:17 +00:00
|
|
|
const-string v3, "context.getString(R.stri\u2026iend_request_dialog_body)"
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-19 01:51:17 +00:00
|
|
|
invoke-static {v7, v3}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
const v3, 0x7f120671
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-19 01:51:17 +00:00
|
|
|
invoke-virtual {v0, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
const v3, 0x7f120675
|
2019-10-19 01:51:17 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v9
|
|
|
|
|
|
|
|
const/4 v0, 0x2
|
|
|
|
|
|
|
|
new-array v0, v0, [Lkotlin/Pair;
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
const v3, 0x7f0a04a4
|
2019-10-19 01:51:17 +00:00
|
|
|
|
|
|
|
invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
new-instance v10, Lcom/discord/dialogs/b$a;
|
|
|
|
|
|
|
|
invoke-direct {v10, v1}, Lcom/discord/dialogs/b$a;-><init>(Lkotlin/jvm/functions/Function0;)V
|
|
|
|
|
|
|
|
invoke-static {v3, v10}, Lkotlin/q;->to(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
aput-object v1, v0, v3
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
const v1, 0x7f0a049f
|
2019-10-19 01:51:17 +00:00
|
|
|
|
|
|
|
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
new-instance v3, Lcom/discord/dialogs/b$b;
|
|
|
|
|
|
|
|
invoke-direct {v3, v2}, Lcom/discord/dialogs/b$b;-><init>(Lkotlin/jvm/functions/Function0;)V
|
|
|
|
|
|
|
|
invoke-static {v1, v3}, Lkotlin/q;->to(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
|
|
|
|
|
|
|
|
move-result-object v1
|
2019-10-01 14:15:45 +00:00
|
|
|
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
2019-10-19 01:51:17 +00:00
|
|
|
aput-object v1, v0, v2
|
|
|
|
|
|
|
|
invoke-static {v0}, Lkotlin/a/ad;->mapOf([Lkotlin/Pair;)Ljava/util/Map;
|
|
|
|
|
|
|
|
move-result-object v10
|
|
|
|
|
|
|
|
const/4 v11, 0x0
|
|
|
|
|
|
|
|
const/4 v12, 0x0
|
|
|
|
|
|
|
|
const/4 v13, 0x0
|
|
|
|
|
|
|
|
const/4 v14, 0x0
|
|
|
|
|
|
|
|
const/4 v15, 0x0
|
|
|
|
|
|
|
|
const/16 v16, 0x0
|
|
|
|
|
|
|
|
const/16 v17, 0xfc0
|
|
|
|
|
|
|
|
const/16 v18, 0x0
|
|
|
|
|
|
|
|
invoke-static/range {v4 .. v18}, Lcom/discord/widgets/notice/WidgetNoticeDialog$Companion;->show$default(Lcom/discord/widgets/notice/WidgetNoticeDialog$Companion;Landroidx/fragment/app/FragmentManager;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;Lcom/discord/stores/StoreNotices$Dialog$Type;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/String;ILjava/lang/Object;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final a(Lcom/discord/models/domain/ModelUser;Landroid/content/Context;Landroidx/fragment/app/FragmentManager;Lkotlin/jvm/functions/Function1;)V
|
|
|
|
.locals 18
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Lcom/discord/models/domain/ModelUser;",
|
|
|
|
"Landroid/content/Context;",
|
|
|
|
"Landroidx/fragment/app/FragmentManager;",
|
|
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
|
|
"-",
|
|
|
|
"Ljava/lang/Integer;",
|
|
|
|
"Lkotlin/Unit;",
|
|
|
|
">;)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
move-object/from16 v0, p1
|
|
|
|
|
|
|
|
move-object/from16 v1, p3
|
|
|
|
|
|
|
|
const-string v2, "user"
|
|
|
|
|
|
|
|
move-object/from16 v3, p0
|
|
|
|
|
|
|
|
invoke-static {v3, v2}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
const-string v2, "context"
|
|
|
|
|
|
|
|
invoke-static {v0, v2}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
const-string v2, "fragmentManager"
|
|
|
|
|
|
|
|
move-object/from16 v4, p2
|
|
|
|
|
|
|
|
invoke-static {v4, v2}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
const-string v2, "onConfirm"
|
|
|
|
|
|
|
|
invoke-static {v1, v2}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
sget-object v2, Lcom/discord/widgets/notice/WidgetNoticeDialog;->Companion:Lcom/discord/widgets/notice/WidgetNoticeDialog$Companion;
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
const v5, 0x7f120c9c
|
2019-10-19 01:51:17 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, v5}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
const-string v6, "context.getString(R.stri\u2026.outgoing_friend_request)"
|
|
|
|
|
|
|
|
invoke-static {v5, v6}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
const/4 v6, 0x1
|
|
|
|
|
|
|
|
new-array v6, v6, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
invoke-virtual/range {p0 .. p0}, Lcom/discord/models/domain/ModelUser;->getUsername()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
const/4 v7, 0x0
|
|
|
|
|
|
|
|
aput-object v3, v6, v7
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
const v3, 0x7f120c9d
|
2019-10-19 01:51:17 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, v3, v6}, Landroid/content/Context;->getString(I[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v6
|
|
|
|
|
|
|
|
const-string v3, "context.getString(R.stri\u2026elete_msg, user.username)"
|
|
|
|
|
|
|
|
invoke-static {v6, v3}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
const v3, 0x7f1204ab
|
2019-10-19 01:51:17 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v7
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
const v3, 0x7f120358
|
2019-10-19 01:51:17 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
const v0, 0x7f0a04a4
|
2019-10-19 01:51:17 +00:00
|
|
|
|
|
|
|
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
new-instance v3, Lcom/discord/dialogs/b$c;
|
|
|
|
|
|
|
|
invoke-direct {v3, v1}, Lcom/discord/dialogs/b$c;-><init>(Lkotlin/jvm/functions/Function1;)V
|
|
|
|
|
|
|
|
invoke-static {v0, v3}, Lkotlin/q;->to(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-static {v0}, Lkotlin/a/ad;->mapOf(Lkotlin/Pair;)Ljava/util/Map;
|
|
|
|
|
|
|
|
move-result-object v9
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
const v0, 0x7f0402c4
|
2019-10-19 01:51:17 +00:00
|
|
|
|
|
|
|
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
|
|
|
|
move-result-object v13
|
|
|
|
|
|
|
|
const/4 v10, 0x0
|
|
|
|
|
|
|
|
const/4 v11, 0x0
|
|
|
|
|
|
|
|
const/4 v12, 0x0
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-19 01:51:17 +00:00
|
|
|
const/4 v14, 0x0
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-19 01:51:17 +00:00
|
|
|
const/4 v15, 0x0
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-19 01:51:17 +00:00
|
|
|
const/16 v16, 0xdc0
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-19 01:51:17 +00:00
|
|
|
const/16 v17, 0x0
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-19 01:51:17 +00:00
|
|
|
move-object v3, v2
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-19 01:51:17 +00:00
|
|
|
invoke-static/range {v3 .. v17}, Lcom/discord/widgets/notice/WidgetNoticeDialog$Companion;->show$default(Lcom/discord/widgets/notice/WidgetNoticeDialog$Companion;Landroidx/fragment/app/FragmentManager;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;Lcom/discord/stores/StoreNotices$Dialog$Type;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/String;ILjava/lang/Object;)V
|
2019-10-01 14:15:45 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|