diff --git a/FAQ.md b/FAQ.md index a31108130e..c6fc739b0a 100644 --- a/FAQ.md +++ b/FAQ.md @@ -211,6 +211,7 @@ FairEmail follows all the best practices for an email client as decribed in [thi * [~~(122) Why is the recipient name/email address show with a warning color?~~](#user-content-faq122) * [(123) What does 'force sync'?](#user-content-faq123) * [(124) Why do I get 'Message too large or too complex to display'?](#user-content-faq124) +* [(125) What are the current experimental features?](#user-content-faq125) [I have another question.](#support) @@ -2139,6 +2140,15 @@ Reformatting and displaying such messages will take too long. You can try to use
+ +**(125) What are the current experimental features?** + +The current experimental features are: + +* Small, dimmed infinite / timelapse icon at the bottom of the messages to quicly toggle filtering of snoozed messages + +
+ ## Support If you have another question, want to request a feature or report a bug, you can use [this forum](https://forum.xda-developers.com/android/apps-games/source-email-t3824168). diff --git a/app/src/main/java/eu/faircode/email/FragmentOptionsMisc.java b/app/src/main/java/eu/faircode/email/FragmentOptionsMisc.java index 231eb573a0..6baa3c7705 100644 --- a/app/src/main/java/eu/faircode/email/FragmentOptionsMisc.java +++ b/app/src/main/java/eu/faircode/email/FragmentOptionsMisc.java @@ -24,6 +24,7 @@ import android.app.NotificationManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; +import android.graphics.Paint; import android.os.Bundle; import android.view.LayoutInflater; import android.view.Menu; @@ -51,6 +52,7 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc private SwitchCompat swWatchdog; private SwitchCompat swUpdates; private SwitchCompat swExperiments; + private TextView tvExperimentsHint; private SwitchCompat swCrashReports; private SwitchCompat swDebug; private Button btnCleanup; @@ -86,6 +88,7 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc swWatchdog = view.findViewById(R.id.swWatchdog); swUpdates = view.findViewById(R.id.swUpdates); swExperiments = view.findViewById(R.id.swExperiments); + tvExperimentsHint = view.findViewById(R.id.tvExperimentsHint); swCrashReports = view.findViewById(R.id.swCrashReports); swDebug = view.findViewById(R.id.swDebug); btnCleanup = view.findViewById(R.id.btnCleanup); @@ -150,6 +153,14 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc } }); + tvExperimentsHint.setPaintFlags(tvExperimentsHint.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG); + tvExperimentsHint.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View view) { + Helper.viewFAQ(getContext(), 125); + } + }); + swExperiments.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() { @Override public void onCheckedChanged(CompoundButton compoundButton, boolean checked) { diff --git a/app/src/main/res/layout/fragment_options_misc.xml b/app/src/main/res/layout/fragment_options_misc.xml index 95504b404b..e336497fef 100644 --- a/app/src/main/res/layout/fragment_options_misc.xml +++ b/app/src/main/res/layout/fragment_options_misc.xml @@ -111,6 +111,18 @@ app:layout_constraintTop_toBottomOf="@id/swUpdates" app:switchPadding="12dp" /> + + Enabling this will delete all local folders without subscription This will restart the app + List of current experimental features Enable extra logging and show debug information at various places This will delete all temporary files