mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: typo
This commit is contained in:
parent
06d11a91d1
commit
fdbecd7f10
@ -146,7 +146,7 @@ extension DeltaAttributesExtensions on Attributes {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
Color? get hightlightColor {
|
Color? get highlightColor {
|
||||||
if (containsKey(StyleKey.highlightColor) &&
|
if (containsKey(StyleKey.highlightColor) &&
|
||||||
this[StyleKey.highlightColor] is String) {
|
this[StyleKey.highlightColor] is String) {
|
||||||
return Color(
|
return Color(
|
||||||
@ -228,7 +228,7 @@ class RichTextStyle {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Color get backgroundColor {
|
Color get backgroundColor {
|
||||||
return attributes.hightlightColor ?? Colors.transparent;
|
return attributes.highlightColor ?? Colors.transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
// font size
|
// font size
|
||||||
|
Loading…
x
Reference in New Issue
Block a user