mirror of https://github.com/M66B/FairEmail.git
Default disable separator lines
This commit is contained in:
parent
542cb800c6
commit
9235a97346
|
@ -899,7 +899,7 @@ public class FragmentOptionsDisplay extends FragmentBase implements SharedPrefer
|
||||||
swTextSize.setChecked(prefs.getBoolean("text_size", true));
|
swTextSize.setChecked(prefs.getBoolean("text_size", true));
|
||||||
swTextFont.setChecked(prefs.getBoolean("text_font", true));
|
swTextFont.setChecked(prefs.getBoolean("text_font", true));
|
||||||
swTextAlign.setChecked(prefs.getBoolean("text_align", 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));
|
swCollapseQuotes.setChecked(prefs.getBoolean("collapse_quotes", false));
|
||||||
swImagesInline.setChecked(prefs.getBoolean("inline_images", false));
|
swImagesInline.setChecked(prefs.getBoolean("inline_images", false));
|
||||||
swAttachmentsAlt.setChecked(prefs.getBoolean("attachments_alt", false));
|
swAttachmentsAlt.setChecked(prefs.getBoolean("attachments_alt", false));
|
||||||
|
|
|
@ -329,7 +329,7 @@ public class HtmlHelper {
|
||||||
boolean disable_tracking = prefs.getBoolean("disable_tracking", true);
|
boolean disable_tracking = prefs.getBoolean("disable_tracking", true);
|
||||||
boolean parse_classes = prefs.getBoolean("parse_classes", false);
|
boolean parse_classes = prefs.getBoolean("parse_classes", false);
|
||||||
boolean inline_images = prefs.getBoolean("inline_images", 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);
|
int textColorPrimary = Helper.resolveColor(context, android.R.attr.textColorPrimary);
|
||||||
|
|
||||||
|
@ -1816,7 +1816,7 @@ public class HtmlHelper {
|
||||||
@Nullable Html.ImageGetter imageGetter, @Nullable Html.TagHandler tagHandler) {
|
@Nullable Html.ImageGetter imageGetter, @Nullable Html.TagHandler tagHandler) {
|
||||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
||||||
boolean debug = prefs.getBoolean("debug", false);
|
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 colorPrimary = Helper.resolveColor(context, R.attr.colorPrimary);
|
||||||
final int colorAccent = Helper.resolveColor(context, R.attr.colorAccent);
|
final int colorAccent = Helper.resolveColor(context, R.attr.colorAccent);
|
||||||
|
|
Loading…
Reference in New Issue