cutthecordS/patches/noemojibutton/1066.patch

71 lines
3.2 KiB
Diff
Raw Normal View History

2020-03-16 23:01:33 +00:00
Only in com.discord-1037: build
Only in com.discord-1037: dist
diff -crB com.discord-1037-base/res/layout/flex_input_widget.xml com.discord-1037/res/layout/flex_input_widget.xml
*** com.discord-1037-base/res/layout/flex_input_widget.xml 2020-02-17 18:50:17.791406068 +0300
--- com.discord-1037/res/layout/flex_input_widget.xml 2020-02-17 19:44:46.779190126 +0300
***************
*** 12,15 ****
<androidx.appcompat.widget.AppCompatImageButton android:id="@id/send_btn" android:layout_width="wrap_content" android:layout_height="wrap_content" style="@style/FlexInput.Input.Button.Send" />
</LinearLayout>
<FrameLayout android:orientation="vertical" android:id="@id/emoji_container" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="@dimen/default_keyboard_height" />
! </LinearLayout>
\ No newline at end of file
--- 12,15 ----
<androidx.appcompat.widget.AppCompatImageButton android:id="@id/send_btn" android:layout_width="wrap_content" android:layout_height="wrap_content" style="@style/FlexInput.Input.Button.Send" />
</LinearLayout>
<FrameLayout android:orientation="vertical" android:id="@id/emoji_container" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="@dimen/default_keyboard_height" />
! </LinearLayout>
diff -crB com.discord-1037-base/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali com.discord-1037/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali
*** com.discord-1037-base/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-02-17 18:50:22.451430528 +0300
--- com.discord-1037/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-02-17 19:42:34.415086125 +0300
***************
*** 131,137 ****
.line 24
iget-object p1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->j:Landroidx/appcompat/widget/AppCompatImageButton;
! const/4 v0, 0x0
invoke-virtual {p1, v0}, Landroid/widget/ImageButton;->setVisibility(I)V
--- 131,137 ----
.line 24
iget-object p1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->j:Landroidx/appcompat/widget/AppCompatImageButton;
! const/16 v0, 0x8
invoke-virtual {p1, v0}, Landroid/widget/ImageButton;->setVisibility(I)V
***************
*** 940,946 ****
.line 1
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->g:Landroid/view/View;
! const/4 v1, 0x0
invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V
--- 940,946 ----
.line 1
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->g:Landroid/view/View;
! const/16 v1, 0x8
invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V
***************
*** 1198,1205 ****
--- 1198,1209 ----
.line 19
iget-object p2, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->j:Landroidx/appcompat/widget/AppCompatImageButton;
+ const/16 v0, 0x8
+
invoke-virtual {p2, v0}, Landroid/widget/ImageButton;->setVisibility(I)V
+ const/4 v0, 0x1
+
.line 20
:cond_1
iget-object p2, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->m:Ljava/lang/Runnable;