Skip to content

Commit

Permalink
Fix background color parsing (#276)
Browse files Browse the repository at this point in the history
  • Loading branch information
FauconSpartiate authored Oct 29, 2023
1 parent c3e695b commit 039c66f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/parser/parse.dart
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ class Parser {
String patternType = node.getAttribute('patternType').toString(), rgb;
if (node.children.isNotEmpty) {
node.findElements('fgColor').forEach((child) {
rgb = node.getAttribute('rgb').toString();
rgb = child.getAttribute('rgb').toString();
_excel._patternFill.add(rgb);
});
} else {
Expand Down

0 comments on commit 039c66f

Please sign in to comment.