forked from distok/cutthecord
nocamerabutton: fix a rare case where image button can be hidden
This commit is contained in:
parent
2b7fd2db8b
commit
2e54e52e9c
1 changed files with 39 additions and 4 deletions
|
@ -1,8 +1,9 @@
|
||||||
Only in com.discord-1144: build
|
Binary files com.discord-1144-base/build/apk/classes2.dex and com.discord-1144/build/apk/classes2.dex differ
|
||||||
Only in com.discord-1144: dist
|
Binary files com.discord-1144-base/build/apk/res/layout/flex_input_widget.xml and com.discord-1144/build/apk/res/layout/flex_input_widget.xml differ
|
||||||
|
Binary files com.discord-1144-base/dist/com.discord-1144.apk and com.discord-1144/dist/com.discord-1144.apk differ
|
||||||
diff -crB com.discord-1144-base/res/layout/flex_input_widget.xml com.discord-1144/res/layout/flex_input_widget.xml
|
diff -crB com.discord-1144-base/res/layout/flex_input_widget.xml com.discord-1144/res/layout/flex_input_widget.xml
|
||||||
*** com.discord-1144-base/res/layout/flex_input_widget.xml 2020-05-17 16:38:23.695244181 +0300
|
*** com.discord-1144-base/res/layout/flex_input_widget.xml 2020-05-17 16:38:23.695244181 +0300
|
||||||
--- com.discord-1144/res/layout/flex_input_widget.xml 2020-05-17 17:01:51.533974516 +0300
|
--- com.discord-1144/res/layout/flex_input_widget.xml 2020-05-17 18:35:31.125235116 +0300
|
||||||
***************
|
***************
|
||||||
*** 8,14 ****
|
*** 8,14 ****
|
||||||
<RelativeLayout android:animateLayoutChanges="true" style="@style/UiKit.ViewGroup">
|
<RelativeLayout android:animateLayoutChanges="true" style="@style/UiKit.ViewGroup">
|
||||||
|
@ -34,7 +35,24 @@ diff -crB com.discord-1144-base/res/layout/flex_input_widget.xml com.discord-114
|
||||||
! </LinearLayout>
|
! </LinearLayout>
|
||||||
diff -crB com.discord-1144-base/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali com.discord-1144/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali
|
diff -crB com.discord-1144-base/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali com.discord-1144/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali
|
||||||
*** com.discord-1144-base/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-05-17 16:38:28.831942620 +0300
|
*** com.discord-1144-base/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-05-17 16:38:28.831942620 +0300
|
||||||
--- com.discord-1144/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-05-17 18:34:07.081308249 +0300
|
--- com.discord-1144/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-05-17 18:39:05.170080075 +0300
|
||||||
|
***************
|
||||||
|
*** 793,799 ****
|
||||||
|
|
||||||
|
if-nez v4, :cond_4
|
||||||
|
|
||||||
|
! const/4 v10, 0x0
|
||||||
|
|
||||||
|
goto :goto_1
|
||||||
|
|
||||||
|
--- 793,799 ----
|
||||||
|
|
||||||
|
if-nez v4, :cond_4
|
||||||
|
|
||||||
|
! const/16 v10, 0x8
|
||||||
|
|
||||||
|
goto :goto_1
|
||||||
|
|
||||||
***************
|
***************
|
||||||
*** 810,816 ****
|
*** 810,816 ****
|
||||||
|
|
||||||
|
@ -52,4 +70,21 @@ diff -crB com.discord-1144-base/smali_classes2/com/lytefast/flexinput/fragment/F
|
||||||
|
|
||||||
goto :goto_2
|
goto :goto_2
|
||||||
|
|
||||||
|
***************
|
||||||
|
*** 832,838 ****
|
||||||
|
goto :goto_3
|
||||||
|
|
||||||
|
:cond_6
|
||||||
|
! const/16 v4, 0x8
|
||||||
|
|
||||||
|
:goto_3
|
||||||
|
invoke-virtual {v5, v4}, Landroid/view/View;->setVisibility(I)V
|
||||||
|
--- 832,838 ----
|
||||||
|
goto :goto_3
|
||||||
|
|
||||||
|
:cond_6
|
||||||
|
! const/16 v4, 0x0
|
||||||
|
|
||||||
|
:goto_3
|
||||||
|
invoke-virtual {v5, v4}, Landroid/view/View;->setVisibility(I)V
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue