From 28be5fc81f154e6d00e7a9b16ef3a48b725c2e3b Mon Sep 17 00:00:00 2001 From: M66B Date: Mon, 9 Nov 2020 12:49:04 +0100 Subject: [PATCH] Enable parse classes by default --- app/src/main/java/eu/faircode/email/FragmentOptionsDisplay.java | 2 +- app/src/main/java/eu/faircode/email/HtmlHelper.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentOptionsDisplay.java b/app/src/main/java/eu/faircode/email/FragmentOptionsDisplay.java index 0c5d4c0f5a..22ef8d668f 100644 --- a/app/src/main/java/eu/faircode/email/FragmentOptionsDisplay.java +++ b/app/src/main/java/eu/faircode/email/FragmentOptionsDisplay.java @@ -972,7 +972,7 @@ public class FragmentOptionsDisplay extends FragmentBase implements SharedPrefer swAttachmentsAlt.setChecked(prefs.getBoolean("attachments_alt", false)); swThumbnails.setChecked(prefs.getBoolean("thumbnails", true)); - swParseClasses.setChecked(prefs.getBoolean("parse_classes", false)); + swParseClasses.setChecked(prefs.getBoolean("parse_classes", true)); swAuthentication.setChecked(prefs.getBoolean("authentication", true)); updateColor(); diff --git a/app/src/main/java/eu/faircode/email/HtmlHelper.java b/app/src/main/java/eu/faircode/email/HtmlHelper.java index b746d17503..bcf3dcd5e9 100644 --- a/app/src/main/java/eu/faircode/email/HtmlHelper.java +++ b/app/src/main/java/eu/faircode/email/HtmlHelper.java @@ -367,7 +367,7 @@ public class HtmlHelper { boolean text_align = prefs.getBoolean("text_align", true); boolean display_hidden = prefs.getBoolean("display_hidden", false); boolean disable_tracking = prefs.getBoolean("disable_tracking", true); - boolean parse_classes = prefs.getBoolean("parse_classes", false); + boolean parse_classes = prefs.getBoolean("parse_classes", true); boolean inline_images = prefs.getBoolean("inline_images", false); boolean text_separators = prefs.getBoolean("text_separators", false);