show edit display name in all flavors

Daniel Gultsch created

Change summary

src/main/java/eu/siacs/conversations/ui/EditAccountActivity.java |  1 
src/main/res/layout/activity_edit_account.xml                    | 11 -
2 files changed, 3 insertions(+), 9 deletions(-)

Detailed changes

src/main/java/eu/siacs/conversations/ui/EditAccountActivity.java 🔗

@@ -604,7 +604,6 @@ public class EditAccountActivity extends OmemoActivity implements OnAccountUpdat
         if (Config.DISALLOW_REGISTRATION_IN_UI) {
             this.binding.accountRegisterNew.setVisibility(View.GONE);
         }
-        this.binding.yourNameBox.setVisibility(QuickConversationsService.isQuicksy() ? View.VISIBLE : View.GONE);
         this.binding.actionEditYourName.setOnClickListener(this::onEditYourNameClicked);
     }
 

src/main/res/layout/activity_edit_account.xml 🔗

@@ -471,16 +471,11 @@
                             </TableRow>
                         </TableLayout>
 
-                        <View
-                            android:layout_width="match_parent"
-                            android:layout_height="8dp"/>
-
                         <RelativeLayout
                             android:id="@+id/your_name_box"
                             android:layout_width="wrap_content"
                             android:layout_height="match_parent"
-                            android:visibility="gone"
-                            android:layout_marginTop="24dp">
+                            android:layout_marginTop="12dp">
 
                             <LinearLayout
                                 android:layout_width="wrap_content"
@@ -522,7 +517,7 @@
                             android:id="@+id/pgp_fingerprint_box"
                             android:layout_width="wrap_content"
                             android:layout_height="match_parent"
-                            android:layout_marginTop="16dp">
+                            android:layout_marginTop="12dp">
 
                             <LinearLayout
                                 android:layout_width="wrap_content"
@@ -563,7 +558,7 @@
                             android:id="@+id/axolotl_fingerprint_box"
                             android:layout_width="wrap_content"
                             android:layout_height="match_parent"
-                            android:layout_marginTop="16dp">
+                            android:layout_marginTop="12dp">
 
                             <LinearLayout
                                 android:layout_width="wrap_content"