From 29af7195c619c4993388b9217684b5e10ef1dd10 Mon Sep 17 00:00:00 2001 From: realth000 Date: Sun, 1 Sep 2024 04:01:28 +0800 Subject: [PATCH] fix(toolbar): regard showDividers in simple toolbar (#2172) --- lib/src/toolbar/simple_toolbar.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/toolbar/simple_toolbar.dart b/lib/src/toolbar/simple_toolbar.dart index ea6698618..f765e2f37 100644 --- a/lib/src/toolbar/simple_toolbar.dart +++ b/lib/src/toolbar/simple_toolbar.dart @@ -305,7 +305,7 @@ class QuillSimpleToolbar extends StatelessWidget final buttons = groups[i]; if (buttons.isNotEmpty) { - if (buttonsAll.isNotEmpty) { + if (buttonsAll.isNotEmpty && configurations.showDividers) { buttonsAll.add(divider); } buttonsAll.addAll(buttons);