Fixed Android compatibility regression

This commit is contained in:
M66B
2026-01-20 09:42:09 +01:00
parent a7acee314b
commit fc421ae830

View File

@@ -4099,8 +4099,7 @@ public class HtmlHelper {
return false;
if (span instanceof StyleSpan) {
if (((StyleSpan) span).getStyle() == ((StyleSpan) existing).getStyle() &&
((StyleSpan) span).getFontWeightAdjustment() == ((StyleSpan) existing).getFontWeightAdjustment())
if (((StyleSpan) span).getStyle() == ((StyleSpan) existing).getStyle())
return true;
} else if (span instanceof UnderlineSpan)
return true;