464 lines
18 KiB
Smali
464 lines
18 KiB
Smali
.class public final Lcom/discord/widgets/chat/input/WidgetChatInputAttachments;
|
|
.super Ljava/lang/Object;
|
|
.source "WidgetChatInputAttachments.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/discord/widgets/chat/input/WidgetChatInputAttachments$PermissionsEmptyListAdapter;,
|
|
Lcom/discord/widgets/chat/input/WidgetChatInputAttachments$DiscordFilesFragment;,
|
|
Lcom/discord/widgets/chat/input/WidgetChatInputAttachments$DiscordPhotosFragment;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final chatInputFragmentManager:Landroidx/fragment/app/FragmentManager;
|
|
|
|
.field public final flexInputFragment:Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
|
|
|
.field public final gifPickerFeatureFlag:Lcom/discord/widgets/chat/input/gifpicker/GifPickerFeatureFlag;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroidx/fragment/app/FragmentManager;Lcom/discord/widgets/chat/input/gifpicker/GifPickerFeatureFlag;)V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/chat/input/WidgetChatInputAttachments;->chatInputFragmentManager:Landroidx/fragment/app/FragmentManager;
|
|
|
|
iput-object p2, p0, Lcom/discord/widgets/chat/input/WidgetChatInputAttachments;->gifPickerFeatureFlag:Lcom/discord/widgets/chat/input/gifpicker/GifPickerFeatureFlag;
|
|
|
|
const p2, 0x7f0a0210
|
|
|
|
invoke-virtual {p1, p2}, Landroidx/fragment/app/FragmentManager;->findFragmentById(I)Landroidx/fragment/app/Fragment;
|
|
|
|
move-result-object p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
check-cast p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/chat/input/WidgetChatInputAttachments;->flexInputFragment:Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
new-instance p1, Lkotlin/TypeCastException;
|
|
|
|
const-string p2, "null cannot be cast to non-null type com.lytefast.flexinput.fragment.FlexInputFragment"
|
|
|
|
invoke-direct {p1, p2}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:cond_1
|
|
const-string p1, "gifPickerFeatureFlag"
|
|
|
|
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_2
|
|
const-string p1, "chatInputFragmentManager"
|
|
|
|
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public synthetic constructor <init>(Landroidx/fragment/app/FragmentManager;Lcom/discord/widgets/chat/input/gifpicker/GifPickerFeatureFlag;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
.locals 0
|
|
|
|
and-int/lit8 p3, p3, 0x2
|
|
|
|
if-eqz p3, :cond_0
|
|
|
|
sget-object p2, Lcom/discord/widgets/chat/input/gifpicker/GifPickerFeatureFlag;->Companion:Lcom/discord/widgets/chat/input/gifpicker/GifPickerFeatureFlag$Companion;
|
|
|
|
invoke-virtual {p2}, Lcom/discord/widgets/chat/input/gifpicker/GifPickerFeatureFlag$Companion;->getINSTANCE()Lcom/discord/widgets/chat/input/gifpicker/GifPickerFeatureFlag;
|
|
|
|
move-result-object p2
|
|
|
|
:cond_0
|
|
invoke-direct {p0, p1, p2}, Lcom/discord/widgets/chat/input/WidgetChatInputAttachments;-><init>(Landroidx/fragment/app/FragmentManager;Lcom/discord/widgets/chat/input/gifpicker/GifPickerFeatureFlag;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final synthetic access$createAndConfigureExpressionFragment(Lcom/discord/widgets/chat/input/WidgetChatInputAttachments;Landroidx/fragment/app/FragmentManager;Lcom/discord/widgets/chat/input/WidgetChatInputEditText;)Landroidx/fragment/app/Fragment;
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1, p2}, Lcom/discord/widgets/chat/input/WidgetChatInputAttachments;->createAndConfigureExpressionFragment(Landroidx/fragment/app/FragmentManager;Lcom/discord/widgets/chat/input/WidgetChatInputEditText;)Landroidx/fragment/app/Fragment;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final synthetic access$createPreviewAdapter(Lcom/discord/widgets/chat/input/WidgetChatInputAttachments;)Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/chat/input/WidgetChatInputAttachments;->createPreviewAdapter()Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final synthetic access$getChatInputFragmentManager$p(Lcom/discord/widgets/chat/input/WidgetChatInputAttachments;)Landroidx/fragment/app/FragmentManager;
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Lcom/discord/widgets/chat/input/WidgetChatInputAttachments;->chatInputFragmentManager:Landroidx/fragment/app/FragmentManager;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final synthetic access$getContext$p(Lcom/discord/widgets/chat/input/WidgetChatInputAttachments;)Landroid/content/Context;
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/chat/input/WidgetChatInputAttachments;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final synthetic access$getFlexInputFragment$p(Lcom/discord/widgets/chat/input/WidgetChatInputAttachments;)Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Lcom/discord/widgets/chat/input/WidgetChatInputAttachments;->flexInputFragment:Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final synthetic access$setAttachmentFromPicker(Lcom/discord/widgets/chat/input/WidgetChatInputAttachments;Landroidx/core/view/inputmethod/InputContentInfoCompat;)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1}, Lcom/discord/widgets/chat/input/WidgetChatInputAttachments;->setAttachmentFromPicker(Landroidx/core/view/inputmethod/InputContentInfoCompat;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private final createAndConfigureExpressionFragment(Landroidx/fragment/app/FragmentManager;Lcom/discord/widgets/chat/input/WidgetChatInputEditText;)Landroidx/fragment/app/Fragment;
|
|
.locals 4
|
|
|
|
new-instance v0, Lcom/discord/widgets/chat/input/WidgetChatInputAttachments$createAndConfigureExpressionFragment$emojiPickerListener$1;
|
|
|
|
invoke-direct {v0, p0}, Lcom/discord/widgets/chat/input/WidgetChatInputAttachments$createAndConfigureExpressionFragment$emojiPickerListener$1;-><init>(Lcom/discord/widgets/chat/input/WidgetChatInputAttachments;)V
|
|
|
|
new-instance v1, Lcom/discord/widgets/chat/input/WidgetChatInputAttachments$createAndConfigureExpressionFragment$onBackspacePressedListener$1;
|
|
|
|
invoke-direct {v1, p2}, Lcom/discord/widgets/chat/input/WidgetChatInputAttachments$createAndConfigureExpressionFragment$onBackspacePressedListener$1;-><init>(Lcom/discord/widgets/chat/input/WidgetChatInputEditText;)V
|
|
|
|
iget-object p2, p0, Lcom/discord/widgets/chat/input/WidgetChatInputAttachments;->gifPickerFeatureFlag:Lcom/discord/widgets/chat/input/gifpicker/GifPickerFeatureFlag;
|
|
|
|
invoke-virtual {p2}, Lcom/discord/widgets/chat/input/gifpicker/GifPickerFeatureFlag;->isEnabled()Z
|
|
|
|
move-result p2
|
|
|
|
const/4 v2, 0x0
|
|
|
|
const v3, 0x7f0a03af
|
|
|
|
if-eqz p2, :cond_2
|
|
|
|
invoke-virtual {p1, v3}, Landroidx/fragment/app/FragmentManager;->findFragmentById(I)Landroidx/fragment/app/Fragment;
|
|
|
|
move-result-object p1
|
|
|
|
instance-of p2, p1, Lcom/discord/widgets/chat/input/expression/WidgetExpressionTray;
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move-object v2, p1
|
|
|
|
:goto_0
|
|
check-cast v2, Lcom/discord/widgets/chat/input/expression/WidgetExpressionTray;
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
new-instance v2, Lcom/discord/widgets/chat/input/expression/WidgetExpressionTray;
|
|
|
|
invoke-direct {v2}, Lcom/discord/widgets/chat/input/expression/WidgetExpressionTray;-><init>()V
|
|
|
|
:goto_1
|
|
invoke-virtual {v2, v0}, Lcom/discord/widgets/chat/input/expression/WidgetExpressionTray;->setEmojiPickerListener(Lcom/discord/widgets/chat/input/emoji/EmojiPickerListener;)V
|
|
|
|
invoke-virtual {v2, v1}, Lcom/discord/widgets/chat/input/expression/WidgetExpressionTray;->setOnBackspacePressedListener(Lcom/discord/widgets/chat/input/emoji/OnBackspacePressedListener;)V
|
|
|
|
new-instance p1, Lcom/discord/widgets/chat/input/WidgetChatInputAttachments$createAndConfigureExpressionFragment$1;
|
|
|
|
invoke-direct {p1, p0}, Lcom/discord/widgets/chat/input/WidgetChatInputAttachments$createAndConfigureExpressionFragment$1;-><init>(Lcom/discord/widgets/chat/input/WidgetChatInputAttachments;)V
|
|
|
|
invoke-virtual {v2, p1}, Lcom/discord/widgets/chat/input/expression/WidgetExpressionTray;->setOnEmojiSearchOpenedListener(Lkotlin/jvm/functions/Function0;)V
|
|
|
|
return-object v2
|
|
|
|
:cond_2
|
|
invoke-virtual {p1, v3}, Landroidx/fragment/app/FragmentManager;->findFragmentById(I)Landroidx/fragment/app/Fragment;
|
|
|
|
move-result-object p1
|
|
|
|
instance-of p2, p1, Lcom/discord/widgets/chat/input/emoji/EmojiPicker;
|
|
|
|
if-nez p2, :cond_3
|
|
|
|
goto :goto_2
|
|
|
|
:cond_3
|
|
move-object v2, p1
|
|
|
|
:goto_2
|
|
check-cast v2, Lcom/discord/widgets/chat/input/emoji/EmojiPicker;
|
|
|
|
if-nez v2, :cond_4
|
|
|
|
sget-object p1, Lcom/discord/widgets/chat/input/emoji/EmojiPickerNavigator;->INSTANCE:Lcom/discord/widgets/chat/input/emoji/EmojiPickerNavigator;
|
|
|
|
sget-object p2, Lcom/discord/widgets/chat/input/emoji/EmojiContextType;->CHAT:Lcom/discord/widgets/chat/input/emoji/EmojiContextType;
|
|
|
|
invoke-virtual {p1, p2}, Lcom/discord/widgets/chat/input/emoji/EmojiPickerNavigator;->createInline(Lcom/discord/widgets/chat/input/emoji/EmojiContextType;)Lcom/discord/widgets/chat/input/emoji/EmojiPicker;
|
|
|
|
move-result-object v2
|
|
|
|
:cond_4
|
|
invoke-virtual {v2, v0}, Lcom/discord/widgets/chat/input/emoji/EmojiPicker;->setListener(Lcom/discord/widgets/chat/input/emoji/EmojiPickerListener;)V
|
|
|
|
invoke-virtual {v2, v1}, Lcom/discord/widgets/chat/input/emoji/EmojiPicker;->setOnBackspacePressedListener(Lcom/discord/widgets/chat/input/emoji/OnBackspacePressedListener;)V
|
|
|
|
new-instance p1, Lcom/discord/widgets/chat/input/WidgetChatInputAttachments$createAndConfigureExpressionFragment$2;
|
|
|
|
invoke-direct {p1, p0}, Lcom/discord/widgets/chat/input/WidgetChatInputAttachments$createAndConfigureExpressionFragment$2;-><init>(Lcom/discord/widgets/chat/input/WidgetChatInputAttachments;)V
|
|
|
|
invoke-virtual {v2, p1}, Lcom/discord/widgets/chat/input/emoji/EmojiPicker;->setOnEmojiSearchOpenedListener(Lkotlin/jvm/functions/Function0;)V
|
|
|
|
return-object v2
|
|
.end method
|
|
|
|
.method private final createPreviewAdapter()Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Lcom/lytefast/flexinput/model/Attachment<",
|
|
"+",
|
|
"Ljava/lang/Object;",
|
|
">;>()",
|
|
"Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
new-instance v0, Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;
|
|
|
|
new-instance v1, Lcom/discord/widgets/chat/input/WidgetChatInputAttachments$createPreviewAdapter$1;
|
|
|
|
invoke-direct {v1, p0}, Lcom/discord/widgets/chat/input/WidgetChatInputAttachments$createPreviewAdapter$1;-><init>(Lcom/discord/widgets/chat/input/WidgetChatInputAttachments;)V
|
|
|
|
invoke-direct {v0, v1}, Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;-><init>(Lkotlin/jvm/functions/Function1;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private final getContext()Landroid/content/Context;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/chat/input/WidgetChatInputAttachments;->flexInputFragment:Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
|
|
|
invoke-virtual {v0}, Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private final setAttachmentFromPicker(Landroidx/core/view/inputmethod/InputContentInfoCompat;)V
|
|
.locals 4
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/chat/input/WidgetChatInputAttachments;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
invoke-virtual {v0}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/chat/input/WidgetChatInputAttachments;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
const v2, 0x7f120249
|
|
|
|
invoke-virtual {v1, v2}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const-string v1, "?"
|
|
|
|
:goto_0
|
|
const-string v2, "context?.getString(R.str\u2026_filename_unknown) ?: \"?\""
|
|
|
|
invoke-static {v1, v2}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
sget-object v2, Lcom/lytefast/flexinput/model/Attachment;->Companion:Lcom/lytefast/flexinput/model/Attachment$Companion;
|
|
|
|
const/4 v3, 0x1
|
|
|
|
invoke-virtual {v2, p1, v0, v3, v1}, Lcom/lytefast/flexinput/model/Attachment$Companion;->b(Landroidx/core/view/inputmethod/InputContentInfoCompat;Landroid/content/ContentResolver;ZLjava/lang/String;)Lcom/lytefast/flexinput/model/Attachment;
|
|
|
|
move-result-object p1
|
|
|
|
new-instance v0, Lcom/discord/widgets/chat/input/SourcedAttachment;
|
|
|
|
const-string v1, "keyboard"
|
|
|
|
invoke-direct {v0, p1, v1}, Lcom/discord/widgets/chat/input/SourcedAttachment;-><init>(Lcom/lytefast/flexinput/model/Attachment;Ljava/lang/String;)V
|
|
|
|
iget-object p1, p0, Lcom/discord/widgets/chat/input/WidgetChatInputAttachments;->flexInputFragment:Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
|
|
|
invoke-virtual {p1, v0}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->e(Lcom/lytefast/flexinput/model/Attachment;)V
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final addExternalAttachment(Lcom/lytefast/flexinput/model/Attachment;)V
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lcom/lytefast/flexinput/model/Attachment<",
|
|
"+",
|
|
"Ljava/lang/Object;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/chat/input/WidgetChatInputAttachments;->flexInputFragment:Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
|
|
|
new-instance v1, Lcom/discord/widgets/chat/input/WidgetChatInputAttachments$addExternalAttachment$1;
|
|
|
|
invoke-direct {v1, p0, p1}, Lcom/discord/widgets/chat/input/WidgetChatInputAttachments$addExternalAttachment$1;-><init>(Lcom/discord/widgets/chat/input/WidgetChatInputAttachments;Lcom/lytefast/flexinput/model/Attachment;)V
|
|
|
|
invoke-virtual {v0, v1}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->p(Lkotlin/jvm/functions/Function0;)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string p1, "attachment"
|
|
|
|
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final configureFlexInputFragment(Lcom/discord/app/AppFragment;Lcom/discord/widgets/chat/input/WidgetChatInputEditText;)V
|
|
.locals 2
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
new-instance v0, Lcom/discord/widgets/chat/input/WidgetChatInputAttachments$configureFlexInputFragment$1;
|
|
|
|
invoke-direct {v0, p0}, Lcom/discord/widgets/chat/input/WidgetChatInputAttachments$configureFlexInputFragment$1;-><init>(Lcom/discord/widgets/chat/input/WidgetChatInputAttachments;)V
|
|
|
|
invoke-virtual {p2, v0}, Lcom/lytefast/flexinput/widget/FlexEditText;->setInputContentHandler(Lkotlin/jvm/functions/Function1;)V
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/chat/input/WidgetChatInputAttachments;->flexInputFragment:Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
|
|
|
new-instance v1, Lcom/discord/widgets/chat/input/WidgetChatInputAttachments$configureFlexInputFragment$2;
|
|
|
|
invoke-direct {v1, p0, p2, p1}, Lcom/discord/widgets/chat/input/WidgetChatInputAttachments$configureFlexInputFragment$2;-><init>(Lcom/discord/widgets/chat/input/WidgetChatInputAttachments;Lcom/discord/widgets/chat/input/WidgetChatInputEditText;Lcom/discord/app/AppFragment;)V
|
|
|
|
invoke-virtual {v0, v1}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->p(Lkotlin/jvm/functions/Function0;)V
|
|
|
|
new-instance p2, Lcom/discord/widgets/chat/input/WidgetChatInputAttachments$configureFlexInputFragment$3;
|
|
|
|
invoke-direct {p2, p0}, Lcom/discord/widgets/chat/input/WidgetChatInputAttachments$configureFlexInputFragment$3;-><init>(Lcom/discord/widgets/chat/input/WidgetChatInputAttachments;)V
|
|
|
|
const/4 v0, 0x1
|
|
|
|
invoke-virtual {p1, p2, v0}, Lcom/discord/app/AppFragment;->setOnBackPressed(Lrx/functions/Func0;I)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string p1, "chatInput"
|
|
|
|
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_1
|
|
const-string p1, "fragment"
|
|
|
|
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public final setInputListener(Lcom/lytefast/flexinput/InputListener;)V
|
|
.locals 1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/chat/input/WidgetChatInputAttachments;->flexInputFragment:Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
|
|
|
iput-object p1, v0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->u:Lcom/lytefast/flexinput/InputListener;
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string p1, "inputListener"
|
|
|
|
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final setViewModel(Lcom/lytefast/flexinput/viewmodel/FlexInputViewModel;)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/chat/input/WidgetChatInputAttachments;->flexInputFragment:Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
|
|
|
iput-object p1, v0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->y:Lcom/lytefast/flexinput/viewmodel/FlexInputViewModel;
|
|
|
|
return-void
|
|
.end method
|