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,
|
decorationStyle: other.decorationStyle,
|
||||||
decorationThickness: other.decorationThickness,
|
decorationThickness: other.decorationThickness,
|
||||||
debugLabel: other.debugLabel,
|
debugLabel: other.debugLabel,
|
||||||
fontFamily: other.fontFamily,
|
fontFamily:
|
||||||
|
(other.fontFamily?.isEmpty ?? true) ? fontFamily : other.fontFamily,
|
||||||
fontFamilyFallback: other.fontFamilyFallback,
|
fontFamilyFallback: other.fontFamilyFallback,
|
||||||
overflow: other.overflow,
|
overflow: other.overflow,
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue