diff --git a/app/src/main/java/eu/faircode/email/FragmentSetup.java b/app/src/main/java/eu/faircode/email/FragmentSetup.java index c26c55c559..cb37d8cb3e 100644 --- a/app/src/main/java/eu/faircode/email/FragmentSetup.java +++ b/app/src/main/java/eu/faircode/email/FragmentSetup.java @@ -64,6 +64,7 @@ public class FragmentSetup extends FragmentBase { private ViewGroup view; private TextView tvPrivacy; + private TextView tvSupport; private TextView tvNoInternet; private ImageButton ibHelp; @@ -124,6 +125,7 @@ public class FragmentSetup extends FragmentBase { // Get controls tvPrivacy = view.findViewById(R.id.tvPrivacy); + tvSupport = view.findViewById(R.id.tvSupport); tvNoInternet = view.findViewById(R.id.tvNoInternet); ibHelp = view.findViewById(R.id.ibHelp); @@ -171,6 +173,16 @@ public class FragmentSetup extends FragmentBase { } }); + tvSupport.setPaintFlags(tvPrivacy.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG); + tvSupport.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View v) { + Intent view = new Intent(Intent.ACTION_VIEW) + .setData(Helper.getSupportUri(v.getContext())); + v.getContext().startActivity(view); + } + }); + ibHelp.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { diff --git a/app/src/main/res/layout/fragment_setup.xml b/app/src/main/res/layout/fragment_setup.xml index b2d829582c..04d183127b 100644 --- a/app/src/main/res/layout/fragment_setup.xml +++ b/app/src/main/res/layout/fragment_setup.xml @@ -70,6 +70,17 @@ app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/intro" /> + + + app:layout_constraintTop_toBottomOf="@id/issue" /> + + diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 1bfb4e168f..9d7abd7c48 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -160,6 +160,7 @@ Quick setup Setting up an account is just three steps and after that you can send and receive emails There is no need to change any other options + FairEmail was developed to help you protect your privacy and represents literally thousands of hours of work. If you have any problem, please contact me first for support before leaving a bad review. I am happy to help! Add or change accounts Some providers make it difficult to add an account. Please do not blame FairEmail for this, but ask for support instead. The quick setup will fetch configuration information from autoconfig.thunderbird.net