From 4c005e2a6134d358acb28854da5edc1aae7660e0 Mon Sep 17 00:00:00 2001 From: X Code Date: Sun, 26 Mar 2023 21:30:59 -0700 Subject: [PATCH] Upgrade to 7.0.3 --- CHANGELOG.md | 3 +++ lib/src/widgets/style_widgets/number_point.dart | 3 +-- pubspec.yaml | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) 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