Fixed warning

pull/201/head
M66B 3 years ago
parent 566431884b
commit ed3c3becaf

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

Loading…
Cancel
Save