From 9235a973461378f877b6849867dd598e76d4d012 Mon Sep 17 00:00:00 2001 From: M66B Date: Sun, 13 Sep 2020 16:23:11 +0200 Subject: [PATCH] Default disable separator lines --- .../main/java/eu/faircode/email/FragmentOptionsDisplay.java | 2 +- app/src/main/java/eu/faircode/email/HtmlHelper.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentOptionsDisplay.java b/app/src/main/java/eu/faircode/email/FragmentOptionsDisplay.java index 577dfaa98a..fc8f3e7e51 100644 --- a/app/src/main/java/eu/faircode/email/FragmentOptionsDisplay.java +++ b/app/src/main/java/eu/faircode/email/FragmentOptionsDisplay.java @@ -899,7 +899,7 @@ public class FragmentOptionsDisplay extends FragmentBase implements SharedPrefer swTextSize.setChecked(prefs.getBoolean("text_size", true)); swTextFont.setChecked(prefs.getBoolean("text_font", true)); swTextAlign.setChecked(prefs.getBoolean("text_align", true)); - swTextSeparators.setChecked(prefs.getBoolean("text_separators", true)); + swTextSeparators.setChecked(prefs.getBoolean("text_separators", false)); swCollapseQuotes.setChecked(prefs.getBoolean("collapse_quotes", false)); swImagesInline.setChecked(prefs.getBoolean("inline_images", false)); swAttachmentsAlt.setChecked(prefs.getBoolean("attachments_alt", false)); diff --git a/app/src/main/java/eu/faircode/email/HtmlHelper.java b/app/src/main/java/eu/faircode/email/HtmlHelper.java index ef24f6ebe0..a724427a57 100644 --- a/app/src/main/java/eu/faircode/email/HtmlHelper.java +++ b/app/src/main/java/eu/faircode/email/HtmlHelper.java @@ -329,7 +329,7 @@ public class HtmlHelper { boolean disable_tracking = prefs.getBoolean("disable_tracking", true); boolean parse_classes = prefs.getBoolean("parse_classes", false); boolean inline_images = prefs.getBoolean("inline_images", false); - boolean text_separators = prefs.getBoolean("text_separators", true); + boolean text_separators = prefs.getBoolean("text_separators", false); int textColorPrimary = Helper.resolveColor(context, android.R.attr.textColorPrimary); @@ -1816,7 +1816,7 @@ public class HtmlHelper { @Nullable Html.ImageGetter imageGetter, @Nullable Html.TagHandler tagHandler) { SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); boolean debug = prefs.getBoolean("debug", false); - boolean text_separators = prefs.getBoolean("text_separators", true); + boolean text_separators = prefs.getBoolean("text_separators", false); final int colorPrimary = Helper.resolveColor(context, R.attr.colorPrimary); final int colorAccent = Helper.resolveColor(context, R.attr.colorAccent);