diff --git a/CHANGELOG.md b/CHANGELOG.md index da1b5685..2971f876 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +# [7.0.3] +* Fix ordered list numeration for lists with more than one level of list. + # [7.0.2] * Allow widgets to override widget span properties. diff --git a/lib/src/widgets/style_widgets/number_point.dart b/lib/src/widgets/style_widgets/number_point.dart index fed46603..1dbf2261 100644 --- a/lib/src/widgets/style_widgets/number_point.dart +++ b/lib/src/widgets/style_widgets/number_point.dart @@ -29,8 +29,7 @@ class QuillNumberPoint extends StatelessWidget { Widget build(BuildContext context) { var s = index.toString(); int? level = 0; - if (!attrs.containsKey(Attribute.indent.key) && - indentLevelCounts.isEmpty) { + if (!attrs.containsKey(Attribute.indent.key) && indentLevelCounts.isEmpty) { indentLevelCounts.clear(); return Container( alignment: AlignmentDirectional.topEnd, diff --git a/pubspec.yaml b/pubspec.yaml index 06abf760..60ce2a16 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_quill description: A rich text editor supporting mobile and web (Demo App @ bulletjournal.us) -version: 7.0.2 +version: 7.0.3 #author: bulletjournal homepage: https://bulletjournal.us/home/index.html repository: https://github.com/singerdmx/flutter-quill