cutthecordS/patches/noemojibutton/1073.patch

68 lines
3.1 KiB
Diff
Raw Normal View History

2020-03-23 23:23:12 +00:00
diff -crB from/res/layout/flex_input_widget.xml to/res/layout/flex_input_widget.xml
*** from/res/layout/flex_input_widget.xml 2020-03-19 16:21:20.068971414 +0000
--- to/res/layout/flex_input_widget.xml 2020-03-19 16:24:40.930018969 +0000
***************
*** 12,15 ****
<ImageButton android:id="@id/send_btn" android:layout_width="wrap_content" android:layout_height="wrap_content" android:contentDescription="@string/send_message" 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 ----
<ImageButton android:id="@id/send_btn" android:layout_width="wrap_content" android:layout_height="wrap_content" android:contentDescription="@string/send_message" 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 from/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali
*** from/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-03-19 16:21:24.198564843 +0000
--- to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-03-19 16:25:41.167887255 +0000
***************
*** 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
***************
*** 1205,1212 ****
--- 1205,1216 ----
.line 20
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 21
:cond_1
iget-object p2, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->m:Ljava/lang/Runnable;