This repository has been archived on 2021-08-24. You can view files and clone it, but cannot push or open issues or pull requests.
cutthecord/resources/patches/noemojibutton/1078.patch

73 lines
2.1 KiB
Diff
Raw Normal View History

2020-03-26 08:04:08 +00:00
Only in com.discord-1078/res/layout: flex_input_widget.xml.orig
Only in com.discord-1078/res/layout: flex_input_widget.xml.rej
diff -crB com.discord-1078-base/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali com.discord-1078/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali
*** com.discord-1078-base/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-03-26 10:35:58.548920718 +0300
--- com.discord-1078/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-03-26 10:55:56.124386411 +0300
***************
*** 183,189 ****
move-result-object p1
! const/4 v0, 0x0
invoke-static {p0, p1, v0}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;
--- 183,189 ----
move-result-object p1
! const/16 v0, 0x8
invoke-static {p0, p1, v0}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;
***************
*** 320,327 ****
--- 320,331 ----
const/4 v0, 0x0
+ const/16 v0, 0x8
+
invoke-virtual {p1, v0}, Landroid/widget/ImageView;->setVisibility(I)V
+ const/4 v0, 0x0
+
return-object p0
:cond_1
***************
*** 912,918 ****
.line 6
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->m:Landroidx/appcompat/widget/AppCompatEditText;
! const/4 v1, 0x0
const-string v2, "textEt"
--- 916,922 ----
.line 6
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->m:Landroidx/appcompat/widget/AppCompatEditText;
! const/16 v1, 0x8
const-string v2, "textEt"
***************
*** 1903,1910 ****
--- 1907,1918 ----
if-eqz p2, :cond_1
+ const/16 v1, 0x8
+
invoke-virtual {p2, v1}, Landroid/widget/ImageView;->setVisibility(I)V
+ const/4 v1, 0x0
+
goto :goto_1
:cond_1
Only in com.discord-1078/smali_classes2/com/lytefast/flexinput/fragment: FlexInputFragment.smali.orig
Only in com.discord-1078/smali_classes2/com/lytefast/flexinput/fragment: FlexInputFragment.smali.rej