diff --git a/app/src/main/java/org/thoughtcrime/securesms/SessionDialogBuilder.kt b/app/src/main/java/org/thoughtcrime/securesms/SessionDialogBuilder.kt index a9b5476aa5..598977392b 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/SessionDialogBuilder.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/SessionDialogBuilder.kt @@ -131,7 +131,6 @@ class SessionDialogBuilder(val context: Context) { setText(text) contentDescription = resources.getString(contentDescriptionRes) layoutParams = LinearLayout.LayoutParams(WRAP_CONTENT, dp60, 1f) - .apply { setMargins(dp20) } setOnClickListener { listener.invoke() if (dismiss) dismiss() diff --git a/app/src/main/res/layout/dialog_clear_all_data.xml b/app/src/main/res/layout/dialog_clear_all_data.xml index 94d4828e21..4ef5c40e8e 100644 --- a/app/src/main/res/layout/dialog_clear_all_data.xml +++ b/app/src/main/res/layout/dialog_clear_all_data.xml @@ -20,6 +20,8 @@ android:id="@+id/dialogDescriptionText" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:layout_marginStart="20dp" + android:layout_marginEnd="20dp" android:layout_marginTop="@dimen/large_spacing" android:text="@string/dialog_clear_all_data_message" android:textAlignment="center"