forked from distok/cutthecord
Dockerise
This commit is contained in:
parent
8ec2dd75c2
commit
55e2e94b63
3921 changed files with 178 additions and 111 deletions
167
resources/patches/nocamerabutton/1078.patch
Normal file
167
resources/patches/nocamerabutton/1078.patch
Normal file
|
@ -0,0 +1,167 @@
|
|||
Only in com.discord-1078: build
|
||||
Only in com.discord-1078: dist
|
||||
diff -crB com.discord-1078-base/res/layout/flex_input_widget.xml com.discord-1078/res/layout/flex_input_widget.xml
|
||||
*** com.discord-1078-base/res/layout/flex_input_widget.xml 2020-03-26 10:35:48.218868000 +0300
|
||||
--- com.discord-1078/res/layout/flex_input_widget.xml 2020-03-26 17:16:45.636811844 +0300
|
||||
***************
|
||||
*** 8,23 ****
|
||||
<RelativeLayout android:paddingLeft="12.0dip" android:paddingTop="@dimen/uikit_spacing_medium" android:paddingRight="12.0dip" android:paddingBottom="@dimen/uikit_spacing_medium" style="@style/UiKit.ViewGroup">
|
||||
<LinearLayout android:id="@id/flex_input_left_btns_container" android:layout_width="wrap_content" android:layout_alignParentLeft="true" android:layout_centerVertical="true" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_expand_btn" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_carot_right_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/expand_buttons" style="@style/FlexInput.Input" />
|
||||
! <androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_camera_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_camera_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/camera" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_gallery_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_gallery_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/attachment_photos" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@id/flex_input_main_input_container" android:background="@drawable/drawable_bg_corners_20dp" android:paddingLeft="12.0dip" android:paddingRight="@dimen/uikit_spacing_small" android:layout_toLeftOf="@id/flex_input_send_btn_container" android:layout_toRightOf="@id/flex_input_left_btns_container" android:layout_centerVertical="true" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<com.lytefast.flexinput.widget.FlexEditText android:textColor="?colorTextNormal" android:textColorHint="?colorTextMuted" android:gravity="center_vertical" android:id="@id/flex_input_text_input" android:background="@android:color/transparent" android:focusable="true" android:focusableInTouchMode="true" android:layout_width="0.0dip" android:layout_height="wrap_content" android:hint="@string/send_a_message" android:maxLines="5" android:layout_weight="1.0" android:inputType="textAutoComplete|textMultiLine|textShortMessage" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_emoji_btn" android:background="@null" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:src="@drawable/ic_emoji_24dp" android:tint="?colorInteractiveNormal" android:drawablePadding="0.0dip" android:contentDescription="@string/emoji" style="@style/UiKit.ImageButton" />
|
||||
</LinearLayout>
|
||||
! <FrameLayout android:id="@id/flex_input_send_btn_container" android:background="@drawable/drawable_circle_black" android:visibility="gone" android:clipToPadding="false" android:layout_width="40.0dip" android:layout_height="40.0dip" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:foreground="?selectableItemBackgroundBorderless" android:layout_alignParentRight="true" android:layout_centerVertical="true" android:contentDescription="@string/send" android:backgroundTint="?chat_send_btn_bg">
|
||||
<ImageView android:layout_gravity="center" android:id="@id/flex_input_send_btn" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_send_24dp" android:tint="?chat_send_btn" android:importantForAccessibility="no" />
|
||||
</FrameLayout>
|
||||
</RelativeLayout>
|
||||
<FrameLayout android:orientation="vertical" android:id="@id/flex_input_emoji_container" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="@dimen/default_keyboard_height" />
|
||||
! </LinearLayout>
|
||||
\ No newline at end of file
|
||||
--- 8,23 ----
|
||||
<RelativeLayout android:paddingLeft="12.0dip" android:paddingTop="@dimen/uikit_spacing_medium" android:paddingRight="12.0dip" android:paddingBottom="@dimen/uikit_spacing_medium" style="@style/UiKit.ViewGroup">
|
||||
<LinearLayout android:id="@id/flex_input_left_btns_container" android:layout_width="wrap_content" android:layout_alignParentLeft="true" android:layout_centerVertical="true" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_expand_btn" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_carot_right_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/expand_buttons" style="@style/FlexInput.Input" />
|
||||
! <androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_camera_btn" android:visibility="gone" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_camera_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/camera" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_gallery_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_gallery_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/attachment_photos" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@id/flex_input_main_input_container" android:background="@drawable/drawable_bg_corners_20dp" android:paddingLeft="12.0dip" android:paddingRight="@dimen/uikit_spacing_small" android:layout_toLeftOf="@id/flex_input_send_btn_container" android:layout_toRightOf="@id/flex_input_left_btns_container" android:layout_centerVertical="true" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<com.lytefast.flexinput.widget.FlexEditText android:textColor="?colorTextNormal" android:textColorHint="?colorTextMuted" android:gravity="center_vertical" android:id="@id/flex_input_text_input" android:background="@android:color/transparent" android:focusable="true" android:focusableInTouchMode="true" android:layout_width="0.0dip" android:layout_height="wrap_content" android:hint="@string/send_a_message" android:maxLines="5" android:layout_weight="1.0" android:inputType="textAutoComplete|textMultiLine|textShortMessage" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_emoji_btn" android:background="@null" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:src="@drawable/ic_emoji_24dp" android:tint="?colorInteractiveNormal" android:drawablePadding="0.0dip" android:contentDescription="@string/emoji" style="@style/UiKit.ImageButton" />
|
||||
</LinearLayout>
|
||||
! <FrameLayout android:id="@id/flex_input_send_btn_container" android:background="@drawable/drawable_circle_black" android:clipToPadding="false" android:layout_width="40.0dip" android:layout_height="40.0dip" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:foreground="?selectableItemBackgroundBorderless" android:layout_alignParentRight="true" android:layout_centerVertical="true" android:contentDescription="@string/send" android:backgroundTint="?chat_send_btn_bg">
|
||||
<ImageView android:layout_gravity="center" android:id="@id/flex_input_send_btn" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_send_24dp" android:tint="?chat_send_btn" android:importantForAccessibility="no" />
|
||||
</FrameLayout>
|
||||
</RelativeLayout>
|
||||
<FrameLayout android:orientation="vertical" android:id="@id/flex_input_emoji_container" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="@dimen/default_keyboard_height" />
|
||||
! </LinearLayout>
|
||||
diff -crB com.discord-1078-base/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$f.smali com.discord-1078/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$f.smali
|
||||
*** com.discord-1078-base/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$f.smali 2020-03-26 10:35:58.538920667 +0300
|
||||
--- com.discord-1078/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$f.smali 2020-03-26 17:14:32.959391991 +0300
|
||||
***************
|
||||
*** 35,146 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final onFocusChange(Landroid/view/View;Z)V
|
||||
! .locals 5
|
||||
!
|
||||
! .line 1
|
||||
! iget-object p1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment$f;->d:Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
||||
!
|
||||
! xor-int/lit8 p2, p2, 0x1
|
||||
!
|
||||
! .line 2
|
||||
! iget-object v0, p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->l:Landroid/view/View;
|
||||
!
|
||||
! const/4 v1, 0x0
|
||||
!
|
||||
! if-eqz v0, :cond_7
|
||||
!
|
||||
! const/16 v2, 0x8
|
||||
!
|
||||
! const/4 v3, 0x0
|
||||
!
|
||||
! if-eqz p2, :cond_0
|
||||
!
|
||||
! const/16 v4, 0x8
|
||||
!
|
||||
! goto :goto_0
|
||||
!
|
||||
! :cond_0
|
||||
! const/4 v4, 0x0
|
||||
!
|
||||
! :goto_0
|
||||
! invoke-virtual {v0, v4}, Landroid/view/View;->setVisibility(I)V
|
||||
!
|
||||
! .line 3
|
||||
! iget-object v0, p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->p:Landroid/view/View;
|
||||
!
|
||||
! if-eqz v0, :cond_6
|
||||
!
|
||||
! if-eqz p2, :cond_1
|
||||
!
|
||||
! const/16 v4, 0x8
|
||||
!
|
||||
! goto :goto_1
|
||||
!
|
||||
! :cond_1
|
||||
! const/4 v4, 0x0
|
||||
!
|
||||
! :goto_1
|
||||
! invoke-virtual {v0, v4}, Landroid/view/View;->setVisibility(I)V
|
||||
!
|
||||
! .line 4
|
||||
! iget-object v0, p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->o:Landroid/view/View;
|
||||
!
|
||||
! if-eqz v0, :cond_5
|
||||
!
|
||||
! if-eqz p2, :cond_2
|
||||
!
|
||||
! const/4 v4, 0x0
|
||||
!
|
||||
! goto :goto_2
|
||||
!
|
||||
! :cond_2
|
||||
! const/16 v4, 0x8
|
||||
!
|
||||
! :goto_2
|
||||
! invoke-virtual {v0, v4}, Landroid/view/View;->setVisibility(I)V
|
||||
!
|
||||
! .line 5
|
||||
! iget-object p1, p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->n:Landroid/view/View;
|
||||
!
|
||||
! if-eqz p1, :cond_4
|
||||
!
|
||||
! if-eqz p2, :cond_3
|
||||
!
|
||||
! const/4 v2, 0x0
|
||||
!
|
||||
! :cond_3
|
||||
! invoke-virtual {p1, v2}, Landroid/view/View;->setVisibility(I)V
|
||||
|
||||
return-void
|
||||
-
|
||||
- :cond_4
|
||||
- const-string p1, "galleryBtn"
|
||||
-
|
||||
- invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
-
|
||||
- throw v1
|
||||
-
|
||||
- :cond_5
|
||||
- const-string p1, "cameraBtn"
|
||||
-
|
||||
- .line 6
|
||||
- invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
-
|
||||
- throw v1
|
||||
-
|
||||
- :cond_6
|
||||
- const-string p1, "expandBtn"
|
||||
-
|
||||
- .line 7
|
||||
- invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
-
|
||||
- throw v1
|
||||
-
|
||||
- :cond_7
|
||||
- const-string p1, "sendBtnContainer"
|
||||
-
|
||||
- .line 8
|
||||
- invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
-
|
||||
- throw v1
|
||||
.end method
|
||||
--- 35,41 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final onFocusChange(Landroid/view/View;Z)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
185
resources/patches/nocamerabutton/1084.patch
Normal file
185
resources/patches/nocamerabutton/1084.patch
Normal file
|
@ -0,0 +1,185 @@
|
|||
diff -crB com.discord-1084-base/res/layout/flex_input_widget.xml com.discord-1084/res/layout/flex_input_widget.xml
|
||||
*** com.discord-1084-base/res/layout/flex_input_widget.xml 2020-03-28 05:14:07.209137278 +0300
|
||||
--- com.discord-1084/res/layout/flex_input_widget.xml 2020-03-28 05:15:16.036289982 +0300
|
||||
***************
|
||||
*** 8,21 ****
|
||||
<RelativeLayout android:paddingLeft="5.0dip" android:paddingTop="@dimen/uikit_spacing_medium" android:paddingRight="12.0dip" android:paddingBottom="@dimen/uikit_spacing_medium" style="@style/UiKit.ViewGroup">
|
||||
<LinearLayout android:id="@id/flex_input_left_btns_container" android:layout_width="wrap_content" android:layout_alignParentLeft="true" android:layout_centerVertical="true" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_expand_btn" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_carot_right_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/expand_buttons" style="@style/FlexInput.Input" />
|
||||
! <androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_camera_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_camera_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/camera" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_gallery_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_gallery_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/attachment_photos" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@id/flex_input_main_input_container" android:background="@drawable/drawable_bg_corners_20dp" android:paddingLeft="12.0dip" android:paddingRight="@dimen/uikit_spacing_small" android:layout_toLeftOf="@id/flex_input_send_btn_container" android:layout_toRightOf="@id/flex_input_left_btns_container" android:layout_centerVertical="true" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<com.lytefast.flexinput.widget.FlexEditText android:textColor="?colorTextNormal" android:textColorHint="?colorTextMuted" android:gravity="center_vertical" android:id="@id/flex_input_text_input" android:background="@android:color/transparent" android:focusable="true" android:focusableInTouchMode="true" android:layout_width="0.0dip" android:layout_height="wrap_content" android:hint="@string/send_a_message" android:maxLines="5" android:layout_weight="1.0" android:inputType="textAutoComplete|textMultiLine|textShortMessage" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_emoji_btn" android:background="@null" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:src="@drawable/ic_emoji_24dp" android:tint="?colorInteractiveNormal" android:drawablePadding="0.0dip" android:contentDescription="@string/emoji" style="@style/UiKit.ImageButton" />
|
||||
</LinearLayout>
|
||||
! <FrameLayout android:id="@id/flex_input_send_btn_container" android:background="@drawable/drawable_circle_black" android:visibility="gone" android:clipToPadding="false" android:layout_width="40.0dip" android:layout_height="40.0dip" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:layout_alignParentRight="true" android:layout_centerVertical="true" android:contentDescription="@string/send_message" android:backgroundTint="?chat_send_btn_bg">
|
||||
<ImageView android:layout_gravity="center" android:id="@id/flex_input_send_btn_image" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_send_24dp" android:tint="?chat_send_btn" android:importantForAccessibility="no" />
|
||||
</FrameLayout>
|
||||
</RelativeLayout>
|
||||
--- 8,21 ----
|
||||
<RelativeLayout android:paddingLeft="5.0dip" android:paddingTop="@dimen/uikit_spacing_medium" android:paddingRight="12.0dip" android:paddingBottom="@dimen/uikit_spacing_medium" style="@style/UiKit.ViewGroup">
|
||||
<LinearLayout android:id="@id/flex_input_left_btns_container" android:layout_width="wrap_content" android:layout_alignParentLeft="true" android:layout_centerVertical="true" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_expand_btn" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_carot_right_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/expand_buttons" style="@style/FlexInput.Input" />
|
||||
! <androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_camera_btn" android:visibility="gone" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_camera_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/camera" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_gallery_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_gallery_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/attachment_photos" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@id/flex_input_main_input_container" android:background="@drawable/drawable_bg_corners_20dp" android:paddingLeft="12.0dip" android:paddingRight="@dimen/uikit_spacing_small" android:layout_toLeftOf="@id/flex_input_send_btn_container" android:layout_toRightOf="@id/flex_input_left_btns_container" android:layout_centerVertical="true" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<com.lytefast.flexinput.widget.FlexEditText android:textColor="?colorTextNormal" android:textColorHint="?colorTextMuted" android:gravity="center_vertical" android:id="@id/flex_input_text_input" android:background="@android:color/transparent" android:focusable="true" android:focusableInTouchMode="true" android:layout_width="0.0dip" android:layout_height="wrap_content" android:hint="@string/send_a_message" android:maxLines="5" android:layout_weight="1.0" android:inputType="textAutoComplete|textMultiLine|textShortMessage" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_emoji_btn" android:background="@null" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:src="@drawable/ic_emoji_24dp" android:tint="?colorInteractiveNormal" android:drawablePadding="0.0dip" android:contentDescription="@string/emoji" style="@style/UiKit.ImageButton" />
|
||||
</LinearLayout>
|
||||
! <FrameLayout android:id="@id/flex_input_send_btn_container" android:background="@drawable/drawable_circle_black" android:clipToPadding="false" android:layout_width="40.0dip" android:layout_height="40.0dip" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:layout_alignParentRight="true" android:layout_centerVertical="true" android:contentDescription="@string/send_message" android:backgroundTint="?chat_send_btn_bg">
|
||||
<ImageView android:layout_gravity="center" android:id="@id/flex_input_send_btn_image" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_send_24dp" android:tint="?chat_send_btn" android:importantForAccessibility="no" />
|
||||
</FrameLayout>
|
||||
</RelativeLayout>
|
||||
Only in com.discord-1084/res/layout: flex_input_widget.xml.orig
|
||||
Only in com.discord-1084/res/layout: flex_input_widget.xml.rej
|
||||
diff -crB com.discord-1084-base/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$f.smali com.discord-1084/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$f.smali
|
||||
*** com.discord-1084-base/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$f.smali 2020-03-28 05:14:11.475834075 +0300
|
||||
--- com.discord-1084/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$f.smali 2020-03-28 05:16:08.203325040 +0300
|
||||
***************
|
||||
*** 35,167 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final onFocusChange(Landroid/view/View;Z)V
|
||||
! .locals 5
|
||||
!
|
||||
! .line 1
|
||||
! iget-object p1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment$f;->d:Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
||||
!
|
||||
! xor-int/lit8 p2, p2, 0x1
|
||||
!
|
||||
! .line 2
|
||||
! iget-object v0, p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->l:Landroid/view/View;
|
||||
!
|
||||
! const/4 v1, 0x0
|
||||
!
|
||||
! if-eqz v0, :cond_9
|
||||
!
|
||||
! const/16 v2, 0x8
|
||||
!
|
||||
! const/4 v3, 0x0
|
||||
!
|
||||
! if-eqz p2, :cond_2
|
||||
!
|
||||
! iget-object v4, p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->u:Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;
|
||||
!
|
||||
! if-eqz v4, :cond_1
|
||||
!
|
||||
! invoke-virtual {v4}, Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;->getItemCount()I
|
||||
!
|
||||
! move-result v4
|
||||
!
|
||||
! if-lez v4, :cond_0
|
||||
!
|
||||
! goto :goto_0
|
||||
!
|
||||
! :cond_0
|
||||
! const/16 v4, 0x8
|
||||
!
|
||||
! goto :goto_1
|
||||
!
|
||||
! :cond_1
|
||||
! const-string p1, "attachmentPreviewAdapter"
|
||||
!
|
||||
! invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
!
|
||||
! throw v1
|
||||
!
|
||||
! :cond_2
|
||||
! :goto_0
|
||||
! const/4 v4, 0x0
|
||||
!
|
||||
! :goto_1
|
||||
! invoke-virtual {v0, v4}, Landroid/view/View;->setVisibility(I)V
|
||||
!
|
||||
! .line 3
|
||||
! iget-object v0, p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->p:Landroid/view/View;
|
||||
!
|
||||
! if-eqz v0, :cond_8
|
||||
!
|
||||
! if-eqz p2, :cond_3
|
||||
!
|
||||
! const/16 v4, 0x8
|
||||
!
|
||||
! goto :goto_2
|
||||
!
|
||||
! :cond_3
|
||||
! const/4 v4, 0x0
|
||||
!
|
||||
! :goto_2
|
||||
! invoke-virtual {v0, v4}, Landroid/view/View;->setVisibility(I)V
|
||||
!
|
||||
! .line 4
|
||||
! iget-object v0, p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->o:Landroid/view/View;
|
||||
!
|
||||
! if-eqz v0, :cond_7
|
||||
!
|
||||
! if-eqz p2, :cond_4
|
||||
!
|
||||
! const/4 v4, 0x0
|
||||
!
|
||||
! goto :goto_3
|
||||
!
|
||||
! :cond_4
|
||||
! const/16 v4, 0x8
|
||||
!
|
||||
! :goto_3
|
||||
! invoke-virtual {v0, v4}, Landroid/view/View;->setVisibility(I)V
|
||||
!
|
||||
! .line 5
|
||||
! iget-object p1, p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->n:Landroid/view/View;
|
||||
!
|
||||
! if-eqz p1, :cond_6
|
||||
!
|
||||
! if-eqz p2, :cond_5
|
||||
!
|
||||
! const/4 v2, 0x0
|
||||
!
|
||||
! :cond_5
|
||||
! invoke-virtual {p1, v2}, Landroid/view/View;->setVisibility(I)V
|
||||
|
||||
return-void
|
||||
-
|
||||
- :cond_6
|
||||
- const-string p1, "galleryBtn"
|
||||
-
|
||||
- invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
-
|
||||
- throw v1
|
||||
-
|
||||
- :cond_7
|
||||
- const-string p1, "cameraBtn"
|
||||
-
|
||||
- .line 6
|
||||
- invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
-
|
||||
- throw v1
|
||||
-
|
||||
- :cond_8
|
||||
- const-string p1, "expandBtn"
|
||||
-
|
||||
- .line 7
|
||||
- invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
-
|
||||
- throw v1
|
||||
-
|
||||
- :cond_9
|
||||
- const-string p1, "sendBtn"
|
||||
-
|
||||
- .line 8
|
||||
- invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
-
|
||||
- throw v1
|
||||
.end method
|
||||
--- 35,41 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final onFocusChange(Landroid/view/View;Z)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
Only in com.discord-1084/smali_classes2/com/lytefast/flexinput/fragment: FlexInputFragment$f.smali.orig
|
||||
Only in com.discord-1084/smali_classes2/com/lytefast/flexinput/fragment: FlexInputFragment$f.smali.rej
|
||||
|
185
resources/patches/nocamerabutton/1085.patch
Normal file
185
resources/patches/nocamerabutton/1085.patch
Normal file
|
@ -0,0 +1,185 @@
|
|||
diff -crB com.discord-1084-base/res/layout/flex_input_widget.xml com.discord-1084/res/layout/flex_input_widget.xml
|
||||
*** com.discord-1084-base/res/layout/flex_input_widget.xml 2020-03-28 05:14:07.209137278 +0300
|
||||
--- com.discord-1084/res/layout/flex_input_widget.xml 2020-03-28 05:15:16.036289982 +0300
|
||||
***************
|
||||
*** 8,21 ****
|
||||
<RelativeLayout android:paddingLeft="5.0dip" android:paddingTop="@dimen/uikit_spacing_medium" android:paddingRight="12.0dip" android:paddingBottom="@dimen/uikit_spacing_medium" style="@style/UiKit.ViewGroup">
|
||||
<LinearLayout android:id="@id/flex_input_left_btns_container" android:layout_width="wrap_content" android:layout_alignParentLeft="true" android:layout_centerVertical="true" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_expand_btn" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_carot_right_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/expand_buttons" style="@style/FlexInput.Input" />
|
||||
! <androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_camera_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_camera_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/camera" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_gallery_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_gallery_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/attachment_photos" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@id/flex_input_main_input_container" android:background="@drawable/drawable_bg_corners_20dp" android:paddingLeft="12.0dip" android:paddingRight="@dimen/uikit_spacing_small" android:layout_toLeftOf="@id/flex_input_send_btn_container" android:layout_toRightOf="@id/flex_input_left_btns_container" android:layout_centerVertical="true" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<com.lytefast.flexinput.widget.FlexEditText android:textColor="?colorTextNormal" android:textColorHint="?colorTextMuted" android:gravity="center_vertical" android:id="@id/flex_input_text_input" android:background="@android:color/transparent" android:focusable="true" android:focusableInTouchMode="true" android:layout_width="0.0dip" android:layout_height="wrap_content" android:hint="@string/send_a_message" android:maxLines="5" android:layout_weight="1.0" android:inputType="textAutoComplete|textMultiLine|textShortMessage" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_emoji_btn" android:background="@null" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:src="@drawable/ic_emoji_24dp" android:tint="?colorInteractiveNormal" android:drawablePadding="0.0dip" android:contentDescription="@string/emoji" style="@style/UiKit.ImageButton" />
|
||||
</LinearLayout>
|
||||
! <FrameLayout android:id="@id/flex_input_send_btn_container" android:background="@drawable/drawable_circle_black" android:visibility="gone" android:clipToPadding="false" android:layout_width="40.0dip" android:layout_height="40.0dip" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:layout_alignParentRight="true" android:layout_centerVertical="true" android:contentDescription="@string/send_message" android:backgroundTint="?chat_send_btn_bg">
|
||||
<ImageView android:layout_gravity="center" android:id="@id/flex_input_send_btn_image" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_send_24dp" android:tint="?chat_send_btn" android:importantForAccessibility="no" />
|
||||
</FrameLayout>
|
||||
</RelativeLayout>
|
||||
--- 8,21 ----
|
||||
<RelativeLayout android:paddingLeft="5.0dip" android:paddingTop="@dimen/uikit_spacing_medium" android:paddingRight="12.0dip" android:paddingBottom="@dimen/uikit_spacing_medium" style="@style/UiKit.ViewGroup">
|
||||
<LinearLayout android:id="@id/flex_input_left_btns_container" android:layout_width="wrap_content" android:layout_alignParentLeft="true" android:layout_centerVertical="true" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_expand_btn" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_carot_right_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/expand_buttons" style="@style/FlexInput.Input" />
|
||||
! <androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_camera_btn" android:visibility="gone" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_camera_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/camera" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_gallery_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_gallery_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/attachment_photos" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@id/flex_input_main_input_container" android:background="@drawable/drawable_bg_corners_20dp" android:paddingLeft="12.0dip" android:paddingRight="@dimen/uikit_spacing_small" android:layout_toLeftOf="@id/flex_input_send_btn_container" android:layout_toRightOf="@id/flex_input_left_btns_container" android:layout_centerVertical="true" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<com.lytefast.flexinput.widget.FlexEditText android:textColor="?colorTextNormal" android:textColorHint="?colorTextMuted" android:gravity="center_vertical" android:id="@id/flex_input_text_input" android:background="@android:color/transparent" android:focusable="true" android:focusableInTouchMode="true" android:layout_width="0.0dip" android:layout_height="wrap_content" android:hint="@string/send_a_message" android:maxLines="5" android:layout_weight="1.0" android:inputType="textAutoComplete|textMultiLine|textShortMessage" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_emoji_btn" android:background="@null" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:src="@drawable/ic_emoji_24dp" android:tint="?colorInteractiveNormal" android:drawablePadding="0.0dip" android:contentDescription="@string/emoji" style="@style/UiKit.ImageButton" />
|
||||
</LinearLayout>
|
||||
! <FrameLayout android:id="@id/flex_input_send_btn_container" android:background="@drawable/drawable_circle_black" android:clipToPadding="false" android:layout_width="40.0dip" android:layout_height="40.0dip" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:layout_alignParentRight="true" android:layout_centerVertical="true" android:contentDescription="@string/send_message" android:backgroundTint="?chat_send_btn_bg">
|
||||
<ImageView android:layout_gravity="center" android:id="@id/flex_input_send_btn_image" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_send_24dp" android:tint="?chat_send_btn" android:importantForAccessibility="no" />
|
||||
</FrameLayout>
|
||||
</RelativeLayout>
|
||||
Only in com.discord-1084/res/layout: flex_input_widget.xml.orig
|
||||
Only in com.discord-1084/res/layout: flex_input_widget.xml.rej
|
||||
diff -crB com.discord-1084-base/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$f.smali com.discord-1084/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$f.smali
|
||||
*** com.discord-1084-base/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$f.smali 2020-03-28 05:14:11.475834075 +0300
|
||||
--- com.discord-1084/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$f.smali 2020-03-28 05:16:08.203325040 +0300
|
||||
***************
|
||||
*** 35,167 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final onFocusChange(Landroid/view/View;Z)V
|
||||
! .locals 5
|
||||
!
|
||||
! .line 1
|
||||
! iget-object p1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment$f;->d:Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
||||
!
|
||||
! xor-int/lit8 p2, p2, 0x1
|
||||
!
|
||||
! .line 2
|
||||
! iget-object v0, p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->l:Landroid/view/View;
|
||||
!
|
||||
! const/4 v1, 0x0
|
||||
!
|
||||
! if-eqz v0, :cond_9
|
||||
!
|
||||
! const/16 v2, 0x8
|
||||
!
|
||||
! const/4 v3, 0x0
|
||||
!
|
||||
! if-eqz p2, :cond_2
|
||||
!
|
||||
! iget-object v4, p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->u:Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;
|
||||
!
|
||||
! if-eqz v4, :cond_1
|
||||
!
|
||||
! invoke-virtual {v4}, Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;->getItemCount()I
|
||||
!
|
||||
! move-result v4
|
||||
!
|
||||
! if-lez v4, :cond_0
|
||||
!
|
||||
! goto :goto_0
|
||||
!
|
||||
! :cond_0
|
||||
! const/16 v4, 0x8
|
||||
!
|
||||
! goto :goto_1
|
||||
!
|
||||
! :cond_1
|
||||
! const-string p1, "attachmentPreviewAdapter"
|
||||
!
|
||||
! invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
!
|
||||
! throw v1
|
||||
!
|
||||
! :cond_2
|
||||
! :goto_0
|
||||
! const/4 v4, 0x0
|
||||
!
|
||||
! :goto_1
|
||||
! invoke-virtual {v0, v4}, Landroid/view/View;->setVisibility(I)V
|
||||
!
|
||||
! .line 3
|
||||
! iget-object v0, p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->p:Landroid/view/View;
|
||||
!
|
||||
! if-eqz v0, :cond_8
|
||||
!
|
||||
! if-eqz p2, :cond_3
|
||||
!
|
||||
! const/16 v4, 0x8
|
||||
!
|
||||
! goto :goto_2
|
||||
!
|
||||
! :cond_3
|
||||
! const/4 v4, 0x0
|
||||
!
|
||||
! :goto_2
|
||||
! invoke-virtual {v0, v4}, Landroid/view/View;->setVisibility(I)V
|
||||
!
|
||||
! .line 4
|
||||
! iget-object v0, p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->o:Landroid/view/View;
|
||||
!
|
||||
! if-eqz v0, :cond_7
|
||||
!
|
||||
! if-eqz p2, :cond_4
|
||||
!
|
||||
! const/4 v4, 0x0
|
||||
!
|
||||
! goto :goto_3
|
||||
!
|
||||
! :cond_4
|
||||
! const/16 v4, 0x8
|
||||
!
|
||||
! :goto_3
|
||||
! invoke-virtual {v0, v4}, Landroid/view/View;->setVisibility(I)V
|
||||
!
|
||||
! .line 5
|
||||
! iget-object p1, p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->n:Landroid/view/View;
|
||||
!
|
||||
! if-eqz p1, :cond_6
|
||||
!
|
||||
! if-eqz p2, :cond_5
|
||||
!
|
||||
! const/4 v2, 0x0
|
||||
!
|
||||
! :cond_5
|
||||
! invoke-virtual {p1, v2}, Landroid/view/View;->setVisibility(I)V
|
||||
|
||||
return-void
|
||||
-
|
||||
- :cond_6
|
||||
- const-string p1, "galleryBtn"
|
||||
-
|
||||
- invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
-
|
||||
- throw v1
|
||||
-
|
||||
- :cond_7
|
||||
- const-string p1, "cameraBtn"
|
||||
-
|
||||
- .line 6
|
||||
- invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
-
|
||||
- throw v1
|
||||
-
|
||||
- :cond_8
|
||||
- const-string p1, "expandBtn"
|
||||
-
|
||||
- .line 7
|
||||
- invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
-
|
||||
- throw v1
|
||||
-
|
||||
- :cond_9
|
||||
- const-string p1, "sendBtn"
|
||||
-
|
||||
- .line 8
|
||||
- invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
-
|
||||
- throw v1
|
||||
.end method
|
||||
--- 35,41 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final onFocusChange(Landroid/view/View;Z)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
Only in com.discord-1084/smali_classes2/com/lytefast/flexinput/fragment: FlexInputFragment$f.smali.orig
|
||||
Only in com.discord-1084/smali_classes2/com/lytefast/flexinput/fragment: FlexInputFragment$f.smali.rej
|
||||
|
185
resources/patches/nocamerabutton/1087.patch
Normal file
185
resources/patches/nocamerabutton/1087.patch
Normal file
|
@ -0,0 +1,185 @@
|
|||
diff -crB com.discord-1084-base/res/layout/flex_input_widget.xml com.discord-1084/res/layout/flex_input_widget.xml
|
||||
*** com.discord-1084-base/res/layout/flex_input_widget.xml 2020-03-28 05:14:07.209137278 +0300
|
||||
--- com.discord-1084/res/layout/flex_input_widget.xml 2020-03-28 05:15:16.036289982 +0300
|
||||
***************
|
||||
*** 8,21 ****
|
||||
<RelativeLayout android:paddingLeft="5.0dip" android:paddingTop="@dimen/uikit_spacing_medium" android:paddingRight="12.0dip" android:paddingBottom="@dimen/uikit_spacing_medium" style="@style/UiKit.ViewGroup">
|
||||
<LinearLayout android:id="@id/flex_input_left_btns_container" android:layout_width="wrap_content" android:layout_alignParentLeft="true" android:layout_centerVertical="true" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_expand_btn" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_carot_right_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/expand_buttons" style="@style/FlexInput.Input" />
|
||||
! <androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_camera_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_camera_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/camera" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_gallery_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_gallery_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/attachment_photos" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@id/flex_input_main_input_container" android:background="@drawable/drawable_bg_corners_20dp" android:paddingLeft="12.0dip" android:paddingRight="@dimen/uikit_spacing_small" android:layout_toLeftOf="@id/flex_input_send_btn_container" android:layout_toRightOf="@id/flex_input_left_btns_container" android:layout_centerVertical="true" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<com.lytefast.flexinput.widget.FlexEditText android:textColor="?colorTextNormal" android:textColorHint="?colorTextMuted" android:gravity="center_vertical" android:id="@id/flex_input_text_input" android:background="@android:color/transparent" android:focusable="true" android:focusableInTouchMode="true" android:layout_width="0.0dip" android:layout_height="wrap_content" android:hint="@string/send_a_message" android:maxLines="5" android:layout_weight="1.0" android:inputType="textAutoComplete|textMultiLine|textShortMessage" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_emoji_btn" android:background="@null" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:src="@drawable/ic_emoji_24dp" android:tint="?colorInteractiveNormal" android:drawablePadding="0.0dip" android:contentDescription="@string/emoji" style="@style/UiKit.ImageButton" />
|
||||
</LinearLayout>
|
||||
! <FrameLayout android:id="@id/flex_input_send_btn_container" android:background="@drawable/drawable_circle_black" android:visibility="gone" android:clipToPadding="false" android:layout_width="40.0dip" android:layout_height="40.0dip" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:layout_alignParentRight="true" android:layout_centerVertical="true" android:contentDescription="@string/send_message" android:backgroundTint="?chat_send_btn_bg">
|
||||
<ImageView android:layout_gravity="center" android:id="@id/flex_input_send_btn_image" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_send_24dp" android:tint="?chat_send_btn" android:importantForAccessibility="no" />
|
||||
</FrameLayout>
|
||||
</RelativeLayout>
|
||||
--- 8,21 ----
|
||||
<RelativeLayout android:paddingLeft="5.0dip" android:paddingTop="@dimen/uikit_spacing_medium" android:paddingRight="12.0dip" android:paddingBottom="@dimen/uikit_spacing_medium" style="@style/UiKit.ViewGroup">
|
||||
<LinearLayout android:id="@id/flex_input_left_btns_container" android:layout_width="wrap_content" android:layout_alignParentLeft="true" android:layout_centerVertical="true" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_expand_btn" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_carot_right_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/expand_buttons" style="@style/FlexInput.Input" />
|
||||
! <androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_camera_btn" android:visibility="gone" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_camera_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/camera" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_gallery_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_gallery_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/attachment_photos" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@id/flex_input_main_input_container" android:background="@drawable/drawable_bg_corners_20dp" android:paddingLeft="12.0dip" android:paddingRight="@dimen/uikit_spacing_small" android:layout_toLeftOf="@id/flex_input_send_btn_container" android:layout_toRightOf="@id/flex_input_left_btns_container" android:layout_centerVertical="true" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<com.lytefast.flexinput.widget.FlexEditText android:textColor="?colorTextNormal" android:textColorHint="?colorTextMuted" android:gravity="center_vertical" android:id="@id/flex_input_text_input" android:background="@android:color/transparent" android:focusable="true" android:focusableInTouchMode="true" android:layout_width="0.0dip" android:layout_height="wrap_content" android:hint="@string/send_a_message" android:maxLines="5" android:layout_weight="1.0" android:inputType="textAutoComplete|textMultiLine|textShortMessage" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_emoji_btn" android:background="@null" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:src="@drawable/ic_emoji_24dp" android:tint="?colorInteractiveNormal" android:drawablePadding="0.0dip" android:contentDescription="@string/emoji" style="@style/UiKit.ImageButton" />
|
||||
</LinearLayout>
|
||||
! <FrameLayout android:id="@id/flex_input_send_btn_container" android:background="@drawable/drawable_circle_black" android:clipToPadding="false" android:layout_width="40.0dip" android:layout_height="40.0dip" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:layout_alignParentRight="true" android:layout_centerVertical="true" android:contentDescription="@string/send_message" android:backgroundTint="?chat_send_btn_bg">
|
||||
<ImageView android:layout_gravity="center" android:id="@id/flex_input_send_btn_image" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_send_24dp" android:tint="?chat_send_btn" android:importantForAccessibility="no" />
|
||||
</FrameLayout>
|
||||
</RelativeLayout>
|
||||
Only in com.discord-1084/res/layout: flex_input_widget.xml.orig
|
||||
Only in com.discord-1084/res/layout: flex_input_widget.xml.rej
|
||||
diff -crB com.discord-1084-base/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$f.smali com.discord-1084/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$f.smali
|
||||
*** com.discord-1084-base/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$f.smali 2020-03-28 05:14:11.475834075 +0300
|
||||
--- com.discord-1084/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$f.smali 2020-03-28 05:16:08.203325040 +0300
|
||||
***************
|
||||
*** 35,167 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final onFocusChange(Landroid/view/View;Z)V
|
||||
! .locals 5
|
||||
!
|
||||
! .line 1
|
||||
! iget-object p1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment$f;->d:Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
||||
!
|
||||
! xor-int/lit8 p2, p2, 0x1
|
||||
!
|
||||
! .line 2
|
||||
! iget-object v0, p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->l:Landroid/view/View;
|
||||
!
|
||||
! const/4 v1, 0x0
|
||||
!
|
||||
! if-eqz v0, :cond_9
|
||||
!
|
||||
! const/16 v2, 0x8
|
||||
!
|
||||
! const/4 v3, 0x0
|
||||
!
|
||||
! if-eqz p2, :cond_2
|
||||
!
|
||||
! iget-object v4, p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->u:Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;
|
||||
!
|
||||
! if-eqz v4, :cond_1
|
||||
!
|
||||
! invoke-virtual {v4}, Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;->getItemCount()I
|
||||
!
|
||||
! move-result v4
|
||||
!
|
||||
! if-lez v4, :cond_0
|
||||
!
|
||||
! goto :goto_0
|
||||
!
|
||||
! :cond_0
|
||||
! const/16 v4, 0x8
|
||||
!
|
||||
! goto :goto_1
|
||||
!
|
||||
! :cond_1
|
||||
! const-string p1, "attachmentPreviewAdapter"
|
||||
!
|
||||
! invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
!
|
||||
! throw v1
|
||||
!
|
||||
! :cond_2
|
||||
! :goto_0
|
||||
! const/4 v4, 0x0
|
||||
!
|
||||
! :goto_1
|
||||
! invoke-virtual {v0, v4}, Landroid/view/View;->setVisibility(I)V
|
||||
!
|
||||
! .line 3
|
||||
! iget-object v0, p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->p:Landroid/view/View;
|
||||
!
|
||||
! if-eqz v0, :cond_8
|
||||
!
|
||||
! if-eqz p2, :cond_3
|
||||
!
|
||||
! const/16 v4, 0x8
|
||||
!
|
||||
! goto :goto_2
|
||||
!
|
||||
! :cond_3
|
||||
! const/4 v4, 0x0
|
||||
!
|
||||
! :goto_2
|
||||
! invoke-virtual {v0, v4}, Landroid/view/View;->setVisibility(I)V
|
||||
!
|
||||
! .line 4
|
||||
! iget-object v0, p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->o:Landroid/view/View;
|
||||
!
|
||||
! if-eqz v0, :cond_7
|
||||
!
|
||||
! if-eqz p2, :cond_4
|
||||
!
|
||||
! const/4 v4, 0x0
|
||||
!
|
||||
! goto :goto_3
|
||||
!
|
||||
! :cond_4
|
||||
! const/16 v4, 0x8
|
||||
!
|
||||
! :goto_3
|
||||
! invoke-virtual {v0, v4}, Landroid/view/View;->setVisibility(I)V
|
||||
!
|
||||
! .line 5
|
||||
! iget-object p1, p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->n:Landroid/view/View;
|
||||
!
|
||||
! if-eqz p1, :cond_6
|
||||
!
|
||||
! if-eqz p2, :cond_5
|
||||
!
|
||||
! const/4 v2, 0x0
|
||||
!
|
||||
! :cond_5
|
||||
! invoke-virtual {p1, v2}, Landroid/view/View;->setVisibility(I)V
|
||||
|
||||
return-void
|
||||
-
|
||||
- :cond_6
|
||||
- const-string p1, "galleryBtn"
|
||||
-
|
||||
- invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
-
|
||||
- throw v1
|
||||
-
|
||||
- :cond_7
|
||||
- const-string p1, "cameraBtn"
|
||||
-
|
||||
- .line 6
|
||||
- invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
-
|
||||
- throw v1
|
||||
-
|
||||
- :cond_8
|
||||
- const-string p1, "expandBtn"
|
||||
-
|
||||
- .line 7
|
||||
- invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
-
|
||||
- throw v1
|
||||
-
|
||||
- :cond_9
|
||||
- const-string p1, "sendBtn"
|
||||
-
|
||||
- .line 8
|
||||
- invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
-
|
||||
- throw v1
|
||||
.end method
|
||||
--- 35,41 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final onFocusChange(Landroid/view/View;Z)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
Only in com.discord-1084/smali_classes2/com/lytefast/flexinput/fragment: FlexInputFragment$f.smali.orig
|
||||
Only in com.discord-1084/smali_classes2/com/lytefast/flexinput/fragment: FlexInputFragment$f.smali.rej
|
||||
|
185
resources/patches/nocamerabutton/1091.patch
Normal file
185
resources/patches/nocamerabutton/1091.patch
Normal file
|
@ -0,0 +1,185 @@
|
|||
diff -crB com.discord-1084-base/res/layout/flex_input_widget.xml com.discord-1084/res/layout/flex_input_widget.xml
|
||||
*** com.discord-1084-base/res/layout/flex_input_widget.xml 2020-03-28 05:14:07.209137278 +0300
|
||||
--- com.discord-1084/res/layout/flex_input_widget.xml 2020-03-28 05:15:16.036289982 +0300
|
||||
***************
|
||||
*** 8,21 ****
|
||||
<RelativeLayout android:paddingLeft="5.0dip" android:paddingTop="@dimen/uikit_spacing_medium" android:paddingRight="12.0dip" android:paddingBottom="@dimen/uikit_spacing_medium" style="@style/UiKit.ViewGroup">
|
||||
<LinearLayout android:id="@id/flex_input_left_btns_container" android:layout_width="wrap_content" android:layout_alignParentLeft="true" android:layout_centerVertical="true" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_expand_btn" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_carot_right_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/expand_buttons" style="@style/FlexInput.Input" />
|
||||
! <androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_camera_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_camera_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/camera" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_gallery_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_gallery_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/attachment_photos" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@id/flex_input_main_input_container" android:background="@drawable/drawable_bg_corners_20dp" android:paddingLeft="12.0dip" android:paddingRight="@dimen/uikit_spacing_small" android:layout_toLeftOf="@id/flex_input_send_btn_container" android:layout_toRightOf="@id/flex_input_left_btns_container" android:layout_centerVertical="true" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<com.lytefast.flexinput.widget.FlexEditText android:textColor="?colorTextNormal" android:textColorHint="?colorTextMuted" android:gravity="center_vertical" android:id="@id/flex_input_text_input" android:background="@android:color/transparent" android:focusable="true" android:focusableInTouchMode="true" android:layout_width="0.0dip" android:layout_height="wrap_content" android:hint="@string/send_a_message" android:maxLines="5" android:layout_weight="1.0" android:inputType="textAutoComplete|textMultiLine|textShortMessage" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_emoji_btn" android:background="@null" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:src="@drawable/ic_emoji_24dp" android:tint="?colorInteractiveNormal" android:drawablePadding="0.0dip" android:contentDescription="@string/emoji" style="@style/UiKit.ImageButton" />
|
||||
</LinearLayout>
|
||||
! <FrameLayout android:id="@id/flex_input_send_btn_container" android:background="@drawable/drawable_circle_black" android:visibility="gone" android:clipToPadding="false" android:layout_width="40.0dip" android:layout_height="40.0dip" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:layout_alignParentRight="true" android:layout_centerVertical="true" android:contentDescription="@string/send_message" android:backgroundTint="?chat_send_btn_bg">
|
||||
<ImageView android:layout_gravity="center" android:id="@id/flex_input_send_btn_image" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_send_24dp" android:tint="?chat_send_btn" android:importantForAccessibility="no" />
|
||||
</FrameLayout>
|
||||
</RelativeLayout>
|
||||
--- 8,21 ----
|
||||
<RelativeLayout android:paddingLeft="5.0dip" android:paddingTop="@dimen/uikit_spacing_medium" android:paddingRight="12.0dip" android:paddingBottom="@dimen/uikit_spacing_medium" style="@style/UiKit.ViewGroup">
|
||||
<LinearLayout android:id="@id/flex_input_left_btns_container" android:layout_width="wrap_content" android:layout_alignParentLeft="true" android:layout_centerVertical="true" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_expand_btn" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_carot_right_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/expand_buttons" style="@style/FlexInput.Input" />
|
||||
! <androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_camera_btn" android:visibility="gone" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_camera_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/camera" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_gallery_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_gallery_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/attachment_photos" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@id/flex_input_main_input_container" android:background="@drawable/drawable_bg_corners_20dp" android:paddingLeft="12.0dip" android:paddingRight="@dimen/uikit_spacing_small" android:layout_toLeftOf="@id/flex_input_send_btn_container" android:layout_toRightOf="@id/flex_input_left_btns_container" android:layout_centerVertical="true" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<com.lytefast.flexinput.widget.FlexEditText android:textColor="?colorTextNormal" android:textColorHint="?colorTextMuted" android:gravity="center_vertical" android:id="@id/flex_input_text_input" android:background="@android:color/transparent" android:focusable="true" android:focusableInTouchMode="true" android:layout_width="0.0dip" android:layout_height="wrap_content" android:hint="@string/send_a_message" android:maxLines="5" android:layout_weight="1.0" android:inputType="textAutoComplete|textMultiLine|textShortMessage" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_emoji_btn" android:background="@null" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:src="@drawable/ic_emoji_24dp" android:tint="?colorInteractiveNormal" android:drawablePadding="0.0dip" android:contentDescription="@string/emoji" style="@style/UiKit.ImageButton" />
|
||||
</LinearLayout>
|
||||
! <FrameLayout android:id="@id/flex_input_send_btn_container" android:background="@drawable/drawable_circle_black" android:clipToPadding="false" android:layout_width="40.0dip" android:layout_height="40.0dip" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:layout_alignParentRight="true" android:layout_centerVertical="true" android:contentDescription="@string/send_message" android:backgroundTint="?chat_send_btn_bg">
|
||||
<ImageView android:layout_gravity="center" android:id="@id/flex_input_send_btn_image" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_send_24dp" android:tint="?chat_send_btn" android:importantForAccessibility="no" />
|
||||
</FrameLayout>
|
||||
</RelativeLayout>
|
||||
Only in com.discord-1084/res/layout: flex_input_widget.xml.orig
|
||||
Only in com.discord-1084/res/layout: flex_input_widget.xml.rej
|
||||
diff -crB com.discord-1084-base/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$f.smali com.discord-1084/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$f.smali
|
||||
*** com.discord-1084-base/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$f.smali 2020-03-28 05:14:11.475834075 +0300
|
||||
--- com.discord-1084/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$f.smali 2020-03-28 05:16:08.203325040 +0300
|
||||
***************
|
||||
*** 35,167 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final onFocusChange(Landroid/view/View;Z)V
|
||||
! .locals 5
|
||||
!
|
||||
! .line 1
|
||||
! iget-object p1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment$f;->d:Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
||||
!
|
||||
! xor-int/lit8 p2, p2, 0x1
|
||||
!
|
||||
! .line 2
|
||||
! iget-object v0, p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->l:Landroid/view/View;
|
||||
!
|
||||
! const/4 v1, 0x0
|
||||
!
|
||||
! if-eqz v0, :cond_9
|
||||
!
|
||||
! const/16 v2, 0x8
|
||||
!
|
||||
! const/4 v3, 0x0
|
||||
!
|
||||
! if-eqz p2, :cond_2
|
||||
!
|
||||
! iget-object v4, p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->u:Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;
|
||||
!
|
||||
! if-eqz v4, :cond_1
|
||||
!
|
||||
! invoke-virtual {v4}, Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;->getItemCount()I
|
||||
!
|
||||
! move-result v4
|
||||
!
|
||||
! if-lez v4, :cond_0
|
||||
!
|
||||
! goto :goto_0
|
||||
!
|
||||
! :cond_0
|
||||
! const/16 v4, 0x8
|
||||
!
|
||||
! goto :goto_1
|
||||
!
|
||||
! :cond_1
|
||||
! const-string p1, "attachmentPreviewAdapter"
|
||||
!
|
||||
! invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
!
|
||||
! throw v1
|
||||
!
|
||||
! :cond_2
|
||||
! :goto_0
|
||||
! const/4 v4, 0x0
|
||||
!
|
||||
! :goto_1
|
||||
! invoke-virtual {v0, v4}, Landroid/view/View;->setVisibility(I)V
|
||||
!
|
||||
! .line 3
|
||||
! iget-object v0, p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->p:Landroid/view/View;
|
||||
!
|
||||
! if-eqz v0, :cond_8
|
||||
!
|
||||
! if-eqz p2, :cond_3
|
||||
!
|
||||
! const/16 v4, 0x8
|
||||
!
|
||||
! goto :goto_2
|
||||
!
|
||||
! :cond_3
|
||||
! const/4 v4, 0x0
|
||||
!
|
||||
! :goto_2
|
||||
! invoke-virtual {v0, v4}, Landroid/view/View;->setVisibility(I)V
|
||||
!
|
||||
! .line 4
|
||||
! iget-object v0, p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->o:Landroid/view/View;
|
||||
!
|
||||
! if-eqz v0, :cond_7
|
||||
!
|
||||
! if-eqz p2, :cond_4
|
||||
!
|
||||
! const/4 v4, 0x0
|
||||
!
|
||||
! goto :goto_3
|
||||
!
|
||||
! :cond_4
|
||||
! const/16 v4, 0x8
|
||||
!
|
||||
! :goto_3
|
||||
! invoke-virtual {v0, v4}, Landroid/view/View;->setVisibility(I)V
|
||||
!
|
||||
! .line 5
|
||||
! iget-object p1, p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->n:Landroid/view/View;
|
||||
!
|
||||
! if-eqz p1, :cond_6
|
||||
!
|
||||
! if-eqz p2, :cond_5
|
||||
!
|
||||
! const/4 v2, 0x0
|
||||
!
|
||||
! :cond_5
|
||||
! invoke-virtual {p1, v2}, Landroid/view/View;->setVisibility(I)V
|
||||
|
||||
return-void
|
||||
-
|
||||
- :cond_6
|
||||
- const-string p1, "galleryBtn"
|
||||
-
|
||||
- invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
-
|
||||
- throw v1
|
||||
-
|
||||
- :cond_7
|
||||
- const-string p1, "cameraBtn"
|
||||
-
|
||||
- .line 6
|
||||
- invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
-
|
||||
- throw v1
|
||||
-
|
||||
- :cond_8
|
||||
- const-string p1, "expandBtn"
|
||||
-
|
||||
- .line 7
|
||||
- invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
-
|
||||
- throw v1
|
||||
-
|
||||
- :cond_9
|
||||
- const-string p1, "sendBtn"
|
||||
-
|
||||
- .line 8
|
||||
- invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
-
|
||||
- throw v1
|
||||
.end method
|
||||
--- 35,41 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final onFocusChange(Landroid/view/View;Z)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
Only in com.discord-1084/smali_classes2/com/lytefast/flexinput/fragment: FlexInputFragment$f.smali.orig
|
||||
Only in com.discord-1084/smali_classes2/com/lytefast/flexinput/fragment: FlexInputFragment$f.smali.rej
|
||||
|
185
resources/patches/nocamerabutton/1092.patch
Normal file
185
resources/patches/nocamerabutton/1092.patch
Normal file
|
@ -0,0 +1,185 @@
|
|||
diff -crB com.discord-1084-base/res/layout/flex_input_widget.xml com.discord-1084/res/layout/flex_input_widget.xml
|
||||
*** com.discord-1084-base/res/layout/flex_input_widget.xml 2020-03-28 05:14:07.209137278 +0300
|
||||
--- com.discord-1084/res/layout/flex_input_widget.xml 2020-03-28 05:15:16.036289982 +0300
|
||||
***************
|
||||
*** 8,21 ****
|
||||
<RelativeLayout android:paddingLeft="5.0dip" android:paddingTop="@dimen/uikit_spacing_medium" android:paddingRight="12.0dip" android:paddingBottom="@dimen/uikit_spacing_medium" style="@style/UiKit.ViewGroup">
|
||||
<LinearLayout android:id="@id/flex_input_left_btns_container" android:layout_width="wrap_content" android:layout_alignParentLeft="true" android:layout_centerVertical="true" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_expand_btn" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_carot_right_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/expand_buttons" style="@style/FlexInput.Input" />
|
||||
! <androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_camera_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_camera_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/camera" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_gallery_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_gallery_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/attachment_photos" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@id/flex_input_main_input_container" android:background="@drawable/drawable_bg_corners_20dp" android:paddingLeft="12.0dip" android:paddingRight="@dimen/uikit_spacing_small" android:layout_toLeftOf="@id/flex_input_send_btn_container" android:layout_toRightOf="@id/flex_input_left_btns_container" android:layout_centerVertical="true" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<com.lytefast.flexinput.widget.FlexEditText android:textColor="?colorTextNormal" android:textColorHint="?colorTextMuted" android:gravity="center_vertical" android:id="@id/flex_input_text_input" android:background="@android:color/transparent" android:focusable="true" android:focusableInTouchMode="true" android:layout_width="0.0dip" android:layout_height="wrap_content" android:hint="@string/send_a_message" android:maxLines="5" android:layout_weight="1.0" android:inputType="textAutoComplete|textMultiLine|textShortMessage" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_emoji_btn" android:background="@null" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:src="@drawable/ic_emoji_24dp" android:tint="?colorInteractiveNormal" android:drawablePadding="0.0dip" android:contentDescription="@string/emoji" style="@style/UiKit.ImageButton" />
|
||||
</LinearLayout>
|
||||
! <FrameLayout android:id="@id/flex_input_send_btn_container" android:background="@drawable/drawable_circle_black" android:visibility="gone" android:clipToPadding="false" android:layout_width="40.0dip" android:layout_height="40.0dip" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:layout_alignParentRight="true" android:layout_centerVertical="true" android:contentDescription="@string/send_message" android:backgroundTint="?chat_send_btn_bg">
|
||||
<ImageView android:layout_gravity="center" android:id="@id/flex_input_send_btn_image" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_send_24dp" android:tint="?chat_send_btn" android:importantForAccessibility="no" />
|
||||
</FrameLayout>
|
||||
</RelativeLayout>
|
||||
--- 8,21 ----
|
||||
<RelativeLayout android:paddingLeft="5.0dip" android:paddingTop="@dimen/uikit_spacing_medium" android:paddingRight="12.0dip" android:paddingBottom="@dimen/uikit_spacing_medium" style="@style/UiKit.ViewGroup">
|
||||
<LinearLayout android:id="@id/flex_input_left_btns_container" android:layout_width="wrap_content" android:layout_alignParentLeft="true" android:layout_centerVertical="true" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_expand_btn" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_carot_right_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/expand_buttons" style="@style/FlexInput.Input" />
|
||||
! <androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_camera_btn" android:visibility="gone" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_camera_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/camera" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_gallery_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_gallery_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/attachment_photos" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@id/flex_input_main_input_container" android:background="@drawable/drawable_bg_corners_20dp" android:paddingLeft="12.0dip" android:paddingRight="@dimen/uikit_spacing_small" android:layout_toLeftOf="@id/flex_input_send_btn_container" android:layout_toRightOf="@id/flex_input_left_btns_container" android:layout_centerVertical="true" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<com.lytefast.flexinput.widget.FlexEditText android:textColor="?colorTextNormal" android:textColorHint="?colorTextMuted" android:gravity="center_vertical" android:id="@id/flex_input_text_input" android:background="@android:color/transparent" android:focusable="true" android:focusableInTouchMode="true" android:layout_width="0.0dip" android:layout_height="wrap_content" android:hint="@string/send_a_message" android:maxLines="5" android:layout_weight="1.0" android:inputType="textAutoComplete|textMultiLine|textShortMessage" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_emoji_btn" android:background="@null" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:src="@drawable/ic_emoji_24dp" android:tint="?colorInteractiveNormal" android:drawablePadding="0.0dip" android:contentDescription="@string/emoji" style="@style/UiKit.ImageButton" />
|
||||
</LinearLayout>
|
||||
! <FrameLayout android:id="@id/flex_input_send_btn_container" android:background="@drawable/drawable_circle_black" android:clipToPadding="false" android:layout_width="40.0dip" android:layout_height="40.0dip" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:layout_alignParentRight="true" android:layout_centerVertical="true" android:contentDescription="@string/send_message" android:backgroundTint="?chat_send_btn_bg">
|
||||
<ImageView android:layout_gravity="center" android:id="@id/flex_input_send_btn_image" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_send_24dp" android:tint="?chat_send_btn" android:importantForAccessibility="no" />
|
||||
</FrameLayout>
|
||||
</RelativeLayout>
|
||||
Only in com.discord-1084/res/layout: flex_input_widget.xml.orig
|
||||
Only in com.discord-1084/res/layout: flex_input_widget.xml.rej
|
||||
diff -crB com.discord-1084-base/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$f.smali com.discord-1084/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$f.smali
|
||||
*** com.discord-1084-base/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$f.smali 2020-03-28 05:14:11.475834075 +0300
|
||||
--- com.discord-1084/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$f.smali 2020-03-28 05:16:08.203325040 +0300
|
||||
***************
|
||||
*** 35,167 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final onFocusChange(Landroid/view/View;Z)V
|
||||
! .locals 5
|
||||
!
|
||||
! .line 1
|
||||
! iget-object p1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment$f;->d:Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
||||
!
|
||||
! xor-int/lit8 p2, p2, 0x1
|
||||
!
|
||||
! .line 2
|
||||
! iget-object v0, p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->l:Landroid/view/View;
|
||||
!
|
||||
! const/4 v1, 0x0
|
||||
!
|
||||
! if-eqz v0, :cond_9
|
||||
!
|
||||
! const/16 v2, 0x8
|
||||
!
|
||||
! const/4 v3, 0x0
|
||||
!
|
||||
! if-eqz p2, :cond_2
|
||||
!
|
||||
! iget-object v4, p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->u:Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;
|
||||
!
|
||||
! if-eqz v4, :cond_1
|
||||
!
|
||||
! invoke-virtual {v4}, Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;->getItemCount()I
|
||||
!
|
||||
! move-result v4
|
||||
!
|
||||
! if-lez v4, :cond_0
|
||||
!
|
||||
! goto :goto_0
|
||||
!
|
||||
! :cond_0
|
||||
! const/16 v4, 0x8
|
||||
!
|
||||
! goto :goto_1
|
||||
!
|
||||
! :cond_1
|
||||
! const-string p1, "attachmentPreviewAdapter"
|
||||
!
|
||||
! invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
!
|
||||
! throw v1
|
||||
!
|
||||
! :cond_2
|
||||
! :goto_0
|
||||
! const/4 v4, 0x0
|
||||
!
|
||||
! :goto_1
|
||||
! invoke-virtual {v0, v4}, Landroid/view/View;->setVisibility(I)V
|
||||
!
|
||||
! .line 3
|
||||
! iget-object v0, p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->p:Landroid/view/View;
|
||||
!
|
||||
! if-eqz v0, :cond_8
|
||||
!
|
||||
! if-eqz p2, :cond_3
|
||||
!
|
||||
! const/16 v4, 0x8
|
||||
!
|
||||
! goto :goto_2
|
||||
!
|
||||
! :cond_3
|
||||
! const/4 v4, 0x0
|
||||
!
|
||||
! :goto_2
|
||||
! invoke-virtual {v0, v4}, Landroid/view/View;->setVisibility(I)V
|
||||
!
|
||||
! .line 4
|
||||
! iget-object v0, p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->o:Landroid/view/View;
|
||||
!
|
||||
! if-eqz v0, :cond_7
|
||||
!
|
||||
! if-eqz p2, :cond_4
|
||||
!
|
||||
! const/4 v4, 0x0
|
||||
!
|
||||
! goto :goto_3
|
||||
!
|
||||
! :cond_4
|
||||
! const/16 v4, 0x8
|
||||
!
|
||||
! :goto_3
|
||||
! invoke-virtual {v0, v4}, Landroid/view/View;->setVisibility(I)V
|
||||
!
|
||||
! .line 5
|
||||
! iget-object p1, p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->n:Landroid/view/View;
|
||||
!
|
||||
! if-eqz p1, :cond_6
|
||||
!
|
||||
! if-eqz p2, :cond_5
|
||||
!
|
||||
! const/4 v2, 0x0
|
||||
!
|
||||
! :cond_5
|
||||
! invoke-virtual {p1, v2}, Landroid/view/View;->setVisibility(I)V
|
||||
|
||||
return-void
|
||||
-
|
||||
- :cond_6
|
||||
- const-string p1, "galleryBtn"
|
||||
-
|
||||
- invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
-
|
||||
- throw v1
|
||||
-
|
||||
- :cond_7
|
||||
- const-string p1, "cameraBtn"
|
||||
-
|
||||
- .line 6
|
||||
- invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
-
|
||||
- throw v1
|
||||
-
|
||||
- :cond_8
|
||||
- const-string p1, "expandBtn"
|
||||
-
|
||||
- .line 7
|
||||
- invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
-
|
||||
- throw v1
|
||||
-
|
||||
- :cond_9
|
||||
- const-string p1, "sendBtn"
|
||||
-
|
||||
- .line 8
|
||||
- invoke-static {p1}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
-
|
||||
- throw v1
|
||||
.end method
|
||||
--- 35,41 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final onFocusChange(Landroid/view/View;Z)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
Only in com.discord-1084/smali_classes2/com/lytefast/flexinput/fragment: FlexInputFragment$f.smali.orig
|
||||
Only in com.discord-1084/smali_classes2/com/lytefast/flexinput/fragment: FlexInputFragment$f.smali.rej
|
||||
|
32
resources/patches/nocamerabutton/1100.patch
Normal file
32
resources/patches/nocamerabutton/1100.patch
Normal file
|
@ -0,0 +1,32 @@
|
|||
diff -crB from/res/layout/flex_input_widget.xml to/res/layout/flex_input_widget.xml
|
||||
*** from/res/layout/flex_input_widget.xml 2020-04-17 13:03:23.985050793 +0100
|
||||
--- to/res/layout/flex_input_widget.xml 2020-04-17 13:06:38.725266211 +0100
|
||||
***************
|
||||
*** 8,14 ****
|
||||
<RelativeLayout android:animateLayoutChanges="true" style="@style/UiKit.ViewGroup">
|
||||
<LinearLayout android:id="@id/flex_input_left_btns_container" android:layout_width="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_alignParentLeft="true" android:layout_centerVertical="true" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_expand_btn" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_carot_right_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/expand_buttons" style="@style/FlexInput.Input" />
|
||||
! <androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_camera_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_camera_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/camera" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_gallery_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_gallery_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/attachment_photos" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@id/flex_input_main_input_container" android:background="@drawable/drawable_bg_corners_20dp" android:paddingLeft="12.0dip" android:paddingRight="@dimen/uikit_spacing_small" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_toLeftOf="@id/flex_input_send_btn_container" android:layout_toRightOf="@id/flex_input_left_btns_container" android:layout_centerVertical="true" android:animateLayoutChanges="true" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
--- 8,14 ----
|
||||
<RelativeLayout android:animateLayoutChanges="true" style="@style/UiKit.ViewGroup">
|
||||
<LinearLayout android:id="@id/flex_input_left_btns_container" android:layout_width="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_alignParentLeft="true" android:layout_centerVertical="true" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_expand_btn" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_carot_right_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/expand_buttons" style="@style/FlexInput.Input" />
|
||||
! <androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_camera_btn" android:visibility="gone" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_camera_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/camera" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_gallery_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_gallery_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/attachment_photos" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@id/flex_input_main_input_container" android:background="@drawable/drawable_bg_corners_20dp" android:paddingLeft="12.0dip" android:paddingRight="@dimen/uikit_spacing_small" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_toLeftOf="@id/flex_input_send_btn_container" android:layout_toRightOf="@id/flex_input_left_btns_container" android:layout_centerVertical="true" android:animateLayoutChanges="true" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
***************
|
||||
*** 21,24 ****
|
||||
<TextView android:gravity="center" android:id="@id/flex_input_cannot_send_text" android:background="?colorBackgroundSecondary" android:paddingLeft="12.0dip" android:paddingTop="@dimen/uikit_spacing_xlarge" android:paddingRight="12.0dip" android:paddingBottom="@dimen/uikit_spacing_xlarge" android:focusable="true" android:visibility="gone" android:clickable="true" android:layout_height="wrap_content" android:text="@string/no_send_messages_permission_placeholder" android:layout_alignParentStart="true" android:layout_alignParentEnd="true" style="@style/UiKit.TextView" />
|
||||
</RelativeLayout>
|
||||
<FrameLayout android:orientation="vertical" android:id="@id/flex_input_emoji_container" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="@dimen/default_keyboard_height" />
|
||||
! </LinearLayout>
|
||||
\ No newline at end of file
|
||||
--- 21,24 ----
|
||||
<TextView android:gravity="center" android:id="@id/flex_input_cannot_send_text" android:background="?colorBackgroundSecondary" android:paddingLeft="12.0dip" android:paddingTop="@dimen/uikit_spacing_xlarge" android:paddingRight="12.0dip" android:paddingBottom="@dimen/uikit_spacing_xlarge" android:focusable="true" android:visibility="gone" android:clickable="true" android:layout_height="wrap_content" android:text="@string/no_send_messages_permission_placeholder" android:layout_alignParentStart="true" android:layout_alignParentEnd="true" style="@style/UiKit.TextView" />
|
||||
</RelativeLayout>
|
||||
<FrameLayout android:orientation="vertical" android:id="@id/flex_input_emoji_container" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="@dimen/default_keyboard_height" />
|
||||
! </LinearLayout>
|
32
resources/patches/nocamerabutton/1103.patch
Normal file
32
resources/patches/nocamerabutton/1103.patch
Normal file
|
@ -0,0 +1,32 @@
|
|||
diff -crB from/res/layout/flex_input_widget.xml to/res/layout/flex_input_widget.xml
|
||||
*** from/res/layout/flex_input_widget.xml 2020-04-17 13:03:23.985050793 +0100
|
||||
--- to/res/layout/flex_input_widget.xml 2020-04-17 13:06:38.725266211 +0100
|
||||
***************
|
||||
*** 8,14 ****
|
||||
<RelativeLayout android:animateLayoutChanges="true" style="@style/UiKit.ViewGroup">
|
||||
<LinearLayout android:id="@id/flex_input_left_btns_container" android:layout_width="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_alignParentLeft="true" android:layout_centerVertical="true" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_expand_btn" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_carot_right_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/expand_buttons" style="@style/FlexInput.Input" />
|
||||
! <androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_camera_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_camera_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/camera" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_gallery_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_gallery_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/attachment_photos" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@id/flex_input_main_input_container" android:background="@drawable/drawable_bg_corners_20dp" android:paddingLeft="12.0dip" android:paddingRight="@dimen/uikit_spacing_small" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_toLeftOf="@id/flex_input_send_btn_container" android:layout_toRightOf="@id/flex_input_left_btns_container" android:layout_centerVertical="true" android:animateLayoutChanges="true" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
--- 8,14 ----
|
||||
<RelativeLayout android:animateLayoutChanges="true" style="@style/UiKit.ViewGroup">
|
||||
<LinearLayout android:id="@id/flex_input_left_btns_container" android:layout_width="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_alignParentLeft="true" android:layout_centerVertical="true" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_expand_btn" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_carot_right_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/expand_buttons" style="@style/FlexInput.Input" />
|
||||
! <androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_camera_btn" android:visibility="gone" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_camera_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/camera" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_gallery_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_gallery_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/attachment_photos" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@id/flex_input_main_input_container" android:background="@drawable/drawable_bg_corners_20dp" android:paddingLeft="12.0dip" android:paddingRight="@dimen/uikit_spacing_small" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_toLeftOf="@id/flex_input_send_btn_container" android:layout_toRightOf="@id/flex_input_left_btns_container" android:layout_centerVertical="true" android:animateLayoutChanges="true" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
***************
|
||||
*** 21,24 ****
|
||||
<TextView android:gravity="center" android:id="@id/flex_input_cannot_send_text" android:background="?colorBackgroundSecondary" android:paddingLeft="12.0dip" android:paddingTop="@dimen/uikit_spacing_xlarge" android:paddingRight="12.0dip" android:paddingBottom="@dimen/uikit_spacing_xlarge" android:focusable="true" android:visibility="gone" android:clickable="true" android:layout_height="wrap_content" android:text="@string/no_send_messages_permission_placeholder" android:layout_alignParentStart="true" android:layout_alignParentEnd="true" style="@style/UiKit.TextView" />
|
||||
</RelativeLayout>
|
||||
<FrameLayout android:orientation="vertical" android:id="@id/flex_input_emoji_container" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="@dimen/default_keyboard_height" />
|
||||
! </LinearLayout>
|
||||
\ No newline at end of file
|
||||
--- 21,24 ----
|
||||
<TextView android:gravity="center" android:id="@id/flex_input_cannot_send_text" android:background="?colorBackgroundSecondary" android:paddingLeft="12.0dip" android:paddingTop="@dimen/uikit_spacing_xlarge" android:paddingRight="12.0dip" android:paddingBottom="@dimen/uikit_spacing_xlarge" android:focusable="true" android:visibility="gone" android:clickable="true" android:layout_height="wrap_content" android:text="@string/no_send_messages_permission_placeholder" android:layout_alignParentStart="true" android:layout_alignParentEnd="true" style="@style/UiKit.TextView" />
|
||||
</RelativeLayout>
|
||||
<FrameLayout android:orientation="vertical" android:id="@id/flex_input_emoji_container" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="@dimen/default_keyboard_height" />
|
||||
! </LinearLayout>
|
32
resources/patches/nocamerabutton/1104.patch
Normal file
32
resources/patches/nocamerabutton/1104.patch
Normal file
|
@ -0,0 +1,32 @@
|
|||
diff -crB from/res/layout/flex_input_widget.xml to/res/layout/flex_input_widget.xml
|
||||
*** from/res/layout/flex_input_widget.xml 2020-04-17 13:03:23.985050793 +0100
|
||||
--- to/res/layout/flex_input_widget.xml 2020-04-17 13:06:38.725266211 +0100
|
||||
***************
|
||||
*** 8,14 ****
|
||||
<RelativeLayout android:animateLayoutChanges="true" style="@style/UiKit.ViewGroup">
|
||||
<LinearLayout android:id="@id/flex_input_left_btns_container" android:layout_width="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_alignParentLeft="true" android:layout_centerVertical="true" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_expand_btn" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_carot_right_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/expand_buttons" style="@style/FlexInput.Input" />
|
||||
! <androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_camera_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_camera_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/camera" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_gallery_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_gallery_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/attachment_photos" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@id/flex_input_main_input_container" android:background="@drawable/drawable_bg_corners_20dp" android:paddingLeft="12.0dip" android:paddingRight="@dimen/uikit_spacing_small" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_toLeftOf="@id/flex_input_send_btn_container" android:layout_toRightOf="@id/flex_input_left_btns_container" android:layout_centerVertical="true" android:animateLayoutChanges="true" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
--- 8,14 ----
|
||||
<RelativeLayout android:animateLayoutChanges="true" style="@style/UiKit.ViewGroup">
|
||||
<LinearLayout android:id="@id/flex_input_left_btns_container" android:layout_width="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_alignParentLeft="true" android:layout_centerVertical="true" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_expand_btn" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_carot_right_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/expand_buttons" style="@style/FlexInput.Input" />
|
||||
! <androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_camera_btn" android:visibility="gone" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_camera_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/camera" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_gallery_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_gallery_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/attachment_photos" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@id/flex_input_main_input_container" android:background="@drawable/drawable_bg_corners_20dp" android:paddingLeft="12.0dip" android:paddingRight="@dimen/uikit_spacing_small" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_toLeftOf="@id/flex_input_send_btn_container" android:layout_toRightOf="@id/flex_input_left_btns_container" android:layout_centerVertical="true" android:animateLayoutChanges="true" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
***************
|
||||
*** 21,24 ****
|
||||
<TextView android:gravity="center" android:id="@id/flex_input_cannot_send_text" android:background="?colorBackgroundSecondary" android:paddingLeft="12.0dip" android:paddingTop="@dimen/uikit_spacing_xlarge" android:paddingRight="12.0dip" android:paddingBottom="@dimen/uikit_spacing_xlarge" android:focusable="true" android:visibility="gone" android:clickable="true" android:layout_height="wrap_content" android:text="@string/no_send_messages_permission_placeholder" android:layout_alignParentStart="true" android:layout_alignParentEnd="true" style="@style/UiKit.TextView" />
|
||||
</RelativeLayout>
|
||||
<FrameLayout android:orientation="vertical" android:id="@id/flex_input_emoji_container" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="@dimen/default_keyboard_height" />
|
||||
! </LinearLayout>
|
||||
\ No newline at end of file
|
||||
--- 21,24 ----
|
||||
<TextView android:gravity="center" android:id="@id/flex_input_cannot_send_text" android:background="?colorBackgroundSecondary" android:paddingLeft="12.0dip" android:paddingTop="@dimen/uikit_spacing_xlarge" android:paddingRight="12.0dip" android:paddingBottom="@dimen/uikit_spacing_xlarge" android:focusable="true" android:visibility="gone" android:clickable="true" android:layout_height="wrap_content" android:text="@string/no_send_messages_permission_placeholder" android:layout_alignParentStart="true" android:layout_alignParentEnd="true" style="@style/UiKit.TextView" />
|
||||
</RelativeLayout>
|
||||
<FrameLayout android:orientation="vertical" android:id="@id/flex_input_emoji_container" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="@dimen/default_keyboard_height" />
|
||||
! </LinearLayout>
|
32
resources/patches/nocamerabutton/1105.patch
Normal file
32
resources/patches/nocamerabutton/1105.patch
Normal file
|
@ -0,0 +1,32 @@
|
|||
diff -crB from/res/layout/flex_input_widget.xml to/res/layout/flex_input_widget.xml
|
||||
*** from/res/layout/flex_input_widget.xml 2020-04-17 13:03:23.985050793 +0100
|
||||
--- to/res/layout/flex_input_widget.xml 2020-04-17 13:06:38.725266211 +0100
|
||||
***************
|
||||
*** 8,14 ****
|
||||
<RelativeLayout android:animateLayoutChanges="true" style="@style/UiKit.ViewGroup">
|
||||
<LinearLayout android:id="@id/flex_input_left_btns_container" android:layout_width="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_alignParentLeft="true" android:layout_centerVertical="true" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_expand_btn" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_carot_right_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/expand_buttons" style="@style/FlexInput.Input" />
|
||||
! <androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_camera_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_camera_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/camera" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_gallery_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_gallery_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/attachment_photos" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@id/flex_input_main_input_container" android:background="@drawable/drawable_bg_corners_20dp" android:paddingLeft="12.0dip" android:paddingRight="@dimen/uikit_spacing_small" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_toLeftOf="@id/flex_input_send_btn_container" android:layout_toRightOf="@id/flex_input_left_btns_container" android:layout_centerVertical="true" android:animateLayoutChanges="true" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
--- 8,14 ----
|
||||
<RelativeLayout android:animateLayoutChanges="true" style="@style/UiKit.ViewGroup">
|
||||
<LinearLayout android:id="@id/flex_input_left_btns_container" android:layout_width="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_alignParentLeft="true" android:layout_centerVertical="true" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_expand_btn" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_carot_right_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/expand_buttons" style="@style/FlexInput.Input" />
|
||||
! <androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_camera_btn" android:visibility="gone" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_camera_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/camera" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_gallery_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_gallery_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/attachment_photos" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@id/flex_input_main_input_container" android:background="@drawable/drawable_bg_corners_20dp" android:paddingLeft="12.0dip" android:paddingRight="@dimen/uikit_spacing_small" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_toLeftOf="@id/flex_input_send_btn_container" android:layout_toRightOf="@id/flex_input_left_btns_container" android:layout_centerVertical="true" android:animateLayoutChanges="true" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
***************
|
||||
*** 21,24 ****
|
||||
<TextView android:gravity="center" android:id="@id/flex_input_cannot_send_text" android:background="?colorBackgroundSecondary" android:paddingLeft="12.0dip" android:paddingTop="@dimen/uikit_spacing_xlarge" android:paddingRight="12.0dip" android:paddingBottom="@dimen/uikit_spacing_xlarge" android:focusable="true" android:visibility="gone" android:clickable="true" android:layout_height="wrap_content" android:text="@string/no_send_messages_permission_placeholder" android:layout_alignParentStart="true" android:layout_alignParentEnd="true" style="@style/UiKit.TextView" />
|
||||
</RelativeLayout>
|
||||
<FrameLayout android:orientation="vertical" android:id="@id/flex_input_emoji_container" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="@dimen/default_keyboard_height" />
|
||||
! </LinearLayout>
|
||||
\ No newline at end of file
|
||||
--- 21,24 ----
|
||||
<TextView android:gravity="center" android:id="@id/flex_input_cannot_send_text" android:background="?colorBackgroundSecondary" android:paddingLeft="12.0dip" android:paddingTop="@dimen/uikit_spacing_xlarge" android:paddingRight="12.0dip" android:paddingBottom="@dimen/uikit_spacing_xlarge" android:focusable="true" android:visibility="gone" android:clickable="true" android:layout_height="wrap_content" android:text="@string/no_send_messages_permission_placeholder" android:layout_alignParentStart="true" android:layout_alignParentEnd="true" style="@style/UiKit.TextView" />
|
||||
</RelativeLayout>
|
||||
<FrameLayout android:orientation="vertical" android:id="@id/flex_input_emoji_container" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="@dimen/default_keyboard_height" />
|
||||
! </LinearLayout>
|
32
resources/patches/nocamerabutton/1107.patch
Normal file
32
resources/patches/nocamerabutton/1107.patch
Normal file
|
@ -0,0 +1,32 @@
|
|||
diff -crB from/res/layout/flex_input_widget.xml to/res/layout/flex_input_widget.xml
|
||||
*** from/res/layout/flex_input_widget.xml 2020-04-17 13:03:23.985050793 +0100
|
||||
--- to/res/layout/flex_input_widget.xml 2020-04-17 13:06:38.725266211 +0100
|
||||
***************
|
||||
*** 8,14 ****
|
||||
<RelativeLayout android:animateLayoutChanges="true" style="@style/UiKit.ViewGroup">
|
||||
<LinearLayout android:id="@id/flex_input_left_btns_container" android:layout_width="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_alignParentLeft="true" android:layout_centerVertical="true" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_expand_btn" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_carot_right_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/expand_buttons" style="@style/FlexInput.Input" />
|
||||
! <androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_camera_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_camera_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/camera" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_gallery_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_gallery_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/attachment_photos" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@id/flex_input_main_input_container" android:background="@drawable/drawable_bg_corners_20dp" android:paddingLeft="12.0dip" android:paddingRight="@dimen/uikit_spacing_small" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_toLeftOf="@id/flex_input_send_btn_container" android:layout_toRightOf="@id/flex_input_left_btns_container" android:layout_centerVertical="true" android:animateLayoutChanges="true" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
--- 8,14 ----
|
||||
<RelativeLayout android:animateLayoutChanges="true" style="@style/UiKit.ViewGroup">
|
||||
<LinearLayout android:id="@id/flex_input_left_btns_container" android:layout_width="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_alignParentLeft="true" android:layout_centerVertical="true" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_expand_btn" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_carot_right_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/expand_buttons" style="@style/FlexInput.Input" />
|
||||
! <androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_camera_btn" android:visibility="gone" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_camera_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/camera" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_gallery_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_gallery_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/attachment_photos" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@id/flex_input_main_input_container" android:background="@drawable/drawable_bg_corners_20dp" android:paddingLeft="12.0dip" android:paddingRight="@dimen/uikit_spacing_small" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_toLeftOf="@id/flex_input_send_btn_container" android:layout_toRightOf="@id/flex_input_left_btns_container" android:layout_centerVertical="true" android:animateLayoutChanges="true" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
***************
|
||||
*** 21,24 ****
|
||||
<TextView android:gravity="center" android:id="@id/flex_input_cannot_send_text" android:background="?colorBackgroundSecondary" android:paddingLeft="12.0dip" android:paddingTop="@dimen/uikit_spacing_xlarge" android:paddingRight="12.0dip" android:paddingBottom="@dimen/uikit_spacing_xlarge" android:focusable="true" android:visibility="gone" android:clickable="true" android:layout_height="wrap_content" android:text="@string/no_send_messages_permission_placeholder" android:layout_alignParentStart="true" android:layout_alignParentEnd="true" style="@style/UiKit.TextView" />
|
||||
</RelativeLayout>
|
||||
<FrameLayout android:orientation="vertical" android:id="@id/flex_input_emoji_container" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="@dimen/default_keyboard_height" />
|
||||
! </LinearLayout>
|
||||
\ No newline at end of file
|
||||
--- 21,24 ----
|
||||
<TextView android:gravity="center" android:id="@id/flex_input_cannot_send_text" android:background="?colorBackgroundSecondary" android:paddingLeft="12.0dip" android:paddingTop="@dimen/uikit_spacing_xlarge" android:paddingRight="12.0dip" android:paddingBottom="@dimen/uikit_spacing_xlarge" android:focusable="true" android:visibility="gone" android:clickable="true" android:layout_height="wrap_content" android:text="@string/no_send_messages_permission_placeholder" android:layout_alignParentStart="true" android:layout_alignParentEnd="true" style="@style/UiKit.TextView" />
|
||||
</RelativeLayout>
|
||||
<FrameLayout android:orientation="vertical" android:id="@id/flex_input_emoji_container" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="@dimen/default_keyboard_height" />
|
||||
! </LinearLayout>
|
32
resources/patches/nocamerabutton/1123.patch
Normal file
32
resources/patches/nocamerabutton/1123.patch
Normal file
|
@ -0,0 +1,32 @@
|
|||
diff -crB from/res/layout/flex_input_widget.xml to/res/layout/flex_input_widget.xml
|
||||
*** from/res/layout/flex_input_widget.xml 2020-04-17 13:03:23.985050793 +0100
|
||||
--- to/res/layout/flex_input_widget.xml 2020-04-17 13:06:38.725266211 +0100
|
||||
***************
|
||||
*** 8,14 ****
|
||||
<RelativeLayout android:animateLayoutChanges="true" style="@style/UiKit.ViewGroup">
|
||||
<LinearLayout android:id="@id/flex_input_left_btns_container" android:layout_width="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_alignParentLeft="true" android:layout_centerVertical="true" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_expand_btn" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_carot_right_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/expand_buttons" style="@style/FlexInput.Input" />
|
||||
! <androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_camera_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_camera_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/camera" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_gallery_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_gallery_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/attachment_photos" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@id/flex_input_main_input_container" android:background="@drawable/drawable_bg_corners_20dp" android:paddingLeft="12.0dip" android:paddingRight="@dimen/uikit_spacing_small" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_toLeftOf="@id/flex_input_send_btn_container" android:layout_toRightOf="@id/flex_input_left_btns_container" android:layout_centerVertical="true" android:animateLayoutChanges="true" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
--- 8,14 ----
|
||||
<RelativeLayout android:animateLayoutChanges="true" style="@style/UiKit.ViewGroup">
|
||||
<LinearLayout android:id="@id/flex_input_left_btns_container" android:layout_width="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_alignParentLeft="true" android:layout_centerVertical="true" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_expand_btn" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_carot_right_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/expand_buttons" style="@style/FlexInput.Input" />
|
||||
! <androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_camera_btn" android:visibility="gone" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_camera_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/camera" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_gallery_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_gallery_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/attachment_photos" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@id/flex_input_main_input_container" android:background="@drawable/drawable_bg_corners_20dp" android:paddingLeft="12.0dip" android:paddingRight="@dimen/uikit_spacing_small" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_toLeftOf="@id/flex_input_send_btn_container" android:layout_toRightOf="@id/flex_input_left_btns_container" android:layout_centerVertical="true" android:animateLayoutChanges="true" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
***************
|
||||
*** 21,24 ****
|
||||
<TextView android:gravity="center" android:id="@id/flex_input_cannot_send_text" android:background="?colorBackgroundSecondary" android:paddingLeft="12.0dip" android:paddingTop="@dimen/uikit_spacing_xlarge" android:paddingRight="12.0dip" android:paddingBottom="@dimen/uikit_spacing_xlarge" android:focusable="true" android:visibility="gone" android:clickable="true" android:layout_height="wrap_content" android:text="@string/no_send_messages_permission_placeholder" android:layout_alignParentStart="true" android:layout_alignParentEnd="true" style="@style/UiKit.TextView" />
|
||||
</RelativeLayout>
|
||||
<FrameLayout android:orientation="vertical" android:id="@id/flex_input_emoji_container" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="@dimen/default_keyboard_height" />
|
||||
! </LinearLayout>
|
||||
\ No newline at end of file
|
||||
--- 21,24 ----
|
||||
<TextView android:gravity="center" android:id="@id/flex_input_cannot_send_text" android:background="?colorBackgroundSecondary" android:paddingLeft="12.0dip" android:paddingTop="@dimen/uikit_spacing_xlarge" android:paddingRight="12.0dip" android:paddingBottom="@dimen/uikit_spacing_xlarge" android:focusable="true" android:visibility="gone" android:clickable="true" android:layout_height="wrap_content" android:text="@string/no_send_messages_permission_placeholder" android:layout_alignParentStart="true" android:layout_alignParentEnd="true" style="@style/UiKit.TextView" />
|
||||
</RelativeLayout>
|
||||
<FrameLayout android:orientation="vertical" android:id="@id/flex_input_emoji_container" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="@dimen/default_keyboard_height" />
|
||||
! </LinearLayout>
|
32
resources/patches/nocamerabutton/1132.patch
Normal file
32
resources/patches/nocamerabutton/1132.patch
Normal file
|
@ -0,0 +1,32 @@
|
|||
diff -crB from/res/layout/flex_input_widget.xml to/res/layout/flex_input_widget.xml
|
||||
*** from/res/layout/flex_input_widget.xml 2020-04-17 13:03:23.985050793 +0100
|
||||
--- to/res/layout/flex_input_widget.xml 2020-04-17 13:06:38.725266211 +0100
|
||||
***************
|
||||
*** 8,14 ****
|
||||
<RelativeLayout android:animateLayoutChanges="true" style="@style/UiKit.ViewGroup">
|
||||
<LinearLayout android:id="@id/flex_input_left_btns_container" android:layout_width="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_alignParentLeft="true" android:layout_centerVertical="true" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_expand_btn" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_carot_right_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/expand_buttons" style="@style/FlexInput.Input" />
|
||||
! <androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_camera_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_camera_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/camera" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_gallery_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_gallery_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/attachment_photos" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@id/flex_input_main_input_container" android:background="@drawable/drawable_bg_corners_20dp" android:paddingLeft="12.0dip" android:paddingRight="@dimen/uikit_spacing_small" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_toLeftOf="@id/flex_input_send_btn_container" android:layout_toRightOf="@id/flex_input_left_btns_container" android:layout_centerVertical="true" android:animateLayoutChanges="true" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
--- 8,14 ----
|
||||
<RelativeLayout android:animateLayoutChanges="true" style="@style/UiKit.ViewGroup">
|
||||
<LinearLayout android:id="@id/flex_input_left_btns_container" android:layout_width="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_alignParentLeft="true" android:layout_centerVertical="true" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_expand_btn" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_carot_right_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/expand_buttons" style="@style/FlexInput.Input" />
|
||||
! <androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_camera_btn" android:visibility="gone" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_camera_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/camera" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_gallery_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_gallery_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/attachment_photos" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@id/flex_input_main_input_container" android:background="@drawable/drawable_bg_corners_20dp" android:paddingLeft="12.0dip" android:paddingRight="@dimen/uikit_spacing_small" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_toLeftOf="@id/flex_input_send_btn_container" android:layout_toRightOf="@id/flex_input_left_btns_container" android:layout_centerVertical="true" android:animateLayoutChanges="true" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
***************
|
||||
*** 21,24 ****
|
||||
<TextView android:gravity="center" android:id="@id/flex_input_cannot_send_text" android:background="?colorBackgroundSecondary" android:paddingLeft="12.0dip" android:paddingTop="@dimen/uikit_spacing_xlarge" android:paddingRight="12.0dip" android:paddingBottom="@dimen/uikit_spacing_xlarge" android:focusable="true" android:visibility="gone" android:clickable="true" android:layout_height="wrap_content" android:text="@string/no_send_messages_permission_placeholder" android:layout_alignParentStart="true" android:layout_alignParentEnd="true" style="@style/UiKit.TextView" />
|
||||
</RelativeLayout>
|
||||
<FrameLayout android:orientation="vertical" android:id="@id/flex_input_emoji_container" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="@dimen/default_keyboard_height" />
|
||||
! </LinearLayout>
|
||||
\ No newline at end of file
|
||||
--- 21,24 ----
|
||||
<TextView android:gravity="center" android:id="@id/flex_input_cannot_send_text" android:background="?colorBackgroundSecondary" android:paddingLeft="12.0dip" android:paddingTop="@dimen/uikit_spacing_xlarge" android:paddingRight="12.0dip" android:paddingBottom="@dimen/uikit_spacing_xlarge" android:focusable="true" android:visibility="gone" android:clickable="true" android:layout_height="wrap_content" android:text="@string/no_send_messages_permission_placeholder" android:layout_alignParentStart="true" android:layout_alignParentEnd="true" style="@style/UiKit.TextView" />
|
||||
</RelativeLayout>
|
||||
<FrameLayout android:orientation="vertical" android:id="@id/flex_input_emoji_container" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="@dimen/default_keyboard_height" />
|
||||
! </LinearLayout>
|
32
resources/patches/nocamerabutton/1134.patch
Normal file
32
resources/patches/nocamerabutton/1134.patch
Normal file
|
@ -0,0 +1,32 @@
|
|||
diff -crB from/res/layout/flex_input_widget.xml to/res/layout/flex_input_widget.xml
|
||||
*** from/res/layout/flex_input_widget.xml 2020-04-17 13:03:23.985050793 +0100
|
||||
--- to/res/layout/flex_input_widget.xml 2020-04-17 13:06:38.725266211 +0100
|
||||
***************
|
||||
*** 8,14 ****
|
||||
<RelativeLayout android:animateLayoutChanges="true" style="@style/UiKit.ViewGroup">
|
||||
<LinearLayout android:id="@id/flex_input_left_btns_container" android:layout_width="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_alignParentLeft="true" android:layout_centerVertical="true" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_expand_btn" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_carot_right_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/expand_buttons" style="@style/FlexInput.Input" />
|
||||
! <androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_camera_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_camera_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/camera" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_gallery_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_gallery_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/attachment_photos" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@id/flex_input_main_input_container" android:background="@drawable/drawable_bg_corners_20dp" android:paddingLeft="12.0dip" android:paddingRight="@dimen/uikit_spacing_small" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_toLeftOf="@id/flex_input_send_btn_container" android:layout_toRightOf="@id/flex_input_left_btns_container" android:layout_centerVertical="true" android:animateLayoutChanges="true" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
--- 8,14 ----
|
||||
<RelativeLayout android:animateLayoutChanges="true" style="@style/UiKit.ViewGroup">
|
||||
<LinearLayout android:id="@id/flex_input_left_btns_container" android:layout_width="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_alignParentLeft="true" android:layout_centerVertical="true" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_expand_btn" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_carot_right_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/expand_buttons" style="@style/FlexInput.Input" />
|
||||
! <androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_camera_btn" android:visibility="gone" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_camera_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/camera" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_gallery_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_gallery_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/attachment_photos" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@id/flex_input_main_input_container" android:background="@drawable/drawable_bg_corners_20dp" android:paddingLeft="12.0dip" android:paddingRight="@dimen/uikit_spacing_small" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_toLeftOf="@id/flex_input_send_btn_container" android:layout_toRightOf="@id/flex_input_left_btns_container" android:layout_centerVertical="true" android:animateLayoutChanges="true" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
***************
|
||||
*** 21,24 ****
|
||||
<TextView android:gravity="center" android:id="@id/flex_input_cannot_send_text" android:background="?colorBackgroundSecondary" android:paddingLeft="12.0dip" android:paddingTop="@dimen/uikit_spacing_xlarge" android:paddingRight="12.0dip" android:paddingBottom="@dimen/uikit_spacing_xlarge" android:focusable="true" android:visibility="gone" android:clickable="true" android:layout_height="wrap_content" android:text="@string/no_send_messages_permission_placeholder" android:layout_alignParentStart="true" android:layout_alignParentEnd="true" style="@style/UiKit.TextView" />
|
||||
</RelativeLayout>
|
||||
<FrameLayout android:orientation="vertical" android:id="@id/flex_input_emoji_container" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="@dimen/default_keyboard_height" />
|
||||
! </LinearLayout>
|
||||
\ No newline at end of file
|
||||
--- 21,24 ----
|
||||
<TextView android:gravity="center" android:id="@id/flex_input_cannot_send_text" android:background="?colorBackgroundSecondary" android:paddingLeft="12.0dip" android:paddingTop="@dimen/uikit_spacing_xlarge" android:paddingRight="12.0dip" android:paddingBottom="@dimen/uikit_spacing_xlarge" android:focusable="true" android:visibility="gone" android:clickable="true" android:layout_height="wrap_content" android:text="@string/no_send_messages_permission_placeholder" android:layout_alignParentStart="true" android:layout_alignParentEnd="true" style="@style/UiKit.TextView" />
|
||||
</RelativeLayout>
|
||||
<FrameLayout android:orientation="vertical" android:id="@id/flex_input_emoji_container" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="@dimen/default_keyboard_height" />
|
||||
! </LinearLayout>
|
90
resources/patches/nocamerabutton/1144.patch
Normal file
90
resources/patches/nocamerabutton/1144.patch
Normal file
|
@ -0,0 +1,90 @@
|
|||
Binary files com.discord-1144-base/build/apk/classes2.dex and com.discord-1144/build/apk/classes2.dex differ
|
||||
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
|
||||
*** 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 18:35:31.125235116 +0300
|
||||
***************
|
||||
*** 8,14 ****
|
||||
<RelativeLayout android:animateLayoutChanges="true" style="@style/UiKit.ViewGroup">
|
||||
<LinearLayout android:id="@id/flex_input_left_btns_container" android:layout_width="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_alignParentLeft="true" android:layout_centerVertical="true" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_expand_btn" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_carot_right_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/expand_buttons" style="@style/FlexInput.Input" />
|
||||
! <androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_camera_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_camera_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/camera" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_gallery_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_gallery_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/attachment_photos" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@id/flex_input_main_input_container" android:background="@drawable/drawable_bg_corners_20dp" android:paddingLeft="12.0dip" android:paddingRight="@dimen/uikit_spacing_small" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_toLeftOf="@id/flex_input_send_btn_container" android:layout_toRightOf="@id/flex_input_left_btns_container" android:layout_centerVertical="true" android:animateLayoutChanges="true" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
--- 8,14 ----
|
||||
<RelativeLayout android:animateLayoutChanges="true" style="@style/UiKit.ViewGroup">
|
||||
<LinearLayout android:id="@id/flex_input_left_btns_container" android:layout_width="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_alignParentLeft="true" android:layout_centerVertical="true" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_expand_btn" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_carot_right_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/expand_buttons" style="@style/FlexInput.Input" />
|
||||
! <androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_camera_btn" android:visibility="gone" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_camera_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/camera" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_gallery_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_gallery_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/attachment_photos" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@id/flex_input_main_input_container" android:background="@drawable/drawable_bg_corners_20dp" android:paddingLeft="12.0dip" android:paddingRight="@dimen/uikit_spacing_small" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_toLeftOf="@id/flex_input_send_btn_container" android:layout_toRightOf="@id/flex_input_left_btns_container" android:layout_centerVertical="true" android:animateLayoutChanges="true" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
***************
|
||||
*** 21,24 ****
|
||||
<TextView android:gravity="center" android:id="@id/flex_input_cannot_send_text" android:background="?colorBackgroundSecondary" android:paddingLeft="12.0dip" android:paddingTop="@dimen/uikit_spacing_xlarge" android:paddingRight="12.0dip" android:paddingBottom="@dimen/uikit_spacing_xlarge" android:focusable="true" android:visibility="gone" android:clickable="true" android:layout_height="wrap_content" android:text="@string/no_send_messages_permission_placeholder" android:layout_alignParentStart="true" android:layout_alignParentEnd="true" style="@style/UiKit.TextView" />
|
||||
</RelativeLayout>
|
||||
<FrameLayout android:orientation="vertical" android:id="@id/flex_input_emoji_container" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="@dimen/default_keyboard_height" />
|
||||
! </LinearLayout>
|
||||
\ No newline at end of file
|
||||
--- 21,24 ----
|
||||
<TextView android:gravity="center" android:id="@id/flex_input_cannot_send_text" android:background="?colorBackgroundSecondary" android:paddingLeft="12.0dip" android:paddingTop="@dimen/uikit_spacing_xlarge" android:paddingRight="12.0dip" android:paddingBottom="@dimen/uikit_spacing_xlarge" android:focusable="true" android:visibility="gone" android:clickable="true" android:layout_height="wrap_content" android:text="@string/no_send_messages_permission_placeholder" android:layout_alignParentStart="true" android:layout_alignParentEnd="true" style="@style/UiKit.TextView" />
|
||||
</RelativeLayout>
|
||||
<FrameLayout android:orientation="vertical" android:id="@id/flex_input_emoji_container" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="@dimen/default_keyboard_height" />
|
||||
! </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
|
||||
*** 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: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 ****
|
||||
|
||||
if-eqz v4, :cond_5
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 810,816 ----
|
||||
|
||||
if-eqz v4, :cond_5
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
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
|
||||
|
90
resources/patches/nocamerabutton/1145.patch
Normal file
90
resources/patches/nocamerabutton/1145.patch
Normal file
|
@ -0,0 +1,90 @@
|
|||
Binary files com.discord-1144-base/build/apk/classes2.dex and com.discord-1144/build/apk/classes2.dex differ
|
||||
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
|
||||
*** 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 18:35:31.125235116 +0300
|
||||
***************
|
||||
*** 8,14 ****
|
||||
<RelativeLayout android:animateLayoutChanges="true" style="@style/UiKit.ViewGroup">
|
||||
<LinearLayout android:id="@id/flex_input_left_btns_container" android:layout_width="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_alignParentLeft="true" android:layout_centerVertical="true" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_expand_btn" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_carot_right_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/expand_buttons" style="@style/FlexInput.Input" />
|
||||
! <androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_camera_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_camera_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/camera" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_gallery_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_gallery_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/attachment_photos" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@id/flex_input_main_input_container" android:background="@drawable/drawable_bg_corners_20dp" android:paddingLeft="12.0dip" android:paddingRight="@dimen/uikit_spacing_small" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_toLeftOf="@id/flex_input_send_btn_container" android:layout_toRightOf="@id/flex_input_left_btns_container" android:layout_centerVertical="true" android:animateLayoutChanges="true" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
--- 8,14 ----
|
||||
<RelativeLayout android:animateLayoutChanges="true" style="@style/UiKit.ViewGroup">
|
||||
<LinearLayout android:id="@id/flex_input_left_btns_container" android:layout_width="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_alignParentLeft="true" android:layout_centerVertical="true" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_expand_btn" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_carot_right_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/expand_buttons" style="@style/FlexInput.Input" />
|
||||
! <androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_camera_btn" android:visibility="gone" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_camera_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/camera" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_gallery_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_gallery_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/attachment_photos" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@id/flex_input_main_input_container" android:background="@drawable/drawable_bg_corners_20dp" android:paddingLeft="12.0dip" android:paddingRight="@dimen/uikit_spacing_small" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_toLeftOf="@id/flex_input_send_btn_container" android:layout_toRightOf="@id/flex_input_left_btns_container" android:layout_centerVertical="true" android:animateLayoutChanges="true" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
***************
|
||||
*** 21,24 ****
|
||||
<TextView android:gravity="center" android:id="@id/flex_input_cannot_send_text" android:background="?colorBackgroundSecondary" android:paddingLeft="12.0dip" android:paddingTop="@dimen/uikit_spacing_xlarge" android:paddingRight="12.0dip" android:paddingBottom="@dimen/uikit_spacing_xlarge" android:focusable="true" android:visibility="gone" android:clickable="true" android:layout_height="wrap_content" android:text="@string/no_send_messages_permission_placeholder" android:layout_alignParentStart="true" android:layout_alignParentEnd="true" style="@style/UiKit.TextView" />
|
||||
</RelativeLayout>
|
||||
<FrameLayout android:orientation="vertical" android:id="@id/flex_input_emoji_container" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="@dimen/default_keyboard_height" />
|
||||
! </LinearLayout>
|
||||
\ No newline at end of file
|
||||
--- 21,24 ----
|
||||
<TextView android:gravity="center" android:id="@id/flex_input_cannot_send_text" android:background="?colorBackgroundSecondary" android:paddingLeft="12.0dip" android:paddingTop="@dimen/uikit_spacing_xlarge" android:paddingRight="12.0dip" android:paddingBottom="@dimen/uikit_spacing_xlarge" android:focusable="true" android:visibility="gone" android:clickable="true" android:layout_height="wrap_content" android:text="@string/no_send_messages_permission_placeholder" android:layout_alignParentStart="true" android:layout_alignParentEnd="true" style="@style/UiKit.TextView" />
|
||||
</RelativeLayout>
|
||||
<FrameLayout android:orientation="vertical" android:id="@id/flex_input_emoji_container" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="@dimen/default_keyboard_height" />
|
||||
! </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
|
||||
*** 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: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 ****
|
||||
|
||||
if-eqz v4, :cond_5
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 810,816 ----
|
||||
|
||||
if-eqz v4, :cond_5
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
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
|
||||
|
90
resources/patches/nocamerabutton/1146.patch
Normal file
90
resources/patches/nocamerabutton/1146.patch
Normal file
|
@ -0,0 +1,90 @@
|
|||
Binary files com.discord-1144-base/build/apk/classes2.dex and com.discord-1144/build/apk/classes2.dex differ
|
||||
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
|
||||
*** 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 18:35:31.125235116 +0300
|
||||
***************
|
||||
*** 8,14 ****
|
||||
<RelativeLayout android:animateLayoutChanges="true" style="@style/UiKit.ViewGroup">
|
||||
<LinearLayout android:id="@id/flex_input_left_btns_container" android:layout_width="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_alignParentLeft="true" android:layout_centerVertical="true" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_expand_btn" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_carot_right_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/expand_buttons" style="@style/FlexInput.Input" />
|
||||
! <androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_camera_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_camera_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/camera" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_gallery_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_gallery_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/attachment_photos" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@id/flex_input_main_input_container" android:background="@drawable/drawable_bg_corners_20dp" android:paddingLeft="12.0dip" android:paddingRight="@dimen/uikit_spacing_small" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_toLeftOf="@id/flex_input_send_btn_container" android:layout_toRightOf="@id/flex_input_left_btns_container" android:layout_centerVertical="true" android:animateLayoutChanges="true" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
--- 8,14 ----
|
||||
<RelativeLayout android:animateLayoutChanges="true" style="@style/UiKit.ViewGroup">
|
||||
<LinearLayout android:id="@id/flex_input_left_btns_container" android:layout_width="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_alignParentLeft="true" android:layout_centerVertical="true" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_expand_btn" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_carot_right_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/expand_buttons" style="@style/FlexInput.Input" />
|
||||
! <androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_camera_btn" android:visibility="gone" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_camera_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/camera" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_gallery_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_gallery_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/attachment_photos" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@id/flex_input_main_input_container" android:background="@drawable/drawable_bg_corners_20dp" android:paddingLeft="12.0dip" android:paddingRight="@dimen/uikit_spacing_small" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_toLeftOf="@id/flex_input_send_btn_container" android:layout_toRightOf="@id/flex_input_left_btns_container" android:layout_centerVertical="true" android:animateLayoutChanges="true" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
***************
|
||||
*** 21,24 ****
|
||||
<TextView android:gravity="center" android:id="@id/flex_input_cannot_send_text" android:background="?colorBackgroundSecondary" android:paddingLeft="12.0dip" android:paddingTop="@dimen/uikit_spacing_xlarge" android:paddingRight="12.0dip" android:paddingBottom="@dimen/uikit_spacing_xlarge" android:focusable="true" android:visibility="gone" android:clickable="true" android:layout_height="wrap_content" android:text="@string/no_send_messages_permission_placeholder" android:layout_alignParentStart="true" android:layout_alignParentEnd="true" style="@style/UiKit.TextView" />
|
||||
</RelativeLayout>
|
||||
<FrameLayout android:orientation="vertical" android:id="@id/flex_input_emoji_container" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="@dimen/default_keyboard_height" />
|
||||
! </LinearLayout>
|
||||
\ No newline at end of file
|
||||
--- 21,24 ----
|
||||
<TextView android:gravity="center" android:id="@id/flex_input_cannot_send_text" android:background="?colorBackgroundSecondary" android:paddingLeft="12.0dip" android:paddingTop="@dimen/uikit_spacing_xlarge" android:paddingRight="12.0dip" android:paddingBottom="@dimen/uikit_spacing_xlarge" android:focusable="true" android:visibility="gone" android:clickable="true" android:layout_height="wrap_content" android:text="@string/no_send_messages_permission_placeholder" android:layout_alignParentStart="true" android:layout_alignParentEnd="true" style="@style/UiKit.TextView" />
|
||||
</RelativeLayout>
|
||||
<FrameLayout android:orientation="vertical" android:id="@id/flex_input_emoji_container" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="@dimen/default_keyboard_height" />
|
||||
! </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
|
||||
*** 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: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 ****
|
||||
|
||||
if-eqz v4, :cond_5
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 810,816 ----
|
||||
|
||||
if-eqz v4, :cond_5
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
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
|
||||
|
90
resources/patches/nocamerabutton/1148.patch
Normal file
90
resources/patches/nocamerabutton/1148.patch
Normal file
|
@ -0,0 +1,90 @@
|
|||
Binary files com.discord-1144-base/build/apk/classes2.dex and com.discord-1144/build/apk/classes2.dex differ
|
||||
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
|
||||
*** 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 18:35:31.125235116 +0300
|
||||
***************
|
||||
*** 8,14 ****
|
||||
<RelativeLayout android:animateLayoutChanges="true" style="@style/UiKit.ViewGroup">
|
||||
<LinearLayout android:id="@id/flex_input_left_btns_container" android:layout_width="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_alignParentLeft="true" android:layout_centerVertical="true" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_expand_btn" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_carot_right_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/expand_buttons" style="@style/FlexInput.Input" />
|
||||
! <androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_camera_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_camera_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/camera" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_gallery_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_gallery_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/attachment_photos" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@id/flex_input_main_input_container" android:background="@drawable/drawable_bg_corners_20dp" android:paddingLeft="12.0dip" android:paddingRight="@dimen/uikit_spacing_small" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_toLeftOf="@id/flex_input_send_btn_container" android:layout_toRightOf="@id/flex_input_left_btns_container" android:layout_centerVertical="true" android:animateLayoutChanges="true" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
--- 8,14 ----
|
||||
<RelativeLayout android:animateLayoutChanges="true" style="@style/UiKit.ViewGroup">
|
||||
<LinearLayout android:id="@id/flex_input_left_btns_container" android:layout_width="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_alignParentLeft="true" android:layout_centerVertical="true" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_expand_btn" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_carot_right_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/expand_buttons" style="@style/FlexInput.Input" />
|
||||
! <androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_camera_btn" android:visibility="gone" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_camera_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/camera" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_gallery_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_gallery_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/attachment_photos" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@id/flex_input_main_input_container" android:background="@drawable/drawable_bg_corners_20dp" android:paddingLeft="12.0dip" android:paddingRight="@dimen/uikit_spacing_small" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_toLeftOf="@id/flex_input_send_btn_container" android:layout_toRightOf="@id/flex_input_left_btns_container" android:layout_centerVertical="true" android:animateLayoutChanges="true" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
***************
|
||||
*** 21,24 ****
|
||||
<TextView android:gravity="center" android:id="@id/flex_input_cannot_send_text" android:background="?colorBackgroundSecondary" android:paddingLeft="12.0dip" android:paddingTop="@dimen/uikit_spacing_xlarge" android:paddingRight="12.0dip" android:paddingBottom="@dimen/uikit_spacing_xlarge" android:focusable="true" android:visibility="gone" android:clickable="true" android:layout_height="wrap_content" android:text="@string/no_send_messages_permission_placeholder" android:layout_alignParentStart="true" android:layout_alignParentEnd="true" style="@style/UiKit.TextView" />
|
||||
</RelativeLayout>
|
||||
<FrameLayout android:orientation="vertical" android:id="@id/flex_input_emoji_container" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="@dimen/default_keyboard_height" />
|
||||
! </LinearLayout>
|
||||
\ No newline at end of file
|
||||
--- 21,24 ----
|
||||
<TextView android:gravity="center" android:id="@id/flex_input_cannot_send_text" android:background="?colorBackgroundSecondary" android:paddingLeft="12.0dip" android:paddingTop="@dimen/uikit_spacing_xlarge" android:paddingRight="12.0dip" android:paddingBottom="@dimen/uikit_spacing_xlarge" android:focusable="true" android:visibility="gone" android:clickable="true" android:layout_height="wrap_content" android:text="@string/no_send_messages_permission_placeholder" android:layout_alignParentStart="true" android:layout_alignParentEnd="true" style="@style/UiKit.TextView" />
|
||||
</RelativeLayout>
|
||||
<FrameLayout android:orientation="vertical" android:id="@id/flex_input_emoji_container" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="@dimen/default_keyboard_height" />
|
||||
! </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
|
||||
*** 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: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 ****
|
||||
|
||||
if-eqz v4, :cond_5
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 810,816 ----
|
||||
|
||||
if-eqz v4, :cond_5
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
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
|
||||
|
90
resources/patches/nocamerabutton/1150.patch
Normal file
90
resources/patches/nocamerabutton/1150.patch
Normal file
|
@ -0,0 +1,90 @@
|
|||
Binary files com.discord-1144-base/build/apk/classes2.dex and com.discord-1144/build/apk/classes2.dex differ
|
||||
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
|
||||
*** 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 18:35:31.125235116 +0300
|
||||
***************
|
||||
*** 8,14 ****
|
||||
<RelativeLayout android:animateLayoutChanges="true" style="@style/UiKit.ViewGroup">
|
||||
<LinearLayout android:id="@id/flex_input_left_btns_container" android:layout_width="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_alignParentLeft="true" android:layout_centerVertical="true" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_expand_btn" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_carot_right_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/expand_buttons" style="@style/FlexInput.Input" />
|
||||
! <androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_camera_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_camera_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/camera" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_gallery_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_gallery_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/attachment_photos" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@id/flex_input_main_input_container" android:background="@drawable/drawable_bg_corners_20dp" android:paddingLeft="12.0dip" android:paddingRight="@dimen/uikit_spacing_small" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_toLeftOf="@id/flex_input_send_btn_container" android:layout_toRightOf="@id/flex_input_left_btns_container" android:layout_centerVertical="true" android:animateLayoutChanges="true" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
--- 8,14 ----
|
||||
<RelativeLayout android:animateLayoutChanges="true" style="@style/UiKit.ViewGroup">
|
||||
<LinearLayout android:id="@id/flex_input_left_btns_container" android:layout_width="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_alignParentLeft="true" android:layout_centerVertical="true" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_expand_btn" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_carot_right_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/expand_buttons" style="@style/FlexInput.Input" />
|
||||
! <androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_camera_btn" android:visibility="gone" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_camera_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/camera" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_gallery_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_gallery_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/attachment_photos" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/FlexInput.Input" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@id/flex_input_main_input_container" android:background="@drawable/drawable_bg_corners_20dp" android:paddingLeft="12.0dip" android:paddingRight="@dimen/uikit_spacing_small" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_toLeftOf="@id/flex_input_send_btn_container" android:layout_toRightOf="@id/flex_input_left_btns_container" android:layout_centerVertical="true" android:animateLayoutChanges="true" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
***************
|
||||
*** 21,24 ****
|
||||
<TextView android:gravity="center" android:id="@id/flex_input_cannot_send_text" android:background="?colorBackgroundSecondary" android:paddingLeft="12.0dip" android:paddingTop="@dimen/uikit_spacing_xlarge" android:paddingRight="12.0dip" android:paddingBottom="@dimen/uikit_spacing_xlarge" android:focusable="true" android:visibility="gone" android:clickable="true" android:layout_height="wrap_content" android:text="@string/no_send_messages_permission_placeholder" android:layout_alignParentStart="true" android:layout_alignParentEnd="true" style="@style/UiKit.TextView" />
|
||||
</RelativeLayout>
|
||||
<FrameLayout android:orientation="vertical" android:id="@id/flex_input_emoji_container" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="@dimen/default_keyboard_height" />
|
||||
! </LinearLayout>
|
||||
\ No newline at end of file
|
||||
--- 21,24 ----
|
||||
<TextView android:gravity="center" android:id="@id/flex_input_cannot_send_text" android:background="?colorBackgroundSecondary" android:paddingLeft="12.0dip" android:paddingTop="@dimen/uikit_spacing_xlarge" android:paddingRight="12.0dip" android:paddingBottom="@dimen/uikit_spacing_xlarge" android:focusable="true" android:visibility="gone" android:clickable="true" android:layout_height="wrap_content" android:text="@string/no_send_messages_permission_placeholder" android:layout_alignParentStart="true" android:layout_alignParentEnd="true" style="@style/UiKit.TextView" />
|
||||
</RelativeLayout>
|
||||
<FrameLayout android:orientation="vertical" android:id="@id/flex_input_emoji_container" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="@dimen/default_keyboard_height" />
|
||||
! </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
|
||||
*** 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: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 ****
|
||||
|
||||
if-eqz v4, :cond_5
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 810,816 ----
|
||||
|
||||
if-eqz v4, :cond_5
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
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
|
||||
|
69
resources/patches/nocamerabutton/1167.patch
Normal file
69
resources/patches/nocamerabutton/1167.patch
Normal file
|
@ -0,0 +1,69 @@
|
|||
diff -crB from/res/layout/flex_input_widget.xml to/res/layout/flex_input_widget.xml
|
||||
*** from/res/layout/flex_input_widget.xml 2020-06-20 04:18:48.593394410 +0100
|
||||
--- to/res/layout/flex_input_widget.xml 2020-06-20 04:20:25.034694444 +0100
|
||||
***************
|
||||
*** 8,14 ****
|
||||
<RelativeLayout android:animateLayoutChanges="true" style="@style/UiKit.ViewGroup">
|
||||
<LinearLayout android:id="@id/flex_input_left_btns_container" android:layout_width="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_alignParentLeft="true" android:layout_centerVertical="true" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_expand_btn" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_carot_right_24dp" android:contentDescription="@string/expand_buttons" app:tint="?colorInteractiveNormal" style="@style/FlexInput.Input" />
|
||||
! <androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_camera_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_camera_24dp" android:contentDescription="@string/camera" android:backgroundTint="?colorBackgroundSecondaryAlt" app:tint="?colorInteractiveNormal" style="@style/FlexInput.Input" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_gallery_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_gallery_24dp" android:contentDescription="@string/attachment_photos" android:backgroundTint="?colorBackgroundSecondaryAlt" app:tint="?colorInteractiveNormal" style="@style/FlexInput.Input" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@id/flex_input_main_input_container" android:background="@drawable/drawable_bg_corners_20dp" android:paddingLeft="12.0dip" android:paddingRight="@dimen/uikit_spacing_small" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_toLeftOf="@id/flex_input_send_btn_container" android:layout_toRightOf="@id/flex_input_left_btns_container" android:layout_centerVertical="true" android:animateLayoutChanges="true" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
--- 8,14 ----
|
||||
<RelativeLayout android:animateLayoutChanges="true" style="@style/UiKit.ViewGroup">
|
||||
<LinearLayout android:id="@id/flex_input_left_btns_container" android:layout_width="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_alignParentLeft="true" android:layout_centerVertical="true" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_expand_btn" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_carot_right_24dp" android:contentDescription="@string/expand_buttons" app:tint="?colorInteractiveNormal" style="@style/FlexInput.Input" />
|
||||
! <androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_camera_btn" android:visibility="gone" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_camera_24dp" android:contentDescription="@string/camera" android:backgroundTint="?colorBackgroundSecondaryAlt" app:tint="?colorInteractiveNormal" style="@style/FlexInput.Input" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_gallery_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_gallery_24dp" android:contentDescription="@string/attachment_photos" android:backgroundTint="?colorBackgroundSecondaryAlt" app:tint="?colorInteractiveNormal" style="@style/FlexInput.Input" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@id/flex_input_main_input_container" android:background="@drawable/drawable_bg_corners_20dp" android:paddingLeft="12.0dip" android:paddingRight="@dimen/uikit_spacing_small" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_toLeftOf="@id/flex_input_send_btn_container" android:layout_toRightOf="@id/flex_input_left_btns_container" android:layout_centerVertical="true" android:animateLayoutChanges="true" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
***************
|
||||
*** 22,25 ****
|
||||
</RelativeLayout>
|
||||
<FrameLayout android:id="@id/flex_input_expression_tray_container" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="@dimen/default_keyboard_height" />
|
||||
<FrameLayout android:id="@id/flex_input_default_window_insets_handler" android:visibility="visible" android:layout_width="fill_parent" android:layout_height="wrap_content" />
|
||||
! </LinearLayout>
|
||||
\ No newline at end of file
|
||||
--- 22,25 ----
|
||||
</RelativeLayout>
|
||||
<FrameLayout android:id="@id/flex_input_expression_tray_container" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="@dimen/default_keyboard_height" />
|
||||
<FrameLayout android:id="@id/flex_input_default_window_insets_handler" android:visibility="visible" android:layout_width="fill_parent" android:layout_height="wrap_content" />
|
||||
! </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-06-20 04:18:53.511358449 +0100
|
||||
--- to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-06-20 04:36:17.584111077 +0100
|
||||
***************
|
||||
*** 353,359 ****
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 353,359 ----
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/16 v10, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
***************
|
||||
*** 508,514 ****
|
||||
|
||||
if-eqz v5, :cond_e
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_9
|
||||
|
||||
--- 508,514 ----
|
||||
|
||||
if-eqz v5, :cond_e
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_9
|
||||
|
69
resources/patches/nocamerabutton/1169.patch
Normal file
69
resources/patches/nocamerabutton/1169.patch
Normal file
|
@ -0,0 +1,69 @@
|
|||
diff -crB from/res/layout/flex_input_widget.xml to/res/layout/flex_input_widget.xml
|
||||
*** from/res/layout/flex_input_widget.xml 2020-06-24 21:10:13.590862662 +0100
|
||||
--- to/res/layout/flex_input_widget.xml 2020-06-24 21:10:59.030347519 +0100
|
||||
***************
|
||||
*** 8,14 ****
|
||||
<RelativeLayout android:animateLayoutChanges="true" style="@style/UiKit.ViewGroup">
|
||||
<LinearLayout android:id="@id/flex_input_left_btns_container" android:layout_width="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_alignParentLeft="true" android:layout_centerVertical="true" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_expand_btn" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_carot_right_24dp" android:contentDescription="@string/expand_buttons" app:tint="?colorInteractiveNormal" style="@style/FlexInput.Input" />
|
||||
! <androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_camera_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_camera_24dp" android:contentDescription="@string/camera" android:backgroundTint="?colorBackgroundSecondaryAlt" app:tint="?colorInteractiveNormal" style="@style/FlexInput.Input" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_gallery_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_gallery_24dp" android:contentDescription="@string/attachment_photos" android:backgroundTint="?colorBackgroundSecondaryAlt" app:tint="?colorInteractiveNormal" style="@style/FlexInput.Input" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@id/flex_input_main_input_container" android:background="@drawable/drawable_bg_corners_20dp" android:paddingLeft="12.0dip" android:paddingRight="@dimen/uikit_spacing_small" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_toLeftOf="@id/flex_input_send_btn_container" android:layout_toRightOf="@id/flex_input_left_btns_container" android:layout_centerVertical="true" android:animateLayoutChanges="true" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
--- 8,14 ----
|
||||
<RelativeLayout android:animateLayoutChanges="true" style="@style/UiKit.ViewGroup">
|
||||
<LinearLayout android:id="@id/flex_input_left_btns_container" android:layout_width="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_alignParentLeft="true" android:layout_centerVertical="true" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_expand_btn" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_carot_right_24dp" android:contentDescription="@string/expand_buttons" app:tint="?colorInteractiveNormal" style="@style/FlexInput.Input" />
|
||||
! <androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_camera_btn" android:visibility="gone" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_camera_24dp" android:contentDescription="@string/camera" android:backgroundTint="?colorBackgroundSecondaryAlt" app:tint="?colorInteractiveNormal" style="@style/FlexInput.Input" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_gallery_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_gallery_24dp" android:contentDescription="@string/attachment_photos" android:backgroundTint="?colorBackgroundSecondaryAlt" app:tint="?colorInteractiveNormal" style="@style/FlexInput.Input" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@id/flex_input_main_input_container" android:background="@drawable/drawable_bg_corners_20dp" android:paddingLeft="12.0dip" android:paddingRight="@dimen/uikit_spacing_small" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_toLeftOf="@id/flex_input_send_btn_container" android:layout_toRightOf="@id/flex_input_left_btns_container" android:layout_centerVertical="true" android:animateLayoutChanges="true" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
***************
|
||||
*** 22,25 ****
|
||||
</RelativeLayout>
|
||||
<FrameLayout android:id="@id/flex_input_expression_tray_container" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="@dimen/default_keyboard_height" />
|
||||
<FrameLayout android:id="@id/flex_input_default_window_insets_handler" android:visibility="visible" android:layout_width="fill_parent" android:layout_height="wrap_content" />
|
||||
! </LinearLayout>
|
||||
\ No newline at end of file
|
||||
--- 22,25 ----
|
||||
</RelativeLayout>
|
||||
<FrameLayout android:id="@id/flex_input_expression_tray_container" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="@dimen/default_keyboard_height" />
|
||||
<FrameLayout android:id="@id/flex_input_default_window_insets_handler" android:visibility="visible" android:layout_width="fill_parent" android:layout_height="wrap_content" />
|
||||
! </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-06-24 21:10:17.102821455 +0100
|
||||
--- to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-06-24 21:10:59.032347499 +0100
|
||||
***************
|
||||
*** 363,369 ****
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 363,369 ----
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/16 v10, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
***************
|
||||
*** 518,524 ****
|
||||
|
||||
if-eqz v5, :cond_e
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_9
|
||||
|
||||
--- 518,524 ----
|
||||
|
||||
if-eqz v5, :cond_e
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_9
|
||||
|
69
resources/patches/nocamerabutton/1171.patch
Normal file
69
resources/patches/nocamerabutton/1171.patch
Normal file
|
@ -0,0 +1,69 @@
|
|||
diff -crB from/res/layout/flex_input_widget.xml to/res/layout/flex_input_widget.xml
|
||||
*** from/res/layout/flex_input_widget.xml 2020-06-24 21:10:13.590862662 +0100
|
||||
--- to/res/layout/flex_input_widget.xml 2020-06-24 21:10:59.030347519 +0100
|
||||
***************
|
||||
*** 8,14 ****
|
||||
<RelativeLayout android:animateLayoutChanges="true" style="@style/UiKit.ViewGroup">
|
||||
<LinearLayout android:id="@id/flex_input_left_btns_container" android:layout_width="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_alignParentLeft="true" android:layout_centerVertical="true" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_expand_btn" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_carot_right_24dp" android:contentDescription="@string/expand_buttons" app:tint="?colorInteractiveNormal" style="@style/FlexInput.Input" />
|
||||
! <androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_camera_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_camera_24dp" android:contentDescription="@string/camera" android:backgroundTint="?colorBackgroundSecondaryAlt" app:tint="?colorInteractiveNormal" style="@style/FlexInput.Input" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_gallery_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_gallery_24dp" android:contentDescription="@string/attachment_photos" android:backgroundTint="?colorBackgroundSecondaryAlt" app:tint="?colorInteractiveNormal" style="@style/FlexInput.Input" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@id/flex_input_main_input_container" android:background="@drawable/drawable_bg_corners_20dp" android:paddingLeft="12.0dip" android:paddingRight="@dimen/uikit_spacing_small" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_toLeftOf="@id/flex_input_send_btn_container" android:layout_toRightOf="@id/flex_input_left_btns_container" android:layout_centerVertical="true" android:animateLayoutChanges="true" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
--- 8,14 ----
|
||||
<RelativeLayout android:animateLayoutChanges="true" style="@style/UiKit.ViewGroup">
|
||||
<LinearLayout android:id="@id/flex_input_left_btns_container" android:layout_width="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_alignParentLeft="true" android:layout_centerVertical="true" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_expand_btn" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_carot_right_24dp" android:contentDescription="@string/expand_buttons" app:tint="?colorInteractiveNormal" style="@style/FlexInput.Input" />
|
||||
! <androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_camera_btn" android:visibility="gone" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_camera_24dp" android:contentDescription="@string/camera" android:backgroundTint="?colorBackgroundSecondaryAlt" app:tint="?colorInteractiveNormal" style="@style/FlexInput.Input" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_gallery_btn" android:background="@drawable/drawable_circle_black" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_gallery_24dp" android:contentDescription="@string/attachment_photos" android:backgroundTint="?colorBackgroundSecondaryAlt" app:tint="?colorInteractiveNormal" style="@style/FlexInput.Input" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@id/flex_input_main_input_container" android:background="@drawable/drawable_bg_corners_20dp" android:paddingLeft="12.0dip" android:paddingRight="@dimen/uikit_spacing_small" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_toLeftOf="@id/flex_input_send_btn_container" android:layout_toRightOf="@id/flex_input_left_btns_container" android:layout_centerVertical="true" android:animateLayoutChanges="true" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
***************
|
||||
*** 22,25 ****
|
||||
</RelativeLayout>
|
||||
<FrameLayout android:id="@id/flex_input_expression_tray_container" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="@dimen/default_keyboard_height" />
|
||||
<FrameLayout android:id="@id/flex_input_default_window_insets_handler" android:visibility="visible" android:layout_width="fill_parent" android:layout_height="wrap_content" />
|
||||
! </LinearLayout>
|
||||
\ No newline at end of file
|
||||
--- 22,25 ----
|
||||
</RelativeLayout>
|
||||
<FrameLayout android:id="@id/flex_input_expression_tray_container" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="@dimen/default_keyboard_height" />
|
||||
<FrameLayout android:id="@id/flex_input_default_window_insets_handler" android:visibility="visible" android:layout_width="fill_parent" android:layout_height="wrap_content" />
|
||||
! </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-06-24 21:10:17.102821455 +0100
|
||||
--- to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-06-24 21:10:59.032347499 +0100
|
||||
***************
|
||||
*** 363,369 ****
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 363,369 ----
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/16 v10, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
***************
|
||||
*** 518,524 ****
|
||||
|
||||
if-eqz v5, :cond_e
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_9
|
||||
|
||||
--- 518,524 ----
|
||||
|
||||
if-eqz v5, :cond_e
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_9
|
||||
|
20
resources/patches/nocamerabutton/1180.patch
Normal file
20
resources/patches/nocamerabutton/1180.patch
Normal file
|
@ -0,0 +1,20 @@
|
|||
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-07-07 21:22:26.390000000 +0300
|
||||
--- to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-07-07 23:06:52.120000000 +0300
|
||||
***************
|
||||
*** 363,369 ****
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 363,369 ----
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_2
|
||||
|
20
resources/patches/nocamerabutton/1181.patch
Normal file
20
resources/patches/nocamerabutton/1181.patch
Normal file
|
@ -0,0 +1,20 @@
|
|||
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-07-07 21:22:26.390000000 +0300
|
||||
--- to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-07-07 23:06:52.120000000 +0300
|
||||
***************
|
||||
*** 363,369 ****
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 363,369 ----
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_2
|
||||
|
20
resources/patches/nocamerabutton/1192.patch
Normal file
20
resources/patches/nocamerabutton/1192.patch
Normal file
|
@ -0,0 +1,20 @@
|
|||
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-07-09 23:31:36.230000000 +0300
|
||||
--- to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-07-09 23:31:57.640000000 +0300
|
||||
***************
|
||||
*** 371,377 ****
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 371,377 ----
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_2
|
||||
|
20
resources/patches/nocamerabutton/1196.patch
Normal file
20
resources/patches/nocamerabutton/1196.patch
Normal file
|
@ -0,0 +1,20 @@
|
|||
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-07-09 23:31:36.230000000 +0300
|
||||
--- to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-07-09 23:31:57.640000000 +0300
|
||||
***************
|
||||
*** 371,377 ****
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 371,377 ----
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_2
|
||||
|
20
resources/patches/nocamerabutton/1200.patch
Normal file
20
resources/patches/nocamerabutton/1200.patch
Normal file
|
@ -0,0 +1,20 @@
|
|||
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-07-18 13:36:47.690000000 +0300
|
||||
--- to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-07-18 13:38:12.390000000 +0300
|
||||
***************
|
||||
*** 379,385 ****
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 379,385 ----
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_2
|
||||
|
20
resources/patches/nocamerabutton/1201.patch
Normal file
20
resources/patches/nocamerabutton/1201.patch
Normal file
|
@ -0,0 +1,20 @@
|
|||
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-07-18 13:36:47.690000000 +0300
|
||||
--- to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-07-18 13:38:12.390000000 +0300
|
||||
***************
|
||||
*** 379,385 ****
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 379,385 ----
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_2
|
||||
|
57
resources/patches/nocamerabutton/1208.patch
Normal file
57
resources/patches/nocamerabutton/1208.patch
Normal file
|
@ -0,0 +1,57 @@
|
|||
Only in com.discord: build
|
||||
Only in com.discord: dist
|
||||
diff --color -crB com.discord-base/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali com.discord/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali
|
||||
*** com.discord-base/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-07-29 21:27:30.480127538 +0300
|
||||
--- com.discord/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-07-29 23:19:53.075584660 +0300
|
||||
***************
|
||||
*** 362,368 ****
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
--- 362,368 ----
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_1
|
||||
|
||||
***************
|
||||
*** 379,385 ****
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 379,385 ----
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_2
|
||||
|
||||
***************
|
||||
*** 401,407 ****
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x8
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
--- 401,407 ----
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x0
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
|
57
resources/patches/nocamerabutton/1213.patch
Normal file
57
resources/patches/nocamerabutton/1213.patch
Normal file
|
@ -0,0 +1,57 @@
|
|||
Only in com.discord: build
|
||||
Only in com.discord: dist
|
||||
diff --color -crB com.discord-base/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali com.discord/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali
|
||||
*** com.discord-base/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-07-29 21:27:30.480127538 +0300
|
||||
--- com.discord/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-07-29 23:19:53.075584660 +0300
|
||||
***************
|
||||
*** 362,368 ****
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
--- 362,368 ----
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_1
|
||||
|
||||
***************
|
||||
*** 379,385 ****
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 379,385 ----
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_2
|
||||
|
||||
***************
|
||||
*** 401,407 ****
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x8
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
--- 401,407 ----
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x0
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
|
57
resources/patches/nocamerabutton/1216.patch
Normal file
57
resources/patches/nocamerabutton/1216.patch
Normal file
|
@ -0,0 +1,57 @@
|
|||
Only in com.discord: build
|
||||
Only in com.discord: dist
|
||||
diff --color -crB com.discord-base/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali com.discord/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali
|
||||
*** com.discord-base/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-07-29 21:27:30.480127538 +0300
|
||||
--- com.discord/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-07-29 23:19:53.075584660 +0300
|
||||
***************
|
||||
*** 362,368 ****
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
--- 362,368 ----
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_1
|
||||
|
||||
***************
|
||||
*** 379,385 ****
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 379,385 ----
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_2
|
||||
|
||||
***************
|
||||
*** 401,407 ****
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x8
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
--- 401,407 ----
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x0
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
|
57
resources/patches/nocamerabutton/1218.patch
Normal file
57
resources/patches/nocamerabutton/1218.patch
Normal file
|
@ -0,0 +1,57 @@
|
|||
Only in com.discord: build
|
||||
Only in com.discord: dist
|
||||
diff --color -crB com.discord-base/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali com.discord/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali
|
||||
*** com.discord-base/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-07-29 21:27:30.480127538 +0300
|
||||
--- com.discord/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-07-29 23:19:53.075584660 +0300
|
||||
***************
|
||||
*** 362,368 ****
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
--- 362,368 ----
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_1
|
||||
|
||||
***************
|
||||
*** 379,385 ****
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 379,385 ----
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_2
|
||||
|
||||
***************
|
||||
*** 401,407 ****
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x8
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
--- 401,407 ----
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x0
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
|
57
resources/patches/nocamerabutton/1223.patch
Normal file
57
resources/patches/nocamerabutton/1223.patch
Normal file
|
@ -0,0 +1,57 @@
|
|||
Only in com.discord: build
|
||||
Only in com.discord: dist
|
||||
diff --color -crB com.discord-base/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali com.discord/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali
|
||||
*** com.discord-base/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-07-29 21:27:30.480127538 +0300
|
||||
--- com.discord/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-07-29 23:19:53.075584660 +0300
|
||||
***************
|
||||
*** 362,368 ****
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
--- 362,368 ----
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_1
|
||||
|
||||
***************
|
||||
*** 379,385 ****
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 379,385 ----
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_2
|
||||
|
||||
***************
|
||||
*** 401,407 ****
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x8
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
--- 401,407 ----
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x0
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
|
57
resources/patches/nocamerabutton/1243.patch
Normal file
57
resources/patches/nocamerabutton/1243.patch
Normal file
|
@ -0,0 +1,57 @@
|
|||
Only in com.discord: build
|
||||
Only in com.discord: dist
|
||||
diff --color -crB com.discord-base/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali com.discord/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali
|
||||
*** com.discord-base/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-07-29 21:27:30.480127538 +0300
|
||||
--- com.discord/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-07-29 23:19:53.075584660 +0300
|
||||
***************
|
||||
*** 362,368 ****
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
--- 362,368 ----
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_1
|
||||
|
||||
***************
|
||||
*** 379,385 ****
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 379,385 ----
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_2
|
||||
|
||||
***************
|
||||
*** 401,407 ****
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x8
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
--- 401,407 ----
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x0
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
|
57
resources/patches/nocamerabutton/1246.patch
Normal file
57
resources/patches/nocamerabutton/1246.patch
Normal file
|
@ -0,0 +1,57 @@
|
|||
Only in com.discord: build
|
||||
Only in com.discord: dist
|
||||
diff --color -crB com.discord-base/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali com.discord/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali
|
||||
*** com.discord-base/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-07-29 21:27:30.480127538 +0300
|
||||
--- com.discord/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-07-29 23:19:53.075584660 +0300
|
||||
***************
|
||||
*** 362,368 ****
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
--- 362,368 ----
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_1
|
||||
|
||||
***************
|
||||
*** 379,385 ****
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 379,385 ----
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_2
|
||||
|
||||
***************
|
||||
*** 401,407 ****
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x8
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
--- 401,407 ----
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x0
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
|
57
resources/patches/nocamerabutton/1249.patch
Normal file
57
resources/patches/nocamerabutton/1249.patch
Normal file
|
@ -0,0 +1,57 @@
|
|||
Only in com.discord: build
|
||||
Only in com.discord: dist
|
||||
diff --color -crB com.discord-base/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali com.discord/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali
|
||||
*** com.discord-base/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-07-29 21:27:30.480127538 +0300
|
||||
--- com.discord/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-07-29 23:19:53.075584660 +0300
|
||||
***************
|
||||
*** 362,368 ****
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
--- 362,368 ----
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_1
|
||||
|
||||
***************
|
||||
*** 379,385 ****
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 379,385 ----
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_2
|
||||
|
||||
***************
|
||||
*** 401,407 ****
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x8
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
--- 401,407 ----
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x0
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
|
54
resources/patches/nocamerabutton/1251.patch
Normal file
54
resources/patches/nocamerabutton/1251.patch
Normal file
|
@ -0,0 +1,54 @@
|
|||
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-09-07 10:44:50.559489767 +0100
|
||||
--- to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-09-07 10:44:58.805420892 +0100
|
||||
***************
|
||||
*** 372,378 ****
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
--- 372,378 ----
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_1
|
||||
|
||||
***************
|
||||
*** 389,395 ****
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 389,395 ----
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_2
|
||||
|
||||
***************
|
||||
*** 411,417 ****
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x8
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
--- 411,417 ----
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x0
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
57
resources/patches/nocamerabutton/1252.patch
Normal file
57
resources/patches/nocamerabutton/1252.patch
Normal file
|
@ -0,0 +1,57 @@
|
|||
Only in com.discord: build
|
||||
Only in com.discord: dist
|
||||
diff --color -crB com.discord-base/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali com.discord/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali
|
||||
*** com.discord-base/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-07-29 21:27:30.480127538 +0300
|
||||
--- com.discord/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-07-29 23:19:53.075584660 +0300
|
||||
***************
|
||||
*** 362,368 ****
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
--- 362,368 ----
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_1
|
||||
|
||||
***************
|
||||
*** 379,385 ****
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 379,385 ----
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_2
|
||||
|
||||
***************
|
||||
*** 401,407 ****
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x8
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
--- 401,407 ----
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x0
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
|
54
resources/patches/nocamerabutton/1259.patch
Normal file
54
resources/patches/nocamerabutton/1259.patch
Normal file
|
@ -0,0 +1,54 @@
|
|||
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-09-13 11:49:35.269203361 +0100
|
||||
--- to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-09-13 11:49:44.104248539 +0100
|
||||
***************
|
||||
*** 372,378 ****
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
--- 372,378 ----
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_1
|
||||
|
||||
***************
|
||||
*** 389,395 ****
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 389,395 ----
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_2
|
||||
|
||||
***************
|
||||
*** 411,417 ****
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x8
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
--- 411,417 ----
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x0
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
54
resources/patches/nocamerabutton/1266.patch
Normal file
54
resources/patches/nocamerabutton/1266.patch
Normal file
|
@ -0,0 +1,54 @@
|
|||
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-09-13 11:49:35.269203361 +0100
|
||||
--- to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-09-13 11:49:44.104248539 +0100
|
||||
***************
|
||||
*** 372,378 ****
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
--- 372,378 ----
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_1
|
||||
|
||||
***************
|
||||
*** 389,395 ****
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 389,395 ----
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_2
|
||||
|
||||
***************
|
||||
*** 411,417 ****
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x8
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
--- 411,417 ----
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x0
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
54
resources/patches/nocamerabutton/1270.patch
Normal file
54
resources/patches/nocamerabutton/1270.patch
Normal file
|
@ -0,0 +1,54 @@
|
|||
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-09-13 11:49:35.269203361 +0100
|
||||
--- to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-09-13 11:49:44.104248539 +0100
|
||||
***************
|
||||
*** 372,378 ****
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
--- 372,378 ----
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_1
|
||||
|
||||
***************
|
||||
*** 389,395 ****
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 389,395 ----
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_2
|
||||
|
||||
***************
|
||||
*** 411,417 ****
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x8
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
--- 411,417 ----
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x0
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
54
resources/patches/nocamerabutton/1273.patch
Normal file
54
resources/patches/nocamerabutton/1273.patch
Normal file
|
@ -0,0 +1,54 @@
|
|||
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-09-13 11:49:35.269203361 +0100
|
||||
--- to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-09-13 11:49:44.104248539 +0100
|
||||
***************
|
||||
*** 372,378 ****
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
--- 372,378 ----
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_1
|
||||
|
||||
***************
|
||||
*** 389,395 ****
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 389,395 ----
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_2
|
||||
|
||||
***************
|
||||
*** 411,417 ****
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x8
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
--- 411,417 ----
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x0
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
54
resources/patches/nocamerabutton/1279.patch
Normal file
54
resources/patches/nocamerabutton/1279.patch
Normal file
|
@ -0,0 +1,54 @@
|
|||
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-09-13 11:49:35.269203361 +0100
|
||||
--- to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-09-13 11:49:44.104248539 +0100
|
||||
***************
|
||||
*** 372,378 ****
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
--- 372,378 ----
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_1
|
||||
|
||||
***************
|
||||
*** 389,395 ****
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 389,395 ----
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_2
|
||||
|
||||
***************
|
||||
*** 411,417 ****
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x8
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
--- 411,417 ----
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x0
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
54
resources/patches/nocamerabutton/1280.patch
Normal file
54
resources/patches/nocamerabutton/1280.patch
Normal file
|
@ -0,0 +1,54 @@
|
|||
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-09-13 11:49:35.269203361 +0100
|
||||
--- to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-09-13 11:49:44.104248539 +0100
|
||||
***************
|
||||
*** 372,378 ****
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
--- 372,378 ----
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_1
|
||||
|
||||
***************
|
||||
*** 389,395 ****
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 389,395 ----
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_2
|
||||
|
||||
***************
|
||||
*** 411,417 ****
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x8
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
--- 411,417 ----
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x0
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
54
resources/patches/nocamerabutton/1281.patch
Normal file
54
resources/patches/nocamerabutton/1281.patch
Normal file
|
@ -0,0 +1,54 @@
|
|||
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-09-13 11:49:35.269203361 +0100
|
||||
--- to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-09-13 11:49:44.104248539 +0100
|
||||
***************
|
||||
*** 372,378 ****
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
--- 372,378 ----
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_1
|
||||
|
||||
***************
|
||||
*** 389,395 ****
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 389,395 ----
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_2
|
||||
|
||||
***************
|
||||
*** 411,417 ****
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x8
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
--- 411,417 ----
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x0
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
54
resources/patches/nocamerabutton/1282.patch
Normal file
54
resources/patches/nocamerabutton/1282.patch
Normal file
|
@ -0,0 +1,54 @@
|
|||
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-09-13 11:49:35.269203361 +0100
|
||||
--- to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-09-13 11:49:44.104248539 +0100
|
||||
***************
|
||||
*** 372,378 ****
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
--- 372,378 ----
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_1
|
||||
|
||||
***************
|
||||
*** 389,395 ****
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 389,395 ----
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_2
|
||||
|
||||
***************
|
||||
*** 411,417 ****
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x8
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
--- 411,417 ----
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x0
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
54
resources/patches/nocamerabutton/1284.patch
Normal file
54
resources/patches/nocamerabutton/1284.patch
Normal file
|
@ -0,0 +1,54 @@
|
|||
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-09-13 11:49:35.269203361 +0100
|
||||
--- to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-09-13 11:49:44.104248539 +0100
|
||||
***************
|
||||
*** 372,378 ****
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
--- 372,378 ----
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_1
|
||||
|
||||
***************
|
||||
*** 389,395 ****
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 389,395 ----
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_2
|
||||
|
||||
***************
|
||||
*** 411,417 ****
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x8
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
--- 411,417 ----
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x0
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
54
resources/patches/nocamerabutton/1290.patch
Normal file
54
resources/patches/nocamerabutton/1290.patch
Normal file
|
@ -0,0 +1,54 @@
|
|||
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-09-13 11:49:35.269203361 +0100
|
||||
--- to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-09-13 11:49:44.104248539 +0100
|
||||
***************
|
||||
*** 372,378 ****
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
--- 372,378 ----
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_1
|
||||
|
||||
***************
|
||||
*** 389,395 ****
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 389,395 ----
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_2
|
||||
|
||||
***************
|
||||
*** 411,417 ****
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x8
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
--- 411,417 ----
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x0
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
54
resources/patches/nocamerabutton/1294.patch
Normal file
54
resources/patches/nocamerabutton/1294.patch
Normal file
|
@ -0,0 +1,54 @@
|
|||
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-09-13 11:49:35.269203361 +0100
|
||||
--- to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-09-13 11:49:44.104248539 +0100
|
||||
***************
|
||||
*** 372,378 ****
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
--- 372,378 ----
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_1
|
||||
|
||||
***************
|
||||
*** 389,395 ****
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 389,395 ----
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_2
|
||||
|
||||
***************
|
||||
*** 411,417 ****
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x8
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
--- 411,417 ----
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x0
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
54
resources/patches/nocamerabutton/1295.patch
Normal file
54
resources/patches/nocamerabutton/1295.patch
Normal file
|
@ -0,0 +1,54 @@
|
|||
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-10-15 15:05:27.990101186 +0100
|
||||
--- to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-10-15 15:05:35.536848989 +0100
|
||||
***************
|
||||
*** 368,374 ****
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
--- 368,374 ----
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_1
|
||||
|
||||
***************
|
||||
*** 385,391 ****
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 385,391 ----
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_2
|
||||
|
||||
***************
|
||||
*** 407,413 ****
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x8
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
--- 407,413 ----
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x0
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
54
resources/patches/nocamerabutton/1298.patch
Normal file
54
resources/patches/nocamerabutton/1298.patch
Normal file
|
@ -0,0 +1,54 @@
|
|||
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-10-15 15:05:27.990101186 +0100
|
||||
--- to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-10-15 15:05:35.536848989 +0100
|
||||
***************
|
||||
*** 368,374 ****
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
--- 368,374 ----
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_1
|
||||
|
||||
***************
|
||||
*** 385,391 ****
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 385,391 ----
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_2
|
||||
|
||||
***************
|
||||
*** 407,413 ****
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x8
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
--- 407,413 ----
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x0
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
54
resources/patches/nocamerabutton/1300.patch
Normal file
54
resources/patches/nocamerabutton/1300.patch
Normal file
|
@ -0,0 +1,54 @@
|
|||
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-10-15 15:05:27.990101186 +0100
|
||||
--- to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-10-15 15:05:35.536848989 +0100
|
||||
***************
|
||||
*** 368,374 ****
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
--- 368,374 ----
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_1
|
||||
|
||||
***************
|
||||
*** 385,391 ****
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 385,391 ----
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_2
|
||||
|
||||
***************
|
||||
*** 407,413 ****
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x8
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
--- 407,413 ----
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x0
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
54
resources/patches/nocamerabutton/1301.patch
Normal file
54
resources/patches/nocamerabutton/1301.patch
Normal file
|
@ -0,0 +1,54 @@
|
|||
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-10-15 15:05:27.990101186 +0100
|
||||
--- to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-10-15 15:05:35.536848989 +0100
|
||||
***************
|
||||
*** 368,374 ****
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
--- 368,374 ----
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_1
|
||||
|
||||
***************
|
||||
*** 385,391 ****
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 385,391 ----
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_2
|
||||
|
||||
***************
|
||||
*** 407,413 ****
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x8
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
--- 407,413 ----
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x0
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
54
resources/patches/nocamerabutton/1304.patch
Normal file
54
resources/patches/nocamerabutton/1304.patch
Normal file
|
@ -0,0 +1,54 @@
|
|||
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-10-15 15:05:27.990101186 +0100
|
||||
--- to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-10-15 15:05:35.536848989 +0100
|
||||
***************
|
||||
*** 368,374 ****
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
--- 368,374 ----
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_1
|
||||
|
||||
***************
|
||||
*** 385,391 ****
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 385,391 ----
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_2
|
||||
|
||||
***************
|
||||
*** 407,413 ****
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x8
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
--- 407,413 ----
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x0
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
54
resources/patches/nocamerabutton/1306.patch
Normal file
54
resources/patches/nocamerabutton/1306.patch
Normal file
|
@ -0,0 +1,54 @@
|
|||
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-10-15 15:05:27.990101186 +0100
|
||||
--- to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-10-15 15:05:35.536848989 +0100
|
||||
***************
|
||||
*** 368,374 ****
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
--- 368,374 ----
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_1
|
||||
|
||||
***************
|
||||
*** 385,391 ****
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 385,391 ----
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_2
|
||||
|
||||
***************
|
||||
*** 407,413 ****
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x8
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
--- 407,413 ----
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x0
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
54
resources/patches/nocamerabutton/1307.patch
Normal file
54
resources/patches/nocamerabutton/1307.patch
Normal file
|
@ -0,0 +1,54 @@
|
|||
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-10-15 15:05:27.990101186 +0100
|
||||
--- to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-10-15 15:05:35.536848989 +0100
|
||||
***************
|
||||
*** 368,374 ****
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
--- 368,374 ----
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_1
|
||||
|
||||
***************
|
||||
*** 385,391 ****
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 385,391 ----
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_2
|
||||
|
||||
***************
|
||||
*** 407,413 ****
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x8
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
--- 407,413 ----
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x0
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
54
resources/patches/nocamerabutton/1310.patch
Normal file
54
resources/patches/nocamerabutton/1310.patch
Normal file
|
@ -0,0 +1,54 @@
|
|||
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-10-15 15:05:27.990101186 +0100
|
||||
--- to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-10-15 15:05:35.536848989 +0100
|
||||
***************
|
||||
*** 368,374 ****
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
--- 368,374 ----
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_1
|
||||
|
||||
***************
|
||||
*** 385,391 ****
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 385,391 ----
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_2
|
||||
|
||||
***************
|
||||
*** 407,413 ****
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x8
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
--- 407,413 ----
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x0
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
54
resources/patches/nocamerabutton/1315.patch
Normal file
54
resources/patches/nocamerabutton/1315.patch
Normal file
|
@ -0,0 +1,54 @@
|
|||
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-11-10 19:16:21.815139777 +0000
|
||||
--- to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-11-10 19:16:30.599178289 +0000
|
||||
***************
|
||||
*** 370,376 ****
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
--- 370,376 ----
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_1
|
||||
|
||||
***************
|
||||
*** 387,393 ****
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 387,393 ----
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_2
|
||||
|
||||
***************
|
||||
*** 409,415 ****
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x8
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
--- 409,415 ----
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x0
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
54
resources/patches/nocamerabutton/1318.patch
Normal file
54
resources/patches/nocamerabutton/1318.patch
Normal file
|
@ -0,0 +1,54 @@
|
|||
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-11-10 19:16:21.815139777 +0000
|
||||
--- to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-11-10 19:16:30.599178289 +0000
|
||||
***************
|
||||
*** 370,376 ****
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
--- 370,376 ----
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_1
|
||||
|
||||
***************
|
||||
*** 387,393 ****
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 387,393 ----
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_2
|
||||
|
||||
***************
|
||||
*** 409,415 ****
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x8
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
--- 409,415 ----
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x0
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
54
resources/patches/nocamerabutton/1330.patch
Normal file
54
resources/patches/nocamerabutton/1330.patch
Normal file
|
@ -0,0 +1,54 @@
|
|||
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-11-10 19:16:21.815139777 +0000
|
||||
--- to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment.smali 2020-11-10 19:16:30.599178289 +0000
|
||||
***************
|
||||
*** 370,376 ****
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
--- 370,376 ----
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_1
|
||||
|
||||
***************
|
||||
*** 387,393 ****
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/4 v10, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 387,393 ----
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/16 v10, 0x8
|
||||
|
||||
goto :goto_2
|
||||
|
||||
***************
|
||||
*** 409,415 ****
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x8
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
--- 409,415 ----
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x0
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
54
resources/patches/nocamerabutton/1334.patch
Normal file
54
resources/patches/nocamerabutton/1334.patch
Normal file
|
@ -0,0 +1,54 @@
|
|||
diff -crB from/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali
|
||||
*** from/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali 2020-11-16 13:22:50.877197514 +0000
|
||||
--- to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali 2020-11-16 13:32:00.418876991 +0000
|
||||
***************
|
||||
*** 187,193 ****
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/4 v11, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
--- 187,193 ----
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/4 v11, 0x8
|
||||
|
||||
goto :goto_1
|
||||
|
||||
***************
|
||||
*** 204,210 ****
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/4 v11, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 204,210 ----
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/4 v11, 0x8
|
||||
|
||||
goto :goto_2
|
||||
|
||||
***************
|
||||
*** 226,232 ****
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x8
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
--- 226,232 ----
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x0
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
54
resources/patches/nocamerabutton/1339.patch
Normal file
54
resources/patches/nocamerabutton/1339.patch
Normal file
|
@ -0,0 +1,54 @@
|
|||
diff -crB from/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali
|
||||
*** from/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali 2020-11-16 13:22:50.877197514 +0000
|
||||
--- to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali 2020-11-16 13:32:00.418876991 +0000
|
||||
***************
|
||||
*** 187,193 ****
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/4 v11, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
--- 187,193 ----
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/4 v11, 0x8
|
||||
|
||||
goto :goto_1
|
||||
|
||||
***************
|
||||
*** 204,210 ****
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/4 v11, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 204,210 ----
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/4 v11, 0x8
|
||||
|
||||
goto :goto_2
|
||||
|
||||
***************
|
||||
*** 226,232 ****
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x8
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
--- 226,232 ----
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x0
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
54
resources/patches/nocamerabutton/1340.patch
Normal file
54
resources/patches/nocamerabutton/1340.patch
Normal file
|
@ -0,0 +1,54 @@
|
|||
diff -crB from/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali
|
||||
*** from/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali 2020-11-20 17:03:46.158223132 +0000
|
||||
--- to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali 2020-11-20 17:04:50.862353211 +0000
|
||||
***************
|
||||
*** 187,193 ****
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/4 v11, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
--- 187,193 ----
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/16 v11, 0x8
|
||||
|
||||
goto :goto_1
|
||||
|
||||
***************
|
||||
*** 204,210 ****
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/4 v11, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 204,210 ----
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/16 v11, 0x8
|
||||
|
||||
goto :goto_2
|
||||
|
||||
***************
|
||||
*** 226,232 ****
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x8
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
--- 226,232 ----
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x0
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
54
resources/patches/nocamerabutton/1355.patch
Normal file
54
resources/patches/nocamerabutton/1355.patch
Normal file
|
@ -0,0 +1,54 @@
|
|||
diff -crB from/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali
|
||||
*** from/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali 2020-11-20 17:03:46.158223132 +0000
|
||||
--- to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali 2020-11-20 17:04:50.862353211 +0000
|
||||
***************
|
||||
*** 187,193 ****
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/4 v11, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
--- 187,193 ----
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/16 v11, 0x8
|
||||
|
||||
goto :goto_1
|
||||
|
||||
***************
|
||||
*** 204,210 ****
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/4 v11, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 204,210 ----
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/16 v11, 0x8
|
||||
|
||||
goto :goto_2
|
||||
|
||||
***************
|
||||
*** 226,232 ****
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x8
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
--- 226,232 ----
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x0
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
54
resources/patches/nocamerabutton/1356.patch
Normal file
54
resources/patches/nocamerabutton/1356.patch
Normal file
|
@ -0,0 +1,54 @@
|
|||
diff -crB from/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali
|
||||
*** from/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali 2020-11-20 17:03:46.158223132 +0000
|
||||
--- to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali 2020-11-20 17:04:50.862353211 +0000
|
||||
***************
|
||||
*** 187,193 ****
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/4 v11, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
--- 187,193 ----
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/16 v11, 0x8
|
||||
|
||||
goto :goto_1
|
||||
|
||||
***************
|
||||
*** 204,210 ****
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/4 v11, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 204,210 ----
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/16 v11, 0x8
|
||||
|
||||
goto :goto_2
|
||||
|
||||
***************
|
||||
*** 226,232 ****
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x8
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
--- 226,232 ----
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x0
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
54
resources/patches/nocamerabutton/1358.patch
Normal file
54
resources/patches/nocamerabutton/1358.patch
Normal file
|
@ -0,0 +1,54 @@
|
|||
diff -crB from/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali
|
||||
*** from/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali 2020-11-20 17:03:46.158223132 +0000
|
||||
--- to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali 2020-11-20 17:04:50.862353211 +0000
|
||||
***************
|
||||
*** 187,193 ****
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/4 v11, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
--- 187,193 ----
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/16 v11, 0x8
|
||||
|
||||
goto :goto_1
|
||||
|
||||
***************
|
||||
*** 204,210 ****
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/4 v11, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 204,210 ----
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/16 v11, 0x8
|
||||
|
||||
goto :goto_2
|
||||
|
||||
***************
|
||||
*** 226,232 ****
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x8
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
--- 226,232 ----
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x0
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
54
resources/patches/nocamerabutton/1361.patch
Normal file
54
resources/patches/nocamerabutton/1361.patch
Normal file
|
@ -0,0 +1,54 @@
|
|||
diff -crB from/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali
|
||||
*** from/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali 2020-11-20 17:03:46.158223132 +0000
|
||||
--- to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali 2020-11-20 17:04:50.862353211 +0000
|
||||
***************
|
||||
*** 187,193 ****
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/4 v11, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
--- 187,193 ----
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/16 v11, 0x8
|
||||
|
||||
goto :goto_1
|
||||
|
||||
***************
|
||||
*** 204,210 ****
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/4 v11, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 204,210 ----
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/16 v11, 0x8
|
||||
|
||||
goto :goto_2
|
||||
|
||||
***************
|
||||
*** 226,232 ****
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x8
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
--- 226,232 ----
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x0
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
54
resources/patches/nocamerabutton/1362.patch
Normal file
54
resources/patches/nocamerabutton/1362.patch
Normal file
|
@ -0,0 +1,54 @@
|
|||
diff -crB from/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali
|
||||
*** from/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali 2020-11-20 17:03:46.158223132 +0000
|
||||
--- to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali 2020-11-20 17:04:50.862353211 +0000
|
||||
***************
|
||||
*** 187,193 ****
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/4 v11, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
--- 187,193 ----
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/16 v11, 0x8
|
||||
|
||||
goto :goto_1
|
||||
|
||||
***************
|
||||
*** 204,210 ****
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/4 v11, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 204,210 ----
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
! const/16 v11, 0x8
|
||||
|
||||
goto :goto_2
|
||||
|
||||
***************
|
||||
*** 226,232 ****
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x8
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
--- 226,232 ----
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x0
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
54
resources/patches/nocamerabutton/1365.patch
Normal file
54
resources/patches/nocamerabutton/1365.patch
Normal file
|
@ -0,0 +1,54 @@
|
|||
diff -crB from/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali
|
||||
*** from/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali 2020-11-20 17:03:46.158223132 +0000
|
||||
--- to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali 2020-11-20 17:04:50.862353211 +0000
|
||||
***************
|
||||
*** 190,196 ****
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/4 v12, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
--- 190,196 ----
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/16 v12, 0x8
|
||||
|
||||
goto :goto_1
|
||||
|
||||
***************
|
||||
*** 209,215 ****
|
||||
|
||||
if-eqz v6, :cond_5
|
||||
|
||||
! const/4 v6, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 209,215 ----
|
||||
|
||||
if-eqz v6, :cond_5
|
||||
|
||||
! const/16 v6, 0x8
|
||||
|
||||
goto :goto_2
|
||||
|
||||
***************
|
||||
*** 231,237 ****
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x8
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
--- 231,237 ----
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x0
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
54
resources/patches/nocamerabutton/1367.patch
Normal file
54
resources/patches/nocamerabutton/1367.patch
Normal file
|
@ -0,0 +1,54 @@
|
|||
diff -crB from/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali
|
||||
*** from/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali 2020-11-20 17:03:46.158223132 +0000
|
||||
--- to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali 2020-11-20 17:04:50.862353211 +0000
|
||||
***************
|
||||
*** 190,196 ****
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/4 v12, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
--- 190,196 ----
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/16 v12, 0x8
|
||||
|
||||
goto :goto_1
|
||||
|
||||
***************
|
||||
*** 209,215 ****
|
||||
|
||||
if-eqz v6, :cond_5
|
||||
|
||||
! const/4 v6, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 209,215 ----
|
||||
|
||||
if-eqz v6, :cond_5
|
||||
|
||||
! const/16 v6, 0x8
|
||||
|
||||
goto :goto_2
|
||||
|
||||
***************
|
||||
*** 231,237 ****
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x8
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
--- 231,237 ----
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x0
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
54
resources/patches/nocamerabutton/1368.patch
Normal file
54
resources/patches/nocamerabutton/1368.patch
Normal file
|
@ -0,0 +1,54 @@
|
|||
diff -crB from/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali
|
||||
*** from/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali 2020-11-20 17:03:46.158223132 +0000
|
||||
--- to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali 2020-11-20 17:04:50.862353211 +0000
|
||||
***************
|
||||
*** 190,196 ****
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/4 v12, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
--- 190,196 ----
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/16 v12, 0x8
|
||||
|
||||
goto :goto_1
|
||||
|
||||
***************
|
||||
*** 209,215 ****
|
||||
|
||||
if-eqz v6, :cond_5
|
||||
|
||||
! const/4 v6, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 209,215 ----
|
||||
|
||||
if-eqz v6, :cond_5
|
||||
|
||||
! const/16 v6, 0x8
|
||||
|
||||
goto :goto_2
|
||||
|
||||
***************
|
||||
*** 231,237 ****
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x8
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
--- 231,237 ----
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x0
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
54
resources/patches/nocamerabutton/1370.patch
Normal file
54
resources/patches/nocamerabutton/1370.patch
Normal file
|
@ -0,0 +1,54 @@
|
|||
diff -crB from/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali
|
||||
*** from/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali 2020-11-20 17:03:46.158223132 +0000
|
||||
--- to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali 2020-11-20 17:04:50.862353211 +0000
|
||||
***************
|
||||
*** 190,196 ****
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/4 v12, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
--- 190,196 ----
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/16 v12, 0x8
|
||||
|
||||
goto :goto_1
|
||||
|
||||
***************
|
||||
*** 209,215 ****
|
||||
|
||||
if-eqz v6, :cond_5
|
||||
|
||||
! const/4 v6, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 209,215 ----
|
||||
|
||||
if-eqz v6, :cond_5
|
||||
|
||||
! const/16 v6, 0x8
|
||||
|
||||
goto :goto_2
|
||||
|
||||
***************
|
||||
*** 231,237 ****
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x8
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
--- 231,237 ----
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x0
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
54
resources/patches/nocamerabutton/1371.patch
Normal file
54
resources/patches/nocamerabutton/1371.patch
Normal file
|
@ -0,0 +1,54 @@
|
|||
diff -crB from/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali
|
||||
*** from/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali 2020-11-20 17:03:46.158223132 +0000
|
||||
--- to/smali_classes2/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali 2020-11-20 17:04:50.862353211 +0000
|
||||
***************
|
||||
*** 190,196 ****
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/4 v12, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
--- 190,196 ----
|
||||
|
||||
if-nez v5, :cond_4
|
||||
|
||||
! const/16 v12, 0x8
|
||||
|
||||
goto :goto_1
|
||||
|
||||
***************
|
||||
*** 209,215 ****
|
||||
|
||||
if-eqz v6, :cond_5
|
||||
|
||||
! const/4 v6, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
--- 209,215 ----
|
||||
|
||||
if-eqz v6, :cond_5
|
||||
|
||||
! const/16 v6, 0x8
|
||||
|
||||
goto :goto_2
|
||||
|
||||
***************
|
||||
*** 231,237 ****
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x8
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
||||
--- 231,237 ----
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
! const/16 v5, 0x0
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v6, v5}, Landroid/view/View;->setVisibility(I)V
|
22
resources/patches/nocamerabutton/78204.patch
Normal file
22
resources/patches/nocamerabutton/78204.patch
Normal file
|
@ -0,0 +1,22 @@
|
|||
Binary files com.discord-base/build/apk/classes3.dex and com.discord/build/apk/classes3.dex differ
|
||||
Binary files com.discord-base/dist/com.discord-78204.apk and com.discord/dist/com.discord-78204.apk differ
|
||||
diff -crB com.discord-base/smali_classes3/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali com.discord/smali_classes3/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali
|
||||
*** com.discord-base/smali_classes3/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali 2021-05-31 14:05:59.000000000 +0300
|
||||
--- com.discord/smali_classes3/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali 2021-05-31 16:02:21.000000000 +0300
|
||||
***************
|
||||
*** 206,212 ****
|
||||
|
||||
if-eqz v4, :cond_6
|
||||
|
||||
! const/4 v9, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
--- 206,212 ----
|
||||
|
||||
if-eqz v4, :cond_6
|
||||
|
||||
! const/16 v9, 0x8
|
||||
|
||||
goto :goto_1
|
||||
|
22
resources/patches/nocamerabutton/87202.patch
Normal file
22
resources/patches/nocamerabutton/87202.patch
Normal file
|
@ -0,0 +1,22 @@
|
|||
Binary files com.discord-base/build/apk/classes3.dex and com.discord/build/apk/classes3.dex differ
|
||||
Binary files com.discord-base/dist/com.discord-78204.apk and com.discord/dist/com.discord-78204.apk differ
|
||||
diff -crB com.discord-base/smali_classes3/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali com.discord/smali_classes3/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali
|
||||
*** com.discord-base/smali_classes3/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali 2021-05-31 14:05:59.000000000 +0300
|
||||
--- com.discord/smali_classes3/com/lytefast/flexinput/fragment/FlexInputFragment$d.smali 2021-05-31 16:02:21.000000000 +0300
|
||||
***************
|
||||
*** 206,212 ****
|
||||
|
||||
if-eqz v4, :cond_6
|
||||
|
||||
! const/4 v9, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
--- 206,212 ----
|
||||
|
||||
if-eqz v4, :cond_6
|
||||
|
||||
! const/16 v9, 0x8
|
||||
|
||||
goto :goto_1
|
||||
|
91
resources/patches/nocamerabutton/README.md
Normal file
91
resources/patches/nocamerabutton/README.md
Normal file
|
@ -0,0 +1,91 @@
|
|||
## DisTok CutTheCord: No Camera Button
|
||||
|
||||
Self explanatory.
|
||||
|
||||
**On versions where the camera button has been replaced with gift button, this removes gift button.**
|
||||
|
||||

|
||||
|
||||
and
|
||||
|
||||

|
||||
|
||||
to
|
||||
|
||||

|
||||
|
||||
#### Available and tested on:
|
||||
- 16
|
||||
- 17.0
|
||||
- 18.0-alpha1
|
||||
- 18.0-alpha11
|
||||
- 18.0-alpha12
|
||||
- 18.0-alpha9
|
||||
- 19.0
|
||||
- 20-alpha1
|
||||
- 21-alpha2
|
||||
- 21.3
|
||||
- 22-alpha1
|
||||
- 22-alpha3
|
||||
- 22-alpha3-alpha4
|
||||
- 22-alpha3-alpha6
|
||||
- 22-alpha3-alpha7
|
||||
- 22.4
|
||||
- 22.5
|
||||
- 23.0
|
||||
- 24
|
||||
- 24-alpha2
|
||||
- 28-alpha2
|
||||
- 28.1
|
||||
- 29-alpha1
|
||||
- 30.0
|
||||
- 30.1
|
||||
- 31-alpha1
|
||||
- 31-alpha2
|
||||
- 32-alpha2
|
||||
- 32.0
|
||||
- 33.1
|
||||
- 34.0
|
||||
- 34.2
|
||||
- 34.3
|
||||
- 35.0-alpha1
|
||||
- 36.3
|
||||
- 36.5
|
||||
- 38.0
|
||||
- 38.1
|
||||
- 40.04
|
||||
- 41.02
|
||||
- 41.05
|
||||
- 41.06
|
||||
- 41.10
|
||||
- 41.11
|
||||
- 42.0
|
||||
- 42.1
|
||||
- 42.3
|
||||
- 44-alpha2
|
||||
- 44-alpha4
|
||||
- 44.5
|
||||
- 44.6
|
||||
- 45.2
|
||||
- 46.0
|
||||
- 46.3
|
||||
- 48.0
|
||||
- 48.1
|
||||
- 48.2
|
||||
- 49.1
|
||||
- 49.10
|
||||
- 49.12
|
||||
- 49.13
|
||||
- 49.2
|
||||
- 49.8
|
||||
- 52.3
|
||||
- 53.0
|
||||
- 53.1
|
||||
- 53.3
|
||||
- 53.6
|
||||
- 53.8
|
||||
- 54.0
|
||||
- 55.1
|
||||
- 56.0
|
||||
- 78.4 - Alpha
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue