mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-27 19:35:10 +01:00
Use default compose font for reply header
This commit is contained in:
@@ -505,6 +505,7 @@ public class EntityMessage implements Serializable {
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
||||
boolean hide_timezone = prefs.getBoolean("hide_timezone", false);
|
||||
boolean language_detection = prefs.getBoolean("language_detection", false);
|
||||
String compose_font = prefs.getString("compose_font", "");
|
||||
String l = (language_detection ? language : null);
|
||||
|
||||
DateFormat DTF = (hide_timezone
|
||||
@@ -555,6 +556,8 @@ public class EntityMessage implements Serializable {
|
||||
|
||||
Element div = document.createElement("div")
|
||||
.attr("fairemail", "reply");
|
||||
if (!TextUtils.isEmpty(compose_font))
|
||||
div.attr("style", "font-family: " + StyleHelper.getFamily(compose_font));
|
||||
if (separate)
|
||||
div.appendElement("hr");
|
||||
div.appendChild(p);
|
||||
|
||||
Reference in New Issue
Block a user