diff --git a/app/src/main/java/eu/faircode/email/ActivitySetup.java b/app/src/main/java/eu/faircode/email/ActivitySetup.java index 492c2037ca..9e22e566c2 100644 --- a/app/src/main/java/eu/faircode/email/ActivitySetup.java +++ b/app/src/main/java/eu/faircode/email/ActivitySetup.java @@ -1328,7 +1328,6 @@ public class ActivitySetup extends ActivityBase implements FragmentManager.OnBac TextView tvCaption = dview.findViewById(R.id.tvCaption); etPassword1 = dview.findViewById(R.id.tilPassword1); etPassword2 = dview.findViewById(R.id.tilPassword2); - TextView tvExportHint = dview.findViewById(R.id.tvExportHint); TextView tvImportHint = dview.findViewById(R.id.tvImportHint); tvCaption.setText(export ? R.string.title_setup_export : R.string.title_setup_import); @@ -1339,7 +1338,6 @@ public class ActivitySetup extends ActivityBase implements FragmentManager.OnBac } etPassword2.setVisibility(export ? View.VISIBLE : View.GONE); - tvExportHint.setVisibility(export ? View.VISIBLE : View.GONE); tvImportHint.setVisibility(export ? View.GONE : View.VISIBLE); return new AlertDialog.Builder(getContext()) diff --git a/app/src/main/res/layout/dialog_password.xml b/app/src/main/res/layout/dialog_password.xml index ad21d96a47..946fb78d3c 100644 --- a/app/src/main/res/layout/dialog_password.xml +++ b/app/src/main/res/layout/dialog_password.xml @@ -19,14 +19,24 @@ app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" /> + + - - + app:layout_constraintTop_toBottomOf="@id/tilPassword2" /> \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 0720494df4..d387c59646 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -233,7 +233,10 @@ Close settings Export settings Import settings - The password is used to encrypt the settings and is required to import the settings again + + Since the settings file contains all settings and account information, it is encrypted with a password. + The password is required to import the settings again, so please don\'t forget it! + Imported accounts will be added without overwriting any existing ones Password Password contains control or whitespace characters