8000 Merge pull request #1390 from spectorasoftware/default-list-style-type · Sub6Resources/flutter_html@edd2a78 · GitHub
[go: up one dir, main page]

Skip to content

Commit edd2a78

Browse files
Merge pull request #1390 from spectorasoftware/default-list-style-type
Using disc as default list style if the specified one doesn't exist
2 parents cf019bc + 4dc81e1 commit edd2a78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/style.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ enum ListStyleType {
656656
factory ListStyleType.fromName(String name) {
657657
return ListStyleType.values.firs 5701 tWhere((value) {
658658
return name == value.counterStyle;
659-
});
659+
}, orElse: () => ListStyleType.disc);
660660
}
661661
}
662662

0 commit comments

Comments
 (0)
0