From 4f2a1f7d197bb9b964a16a7f0a897f97c79a48a5 Mon Sep 17 00:00:00 2001 From: M66B Date: Sun, 26 Apr 2020 16:02:21 +0200 Subject: [PATCH] Added light font weight --- app/src/main/java/eu/faircode/email/HtmlHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/HtmlHelper.java b/app/src/main/java/eu/faircode/email/HtmlHelper.java index 87b3837612..298fb8c641 100644 --- a/app/src/main/java/eu/faircode/email/HtmlHelper.java +++ b/app/src/main/java/eu/faircode/email/HtmlHelper.java @@ -1061,6 +1061,7 @@ public class HtmlHelper { value = value.toLowerCase(Locale.ROOT).trim(); switch (value) { + case "light": case "lighter": return 300; case "normal": @@ -1078,7 +1079,6 @@ public class HtmlHelper { } return null; - } private static Float getFontSize(String value, Integer current) {