From 73eb63a35ed4c7e198e751191353c23df9fc7b18 Mon Sep 17 00:00:00 2001 From: Prat T Date: Sat, 10 Sep 2022 10:53:34 -0700 Subject: [PATCH] Fix add by QR code layout (#5424) Signed-off-by: Prat T --- changelog.d/5424.bugfix | 1 + vector/src/main/res/layout/fragment_user_code_show.xml | 1 + 2 files changed, 2 insertions(+) create mode 100644 changelog.d/5424.bugfix diff --git a/changelog.d/5424.bugfix b/changelog.d/5424.bugfix new file mode 100644 index 0000000000..88ebd828f1 --- /dev/null +++ b/changelog.d/5424.bugfix @@ -0,0 +1 @@ +Fix text margin in QR code view when no display name is set \ No newline at end of file diff --git a/vector/src/main/res/layout/fragment_user_code_show.xml b/vector/src/main/res/layout/fragment_user_code_show.xml index 59b60d1c3b..673dcbf886 100644 --- a/vector/src/main/res/layout/fragment_user_code_show.xml +++ b/vector/src/main/res/layout/fragment_user_code_show.xml @@ -69,6 +69,7 @@ android:textAlignment="center" android:textColor="?vctr_content_tertiary" app:layout_constraintTop_toBottomOf="@id/showUserCodeCardNameText" + app:layout_goneMarginTop="54dp" tools:text="@sample/users.json/data/id" />