Changes of com.discord v1097
This commit is contained in:
parent
1cab4592c1
commit
3487e82a5c
13 changed files with 113 additions and 100 deletions
|
@ -822,7 +822,7 @@
|
|||
:goto_0
|
||||
iget-object v4, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->n:Landroidx/appcompat/widget/AppCompatEditText;
|
||||
|
||||
if-eqz v4, :cond_27
|
||||
if-eqz v4, :cond_28
|
||||
|
||||
invoke-virtual {v4}, Landroid/widget/EditText;->getEditableText()Landroid/text/Editable;
|
||||
|
||||
|
@ -890,7 +890,7 @@
|
|||
|
||||
iget-object v5, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->q:Landroid/view/View;
|
||||
|
||||
if-eqz v5, :cond_26
|
||||
if-eqz v5, :cond_27
|
||||
|
||||
const/16 v8, 0x8
|
||||
|
||||
|
@ -910,7 +910,7 @@
|
|||
|
||||
iget-object v5, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->p:Landroid/view/View;
|
||||
|
||||
if-eqz v5, :cond_25
|
||||
if-eqz v5, :cond_26
|
||||
|
||||
if-eqz v4, :cond_8
|
||||
|
||||
|
@ -926,7 +926,7 @@
|
|||
|
||||
iget-object v5, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->o:Landroid/view/View;
|
||||
|
||||
if-eqz v5, :cond_24
|
||||
if-eqz v5, :cond_25
|
||||
|
||||
if-eqz v4, :cond_9
|
||||
|
||||
|
@ -944,12 +944,22 @@
|
|||
|
||||
move-result v4
|
||||
|
||||
if-eqz v4, :cond_c
|
||||
if-eqz v4, :cond_d
|
||||
|
||||
invoke-virtual {p1}, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->e()Ljava/lang/String;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
if-eqz v4, :cond_c
|
||||
|
||||
invoke-static {v4}, Lz/a0/u;->trim(Ljava/lang/CharSequence;)Ljava/lang/CharSequence;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
invoke-virtual {v4}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
invoke-interface {v4}, Ljava/lang/CharSequence;->length()I
|
||||
|
||||
move-result v4
|
||||
|
@ -974,7 +984,7 @@
|
|||
|
||||
move-result v4
|
||||
|
||||
if-lez v4, :cond_c
|
||||
if-lez v4, :cond_d
|
||||
|
||||
:cond_b
|
||||
const/4 v4, 0x1
|
||||
|
@ -982,12 +992,21 @@
|
|||
goto :goto_6
|
||||
|
||||
:cond_c
|
||||
new-instance p1, Lz/l;
|
||||
|
||||
const-string v0, "null cannot be cast to non-null type kotlin.CharSequence"
|
||||
|
||||
invoke-direct {p1, v0}, Lz/l;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_d
|
||||
const/4 v4, 0x0
|
||||
|
||||
:goto_6
|
||||
iget-object v5, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->l:Landroid/view/View;
|
||||
|
||||
if-eqz v5, :cond_23
|
||||
if-eqz v5, :cond_24
|
||||
|
||||
invoke-virtual {v5, v4}, Landroid/view/View;->setEnabled(Z)V
|
||||
|
||||
|
@ -995,7 +1014,7 @@
|
|||
|
||||
const-string v10, "sendBtn"
|
||||
|
||||
if-eqz v5, :cond_22
|
||||
if-eqz v5, :cond_23
|
||||
|
||||
invoke-virtual {v5, v4}, Landroid/view/View;->setEnabled(Z)V
|
||||
|
||||
|
@ -1007,17 +1026,17 @@
|
|||
|
||||
move-result v4
|
||||
|
||||
if-lez v4, :cond_d
|
||||
if-lez v4, :cond_e
|
||||
|
||||
const/4 v4, 0x1
|
||||
|
||||
goto :goto_7
|
||||
|
||||
:cond_d
|
||||
:cond_e
|
||||
const/4 v4, 0x0
|
||||
|
||||
:goto_7
|
||||
if-nez v4, :cond_f
|
||||
if-nez v4, :cond_10
|
||||
|
||||
invoke-virtual {p1}, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->c()Ljava/util/List;
|
||||
|
||||
|
@ -1027,31 +1046,31 @@
|
|||
|
||||
move-result v4
|
||||
|
||||
if-lez v4, :cond_e
|
||||
if-lez v4, :cond_f
|
||||
|
||||
goto :goto_8
|
||||
|
||||
:cond_e
|
||||
:cond_f
|
||||
const/4 v4, 0x0
|
||||
|
||||
goto :goto_9
|
||||
|
||||
:cond_f
|
||||
:cond_10
|
||||
:goto_8
|
||||
const/4 v4, 0x1
|
||||
|
||||
:goto_9
|
||||
iget-object v5, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->m:Landroid/view/View;
|
||||
|
||||
if-eqz v5, :cond_21
|
||||
if-eqz v5, :cond_22
|
||||
|
||||
if-eqz v4, :cond_10
|
||||
if-eqz v4, :cond_11
|
||||
|
||||
const/4 v10, 0x0
|
||||
|
||||
goto :goto_a
|
||||
|
||||
:cond_10
|
||||
:cond_11
|
||||
const/16 v10, 0x8
|
||||
|
||||
:goto_a
|
||||
|
@ -1061,17 +1080,17 @@
|
|||
|
||||
const-string v10, "inputContainer"
|
||||
|
||||
if-eqz v5, :cond_20
|
||||
if-eqz v5, :cond_21
|
||||
|
||||
invoke-virtual {v5}, Landroid/view/ViewGroup;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
if-eqz v5, :cond_1f
|
||||
if-eqz v5, :cond_20
|
||||
|
||||
check-cast v5, Landroid/widget/RelativeLayout$LayoutParams;
|
||||
|
||||
if-nez v4, :cond_11
|
||||
if-nez v4, :cond_12
|
||||
|
||||
invoke-static {v8}, Lcom/discord/utilities/dimen/DimenUtils;->dpToPixels(I)I
|
||||
|
||||
|
@ -1079,7 +1098,7 @@
|
|||
|
||||
goto :goto_b
|
||||
|
||||
:cond_11
|
||||
:cond_12
|
||||
const/4 v4, 0x0
|
||||
|
||||
:goto_b
|
||||
|
@ -1087,13 +1106,13 @@
|
|||
|
||||
iget-object v4, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->g:Landroid/view/ViewGroup;
|
||||
|
||||
if-eqz v4, :cond_1e
|
||||
if-eqz v4, :cond_1f
|
||||
|
||||
invoke-virtual {v4, v5}, Landroid/view/ViewGroup;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
|
||||
|
||||
iget-object v4, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->e:Landroid/view/View;
|
||||
|
||||
if-eqz v4, :cond_1d
|
||||
if-eqz v4, :cond_1e
|
||||
|
||||
invoke-virtual {p1}, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->c()Ljava/util/List;
|
||||
|
||||
|
@ -1103,19 +1122,19 @@
|
|||
|
||||
move-result v5
|
||||
|
||||
if-lez v5, :cond_12
|
||||
if-lez v5, :cond_13
|
||||
|
||||
invoke-virtual {p1}, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->b()Z
|
||||
|
||||
move-result v5
|
||||
|
||||
if-eqz v5, :cond_12
|
||||
if-eqz v5, :cond_13
|
||||
|
||||
const/4 v5, 0x0
|
||||
|
||||
goto :goto_c
|
||||
|
||||
:cond_12
|
||||
:cond_13
|
||||
const/16 v5, 0x8
|
||||
|
||||
:goto_c
|
||||
|
@ -1123,25 +1142,25 @@
|
|||
|
||||
iget-object v4, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->d:Landroid/view/ViewGroup;
|
||||
|
||||
if-eqz v4, :cond_1c
|
||||
if-eqz v4, :cond_1d
|
||||
|
||||
invoke-virtual {p1}, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->b()Z
|
||||
|
||||
move-result v5
|
||||
|
||||
if-eqz v5, :cond_13
|
||||
if-eqz v5, :cond_14
|
||||
|
||||
invoke-virtual {p1}, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->a()Z
|
||||
|
||||
move-result v5
|
||||
|
||||
if-eqz v5, :cond_13
|
||||
if-eqz v5, :cond_14
|
||||
|
||||
const/4 v5, 0x1
|
||||
|
||||
goto :goto_d
|
||||
|
||||
:cond_13
|
||||
:cond_14
|
||||
const/4 v5, 0x0
|
||||
|
||||
:goto_d
|
||||
|
@ -1163,9 +1182,9 @@
|
|||
|
||||
move-result-object v4
|
||||
|
||||
if-eqz v4, :cond_15
|
||||
if-eqz v4, :cond_16
|
||||
|
||||
if-nez v0, :cond_14
|
||||
if-nez v0, :cond_15
|
||||
|
||||
invoke-virtual {p1}, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->g()Ljava/lang/Integer;
|
||||
|
||||
|
@ -1179,7 +1198,7 @@
|
|||
|
||||
goto :goto_e
|
||||
|
||||
:cond_14
|
||||
:cond_15
|
||||
invoke-virtual {p1}, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->g()Ljava/lang/Integer;
|
||||
|
||||
move-result-object v1
|
||||
|
@ -1190,57 +1209,57 @@
|
|||
|
||||
iget-object v0, v0, Lf/b/a/a/a;->d:Landroidx/viewpager/widget/ViewPager;
|
||||
|
||||
if-eqz v0, :cond_16
|
||||
if-eqz v0, :cond_17
|
||||
|
||||
invoke-virtual {v0, v1}, Landroidx/viewpager/widget/ViewPager;->setCurrentItem(I)V
|
||||
|
||||
goto :goto_e
|
||||
|
||||
:cond_15
|
||||
if-eqz v0, :cond_16
|
||||
:cond_16
|
||||
if-eqz v0, :cond_17
|
||||
|
||||
invoke-virtual {v0}, Landroidx/fragment/app/Fragment;->isAdded()Z
|
||||
|
||||
move-result v1
|
||||
|
||||
if-ne v1, v7, :cond_16
|
||||
if-ne v1, v7, :cond_17
|
||||
|
||||
invoke-virtual {v0}, Landroidx/fragment/app/Fragment;->isDetached()Z
|
||||
|
||||
move-result v1
|
||||
|
||||
if-nez v1, :cond_16
|
||||
if-nez v1, :cond_17
|
||||
|
||||
invoke-virtual {v0}, Landroidx/fragment/app/DialogFragment;->dismissAllowingStateLoss()V
|
||||
|
||||
:cond_16
|
||||
:cond_17
|
||||
:goto_e
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->j:Landroid/view/View;
|
||||
|
||||
if-eqz v0, :cond_1b
|
||||
if-eqz v0, :cond_1c
|
||||
|
||||
invoke-virtual {p1}, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->b()Z
|
||||
|
||||
move-result v1
|
||||
|
||||
if-nez v1, :cond_17
|
||||
if-nez v1, :cond_18
|
||||
|
||||
const/4 v8, 0x0
|
||||
|
||||
:cond_17
|
||||
:cond_18
|
||||
invoke-virtual {v0, v8}, Landroid/view/View;->setVisibility(I)V
|
||||
|
||||
invoke-virtual {p1}, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->h()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_18
|
||||
if-eqz v0, :cond_19
|
||||
|
||||
invoke-virtual {v3}, Lcom/lytefast/flexinput/fragment/FlexInputFragment$i;->invoke()V
|
||||
|
||||
goto :goto_f
|
||||
|
||||
:cond_18
|
||||
:cond_19
|
||||
invoke-virtual {v2}, Lcom/lytefast/flexinput/fragment/FlexInputFragment$h;->invoke()Z
|
||||
|
||||
:goto_f
|
||||
|
@ -1254,24 +1273,24 @@
|
|||
|
||||
move-result-object v0
|
||||
|
||||
if-eqz v0, :cond_1a
|
||||
if-eqz v0, :cond_1b
|
||||
|
||||
invoke-virtual {v0}, Landroidx/fragment/app/Fragment;->isAdded()Z
|
||||
|
||||
move-result v1
|
||||
|
||||
if-ne v1, v7, :cond_1a
|
||||
if-ne v1, v7, :cond_1b
|
||||
|
||||
instance-of v1, v0, Lf/b/a/e/b;
|
||||
|
||||
if-nez v1, :cond_19
|
||||
if-nez v1, :cond_1a
|
||||
|
||||
move-object v0, v6
|
||||
|
||||
:cond_19
|
||||
:cond_1a
|
||||
check-cast v0, Lf/b/a/e/b;
|
||||
|
||||
if-eqz v0, :cond_1a
|
||||
if-eqz v0, :cond_1b
|
||||
|
||||
invoke-virtual {p1}, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->h()Z
|
||||
|
||||
|
@ -1279,36 +1298,36 @@
|
|||
|
||||
invoke-interface {v0, p1}, Lf/b/a/e/b;->isShown(Z)V
|
||||
|
||||
:cond_1a
|
||||
:cond_1b
|
||||
return-void
|
||||
|
||||
:cond_1b
|
||||
:cond_1c
|
||||
const-string p1, "cannotSendText"
|
||||
|
||||
invoke-static {p1}, Lz/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
|
||||
throw v6
|
||||
|
||||
:cond_1c
|
||||
:cond_1d
|
||||
const-string p1, "leftBtnsContainer"
|
||||
|
||||
invoke-static {p1}, Lz/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
|
||||
throw v6
|
||||
|
||||
:cond_1d
|
||||
:cond_1e
|
||||
const-string p1, "attachmentPreviewContainer"
|
||||
|
||||
invoke-static {p1}, Lz/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
|
||||
throw v6
|
||||
|
||||
:cond_1e
|
||||
:cond_1f
|
||||
invoke-static {v10}, Lz/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
|
||||
throw v6
|
||||
|
||||
:cond_1f
|
||||
:cond_20
|
||||
new-instance p1, Lz/l;
|
||||
|
||||
const-string v0, "null cannot be cast to non-null type android.widget.RelativeLayout.LayoutParams"
|
||||
|
@ -1317,11 +1336,6 @@
|
|||
|
||||
throw p1
|
||||
|
||||
:cond_20
|
||||
invoke-static {v10}, Lz/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
|
||||
throw v6
|
||||
|
||||
:cond_21
|
||||
invoke-static {v10}, Lz/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
|
||||
|
@ -1333,34 +1347,39 @@
|
|||
throw v6
|
||||
|
||||
:cond_23
|
||||
invoke-static {v10}, Lz/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
|
||||
throw v6
|
||||
|
||||
:cond_24
|
||||
const-string p1, "sendBtnImage"
|
||||
|
||||
invoke-static {p1}, Lz/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
|
||||
throw v6
|
||||
|
||||
:cond_24
|
||||
:cond_25
|
||||
const-string p1, "galleryBtn"
|
||||
|
||||
invoke-static {p1}, Lz/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
|
||||
throw v6
|
||||
|
||||
:cond_25
|
||||
:cond_26
|
||||
const-string p1, "cameraBtn"
|
||||
|
||||
invoke-static {p1}, Lz/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
|
||||
throw v6
|
||||
|
||||
:cond_26
|
||||
:cond_27
|
||||
const-string p1, "expandBtn"
|
||||
|
||||
invoke-static {p1}, Lz/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
|
||||
throw v6
|
||||
|
||||
:cond_27
|
||||
:cond_28
|
||||
invoke-static {v5}, Lz/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
|
||||
throw v6
|
||||
|
@ -2353,10 +2372,6 @@
|
|||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Lrx/Observable;->a()Lrx/Observable;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
new-instance v1, Lcom/lytefast/flexinput/fragment/FlexInputFragment$l;
|
||||
|
||||
invoke-direct {v1, p0}, Lcom/lytefast/flexinput/fragment/FlexInputFragment$l;-><init>(Lcom/lytefast/flexinput/fragment/FlexInputFragment;)V
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue