diff --git a/FAQ.md b/FAQ.md index 0895d885ea..ce6d93cba9 100644 --- a/FAQ.md +++ b/FAQ.md @@ -5161,6 +5161,8 @@ Unfortunately, it is not possible to enable cloud backup for other backup softwa
+ +

Get support

🌎 [Google Translate](https://translate.google.com/translate?sl=en&u=https://github.com/M66B/FairEmail/blob/master/FAQ.md%23user-content-get-support) diff --git a/app/src/main/java/eu/faircode/email/FragmentOptionsBackup.java b/app/src/main/java/eu/faircode/email/FragmentOptionsBackup.java index 2decdda27d..d2ce2382eb 100644 --- a/app/src/main/java/eu/faircode/email/FragmentOptionsBackup.java +++ b/app/src/main/java/eu/faircode/email/FragmentOptionsBackup.java @@ -113,7 +113,7 @@ public class FragmentOptionsBackup extends FragmentBase implements SharedPrefere private TextView tvExportPro; private Button btnImport; private CardView cardCloud; - private TextView tvCloudInfo; + private ImageButton ibCloudInfo; private TextView tvCloudPro; private EditText etUser; private TextInputLayout tilPassword; @@ -155,7 +155,7 @@ public class FragmentOptionsBackup extends FragmentBase implements SharedPrefere tvExportPro = view.findViewById(R.id.tvExportPro); btnImport = view.findViewById(R.id.btnImport); cardCloud = view.findViewById(R.id.cardCloud); - tvCloudInfo = view.findViewById(R.id.tvCloudInfo); + ibCloudInfo = view.findViewById(R.id.ibCloudInfo); tvCloudPro = view.findViewById(R.id.tvCloudPro); etUser = view.findViewById(R.id.etUser); tilPassword = view.findViewById(R.id.tilPassword); @@ -181,10 +181,10 @@ public class FragmentOptionsBackup extends FragmentBase implements SharedPrefere } }); - tvCloudInfo.setOnClickListener(new View.OnClickListener() { + ibCloudInfo.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { - Helper.viewFAQ(v.getContext(), 999); + Helper.viewFAQ(v.getContext(), 189); } }); @@ -242,7 +242,7 @@ public class FragmentOptionsBackup extends FragmentBase implements SharedPrefere Helper.linkPro(tvExportPro); cardCloud.setVisibility( BuildConfig.DEBUG && - Build.VERSION.SDK_INT >= Build.VERSION_CODES.O && + Build.VERSION.SDK_INT >= Build.VERSION_CODES.O && !TextUtils.isEmpty(BuildConfig.CLOUD_URI) ? View.VISIBLE : View.GONE); Helper.linkPro(tvCloudPro); diff --git a/app/src/main/res/layout/fragment_options_backup.xml b/app/src/main/res/layout/fragment_options_backup.xml index 3ee12f72c6..632b7f61a8 100644 --- a/app/src/main/res/layout/fragment_options_backup.xml +++ b/app/src/main/res/layout/fragment_options_backup.xml @@ -179,6 +179,17 @@ app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" /> + + + app:layout_constraintTop_toBottomOf="@id/ibCloudInfo" />