From 428bcfc847986fdcb84f13a1f051453f1476c065 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Milo=C5=A1=20Karaka=C5=A1?= <34490121+MilosKarakas@users.noreply.github.com> Date: Thu, 17 Aug 2023 12:38:16 +0200 Subject: [PATCH] Simplify alignment/direction toolbar buttons group showing condition --- lib/src/widgets/toolbar.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/widgets/toolbar.dart b/lib/src/widgets/toolbar.dart index 17014df8..386a3d6f 100644 --- a/lib/src/widgets/toolbar.dart +++ b/lib/src/widgets/toolbar.dart @@ -175,7 +175,7 @@ class QuillToolbar extends StatelessWidget implements PreferredSizeWidget { showBackgroundColorButton || showClearFormat || embedButtons?.isNotEmpty == true, - (showAlignmentButtons && (showLeftAlignment || showCenterAlignment || showRightAlignment || showJustifyAlignment)) || showDirection, + showLeftAlignment || showCenterAlignment || showRightAlignment || showJustifyAlignment || showDirection, showHeaderStyle, showListNumbers || showListBullets || showListCheck || showCodeBlock, showQuote || showIndent,