diff --git a/CHANGELOG.md b/CHANGELOG.md index 98fbda835..be38b0601 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## [8.1.5] +- Background/Font Color toolbar button icons reversed. + ## [8.1.4] - Background/Font Color toolbar button tooltips reversed. diff --git a/lib/src/widgets/toolbar/buttons/color.dart b/lib/src/widgets/toolbar/buttons/color.dart index d481ae5c4..9a0f0789f 100644 --- a/lib/src/widgets/toolbar/buttons/color.dart +++ b/lib/src/widgets/toolbar/buttons/color.dart @@ -125,7 +125,7 @@ class _QuillToolbarColorButtonState extends State { IconData get iconData { return options.iconData ?? baseButtonExtraOptions.iconData ?? - (widget.isBackground ? Icons.color_lens : Icons.format_color_fill); + (widget.isBackground ? Icons.format_color_fill : Icons.color_lens); } String get tooltip { diff --git a/pubspec.yaml b/pubspec.yaml index 2aad9f3ee..3d0bc8e4c 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_quill description: A rich text editor built for the modern Android, iOS, web and desktop platforms. It is the WYSIWYG editor and a Quill component for Flutter. -version: 8.1.4 +version: 8.1.5 homepage: https://1o24bbs.com/c/bulletjournal/108 repository: https://github.com/singerdmx/flutter-quill