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;
|
||||
}
|
||||
|
||||
Color? get hightlightColor {
|
||||
Color? get highlightColor {
|
||||
if (containsKey(StyleKey.highlightColor) &&
|
||||
this[StyleKey.highlightColor] is String) {
|
||||
return Color(
|
||||
@ -228,7 +228,7 @@ class RichTextStyle {
|
||||
}
|
||||
|
||||
Color get backgroundColor {
|
||||
return attributes.hightlightColor ?? Colors.transparent;
|
||||
return attributes.highlightColor ?? Colors.transparent;
|
||||
}
|
||||
|
||||
// font size
|
||||
|
Loading…
Reference in New Issue
Block a user