Use FAQ to explain removal of algorithmic darkening

pull/209/head
M66B 3 years ago
parent 0ec3d3fc15
commit 02e8419084

@ -284,7 +284,7 @@ Fonts, sizes, colors, etc should be material design whenever possible.
* [(78) How do I use schedules?](#user-content-faq78) * [(78) How do I use schedules?](#user-content-faq78)
* [(79) How do I use synchronize on demand (manual)?](#user-content-faq79) * [(79) How do I use synchronize on demand (manual)?](#user-content-faq79)
* [~~(80) How do I fix the error 'Unable to load BODYSTRUCTURE'?~~](#user-content-faq80) * [~~(80) How do I fix the error 'Unable to load BODYSTRUCTURE'?~~](#user-content-faq80)
* [~~(81) Can you make the background of the original message dark in the dark theme?~~](#user-content-faq81) * [(81) Can you make the background of the original message view dark in dark themes?](#user-content-faq81)
* [(82) What is a tracking image?](#user-content-faq82) * [(82) What is a tracking image?](#user-content-faq82)
* [(84) What are local contacts for?](#user-content-faq84) * [(84) What are local contacts for?](#user-content-faq84)
* [(85) Why is an identity not available?](#user-content-faq85) * [(85) Why is an identity not available?](#user-content-faq85)
@ -2873,12 +2873,15 @@ You'll likely want to disabled [browse on server](#user-content-faq24) too.
<br /> <br />
<a name="faq81"></a> <a name="faq81"></a>
**~~(81) Can you make the background of the original message dark in the dark theme?~~** **(81) Can you make the background of the original message view dark in dark themes?**
&#x1F30E; [Google Translate](https://translate.google.com/translate?sl=en&u=https://github.com/M66B/FairEmail/blob/master/FAQ.md%23user-content-faq81) &#x1F30E; [Google Translate](https://translate.google.com/translate?sl=en&u=https://github.com/M66B/FairEmail/blob/master/FAQ.md%23user-content-faq81)
~~The original message is shown as the sender has sent it, including all colors.~~ The original message view will use a dark background when using a dark theme for Android version 10 and later.
~~Changing the background color would not only make the original view not original anymore, it can also result in unreadable messages.~~
For Android before version 10 Google removed this feature from the [Android System WebView](https://play.google.com/store/apps/details?id=com.google.android.webview),
even though it worked fine in most cases.
Please see [this issue](https://issuetracker.google.com/issues/237785596) (requires a Google account login) requesting to restore this feature again for more information.
<br /> <br />

@ -2145,7 +2145,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
boolean button_hide = prefs.getBoolean("button_hide", false); boolean button_hide = prefs.getBoolean("button_hide", false);
boolean button_importance = prefs.getBoolean("button_importance", false); boolean button_importance = prefs.getBoolean("button_importance", false);
boolean button_translate = prefs.getBoolean("button_translate", true); boolean button_translate = prefs.getBoolean("button_translate", true);
boolean button_force_light = prefs.getBoolean("button_force_light", false); boolean button_force_light = prefs.getBoolean("button_force_light", true);
boolean button_search = prefs.getBoolean("button_search", false); boolean button_search = prefs.getBoolean("button_search", false);
boolean button_search_text = prefs.getBoolean("button_search_text", false); boolean button_search_text = prefs.getBoolean("button_search_text", false);
boolean button_event = prefs.getBoolean("button_event", false); boolean button_event = prefs.getBoolean("button_event", false);
@ -6282,8 +6282,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
btnIssue.setOnClickListener(new View.OnClickListener() { btnIssue.setOnClickListener(new View.OnClickListener() {
@Override @Override
public void onClick(View v) { public void onClick(View v) {
Uri uri = Uri.parse("https://issuetracker.google.com/issues/237785596"); Helper.viewFAQ(v.getContext(), 81);
Helper.view(v.getContext(), uri, true);
} }
}); });
@ -8471,7 +8470,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
cbSearch.setChecked(prefs.getBoolean("button_search", false)); cbSearch.setChecked(prefs.getBoolean("button_search", false));
cbSearchText.setChecked(prefs.getBoolean("button_search_text", false)); cbSearchText.setChecked(prefs.getBoolean("button_search_text", false));
cbTranslate.setChecked(prefs.getBoolean("button_translate", true)); cbTranslate.setChecked(prefs.getBoolean("button_translate", true));
cbForceLight.setChecked(prefs.getBoolean("button_force_light", false)); cbForceLight.setChecked(prefs.getBoolean("button_force_light", true));
cbEvent.setChecked(prefs.getBoolean("button_event", false)); cbEvent.setChecked(prefs.getBoolean("button_event", false));
cbShare.setChecked(prefs.getBoolean("button_share", false)); cbShare.setChecked(prefs.getBoolean("button_share", false));
cbPin.setChecked(prefs.getBoolean("button_pin", false)); cbPin.setChecked(prefs.getBoolean("button_pin", false));

@ -635,7 +635,7 @@ public class ApplicationEx extends Application
if (!prefs.contains("auto_identity")) if (!prefs.contains("auto_identity"))
editor.putBoolean("auto_identity", true); editor.putBoolean("auto_identity", true);
} else if (version < 1931) } else if (version < 1931)
editor.remove("fake_dark"); editor.remove("button_force_light").remove("fake_dark");
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O && !BuildConfig.DEBUG) if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O && !BuildConfig.DEBUG)
editor.remove("background_service"); editor.remove("background_service");

Loading…
Cancel
Save