fix: text style extensions combine logic issue with fontfamily (#1149)
This commit is contained in:
parent
85f0d81e50
commit
de34eee281
1 changed files with 2 additions and 1 deletions
|
|
@ -69,7 +69,8 @@ extension TextStyleExtensions on TextStyle {
|
|||
decorationStyle: other.decorationStyle,
|
||||
decorationThickness: other.decorationThickness,
|
||||
debugLabel: other.debugLabel,
|
||||
fontFamily: other.fontFamily,
|
||||
fontFamily:
|
||||
(other.fontFamily?.isEmpty ?? true) ? fontFamily : other.fontFamily,
|
||||
fontFamilyFallback: other.fontFamilyFallback,
|
||||
overflow: other.overflow,
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue