1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-22 22:21:18 +00:00

Fixed warning

This commit is contained in:
M66B 2021-08-04 16:52:32 +02:00
parent 566431884b
commit ed3c3becaf

View file

@ -2681,7 +2681,7 @@ public class HtmlHelper {
// Apply calculated font size
String xFontSize = element.attr("x-font-size-rel");
if (!TextUtils.isEmpty(xFontSize)) {
Float fsize = Float.parseFloat(xFontSize);
float fsize = Float.parseFloat(xFontSize);
if (fsize != 1.0f)
setSpan(ssb, new RelativeSizeSpan(fsize), start, ssb.length());
}