mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-23 18:25:37 +01:00
Fixed Android compatibility regression
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user